From e2b007a9c72579bf871b739e761233302e7165e3 Mon Sep 17 00:00:00 2001 From: wuronmin <2578034394@qq.com> Date: Fri, 25 Oct 2024 18:34:22 +0800 Subject: [PATCH] feat(waveshare): add added 4 items esp32 Waveshare boards --- boards.txt | 202 ------------------ .../pins_arduino.h | 26 ++- .../pins_arduino.h | 32 ++- .../pins_arduino.h | 35 ++- .../pins_arduino.h | 25 --- 5 files changed, 90 insertions(+), 230 deletions(-) delete mode 100644 variants/waveshare_esp32_s3_touch_lcd_19/pins_arduino.h diff --git a/boards.txt b/boards.txt index f3d80f15d2e..54d900e1029 100644 --- a/boards.txt +++ b/boards.txt @@ -46872,205 +46872,3 @@ waveshare_esp32_s3_touch_amoled_164.menu.EraseFlash.all=Enabled waveshare_esp32_s3_touch_amoled_164.menu.EraseFlash.all.upload.erase_cmd=-e ############################################################## - -waveshare_esp32_s3_touch_lcd_19.name=Waveshare ESP32-S3-Touch-AMOLED-1.9 -waveshare_esp32_s3_touch_lcd_19.vid.0=0x303a -waveshare_esp32_s3_touch_lcd_19.pid.0=0x8242 -waveshare_esp32_s3_touch_lcd_19.upload_port.0.vid=0x303a -waveshare_esp32_s3_touch_lcd_19.upload_port.0.pid=0x8242 - -waveshare_esp32_s3_touch_lcd_19.bootloader.tool=esptool_py -waveshare_esp32_s3_touch_lcd_19.bootloader.tool.default=esptool_py - -waveshare_esp32_s3_touch_lcd_19.upload.tool=esptool_py -waveshare_esp32_s3_touch_lcd_19.upload.tool.default=esptool_py -waveshare_esp32_s3_touch_lcd_19.upload.tool.network=esp_ota - -waveshare_esp32_s3_touch_lcd_19.upload.maximum_size=1310720 - -waveshare_esp32_s3_touch_lcd_19.upload.maximum_data_size=327680 -waveshare_esp32_s3_touch_lcd_19.upload.flags= -waveshare_esp32_s3_touch_lcd_19.upload.extra_flags= -waveshare_esp32_s3_touch_lcd_19.upload.use_1200bps_touch=false -waveshare_esp32_s3_touch_lcd_19.upload.wait_for_upload_port=false - -waveshare_esp32_s3_touch_lcd_19.serial.disableDTR=false -waveshare_esp32_s3_touch_lcd_19.serial.disableRTS=false - -waveshare_esp32_s3_touch_lcd_19.build.tarch=xtensa -waveshare_esp32_s3_touch_lcd_19.build.bootloader_addr=0x0 -waveshare_esp32_s3_touch_lcd_19.build.target=esp32s3 -waveshare_esp32_s3_touch_lcd_19.build.mcu=esp32s3 -waveshare_esp32_s3_touch_lcd_19.build.core=esp32 -waveshare_esp32_s3_touch_lcd_19.build.variant=waveshare_esp32_s3_touch_lcd_19 -waveshare_esp32_s3_touch_lcd_19.build.board=WAVESHARE_ESP32_S3_TOUCH_LCD_19 - -waveshare_esp32_s3_touch_lcd_19.build.usb_mode=1 -waveshare_esp32_s3_touch_lcd_19.build.cdc_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.build.msc_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.build.dfu_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.build.f_cpu=240000000L -waveshare_esp32_s3_touch_lcd_19.build.flash_size=16MB - -waveshare_esp32_s3_touch_lcd_19.build.flash_freq=80m -waveshare_esp32_s3_touch_lcd_19.build.flash_mode=dio -waveshare_esp32_s3_touch_lcd_19.build.boot=qio -waveshare_esp32_s3_touch_lcd_19.build.boot_freq=80m -waveshare_esp32_s3_touch_lcd_19.build.partitions=default -waveshare_esp32_s3_touch_lcd_19.build.defines= -waveshare_esp32_s3_touch_lcd_19.build.loop_core= -waveshare_esp32_s3_touch_lcd_19.build.event_core= -waveshare_esp32_s3_touch_lcd_19.build.psram_type=qspi -waveshare_esp32_s3_touch_lcd_19.build.memory_type={build.boot}_{build.psram_type} - -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.disabled=Disabled -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.disabled.build.defines= -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.disabled.build.psram_type=qspi -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.enabled=Enabled -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -waveshare_esp32_s3_touch_lcd_19.menu.PSRAM.enabled.build.psram_type=opi - -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio=QIO 80MHz -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio.build.flash_mode=dio -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio.build.boot=qio -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio.build.boot_freq=80m -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio.build.flash_freq=80m -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio120=QIO 120MHz -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio120.build.flash_mode=dio -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio120.build.boot=qio -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio120.build.boot_freq=120m -waveshare_esp32_s3_touch_lcd_19.menu.FlashMode.qio120.build.flash_freq=80m - -waveshare_esp32_s3_touch_lcd_19.menu.LoopCore.1=Core 1 -waveshare_esp32_s3_touch_lcd_19.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1 -waveshare_esp32_s3_touch_lcd_19.menu.LoopCore.0=Core 0 -waveshare_esp32_s3_touch_lcd_19.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0 - -waveshare_esp32_s3_touch_lcd_19.menu.EventsCore.1=Core 1 -waveshare_esp32_s3_touch_lcd_19.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1 -waveshare_esp32_s3_touch_lcd_19.menu.EventsCore.0=Core 0 -waveshare_esp32_s3_touch_lcd_19.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0 - -waveshare_esp32_s3_touch_lcd_19.menu.USBMode.hwcdc=Hardware CDC and JTAG -waveshare_esp32_s3_touch_lcd_19.menu.USBMode.hwcdc.build.usb_mode=1 -waveshare_esp32_s3_touch_lcd_19.menu.USBMode.default=USB-OTG (TinyUSB) -waveshare_esp32_s3_touch_lcd_19.menu.USBMode.default.build.usb_mode=0 - -waveshare_esp32_s3_touch_lcd_19.menu.CDCOnBoot.default=Disabled -waveshare_esp32_s3_touch_lcd_19.menu.CDCOnBoot.default.build.cdc_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.menu.CDCOnBoot.cdc=Enabled -waveshare_esp32_s3_touch_lcd_19.menu.CDCOnBoot.cdc.build.cdc_on_boot=1 - -waveshare_esp32_s3_touch_lcd_19.menu.MSCOnBoot.default=Disabled -waveshare_esp32_s3_touch_lcd_19.menu.MSCOnBoot.default.build.msc_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode) -waveshare_esp32_s3_touch_lcd_19.menu.MSCOnBoot.msc.build.msc_on_boot=1 - -waveshare_esp32_s3_touch_lcd_19.menu.DFUOnBoot.default=Disabled -waveshare_esp32_s3_touch_lcd_19.menu.DFUOnBoot.default.build.dfu_on_boot=0 -waveshare_esp32_s3_touch_lcd_19.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode) -waveshare_esp32_s3_touch_lcd_19.menu.DFUOnBoot.dfu.build.dfu_on_boot=1 - -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.default=UART0 / Hardware CDC -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.default.upload.use_1200bps_touch=false -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.default.upload.wait_for_upload_port=false -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB) -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.cdc.upload.use_1200bps_touch=true -waveshare_esp32_s3_touch_lcd_19.menu.UploadMode.cdc.upload.wait_for_upload_port=true - -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.default.build.partitions=default -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) - -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.defaultffat.build.partitions=default_ffat -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.no_ota.build.partitions=no_ota -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3g.build.partitions=noota_3g -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.huge_app.build.partitions=huge_app -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker=RainMaker 4MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker.build.partitions=rainmaker -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker_8MB=RainMaker 8MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker_8MB.build.partitions=rainmaker_8MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4116480 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.fatflash.build.partitions=ffat -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 - -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 - -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.otanofs=OTA no FS (2MB APP with OTA) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.otanofs.build.custom_partitions=partitions_otanofs_4MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.otanofs.upload.maximum_size=2031616 -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.all_app=Max APP (4MB APP no OTA) -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.all_app.build.custom_partitions=partitions_all_app_4MB -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.all_app.upload.maximum_size=4128768 - -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.custom=Custom -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.custom.build.partitions= -waveshare_esp32_s3_touch_lcd_19.menu.PartitionScheme.custom.upload.maximum_size=16777216 - -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.240=240MHz (WiFi) -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.240.build.f_cpu=240000000L -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.160=160MHz (WiFi) -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.160.build.f_cpu=160000000L -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.80=80MHz (WiFi) -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.80.build.f_cpu=80000000L -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.40=40MHz -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.40.build.f_cpu=40000000L -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.20=20MHz -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.20.build.f_cpu=20000000L -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.10=10MHz -waveshare_esp32_s3_touch_lcd_19.menu.CPUFreq.10.build.f_cpu=10000000L - -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.921600=921600 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.921600.upload.speed=921600 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.115200=115200 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.115200.upload.speed=115200 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.256000.windows=256000 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.256000.upload.speed=256000 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.230400.windows.upload.speed=256000 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.230400=230400 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.230400.upload.speed=230400 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.460800.linux=460800 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.460800.macosx=460800 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.460800.upload.speed=460800 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.512000.windows=512000 -waveshare_esp32_s3_touch_lcd_19.menu.UploadSpeed.512000.upload.speed=512000 - -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.none=None -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.none.build.code_debug=0 -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.error=Error -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.error.build.code_debug=1 -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.warn=Warn -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.warn.build.code_debug=2 -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.info=Info -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.info.build.code_debug=3 -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.debug=Debug -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.debug.build.code_debug=4 -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.verbose=Verbose -waveshare_esp32_s3_touch_lcd_19.menu.DebugLevel.verbose.build.code_debug=5 - -waveshare_esp32_s3_touch_lcd_19.menu.EraseFlash.none=Disabled -waveshare_esp32_s3_touch_lcd_19.menu.EraseFlash.none.upload.erase_cmd= -waveshare_esp32_s3_touch_lcd_19.menu.EraseFlash.all=Enabled -waveshare_esp32_s3_touch_lcd_19.menu.EraseFlash.all.upload.erase_cmd=-e - -############################################################## \ No newline at end of file diff --git a/variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h b/variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h index 93f58300a95..d68e6af9624 100644 --- a/variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h +++ b/variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h @@ -6,13 +6,37 @@ // BN: ESP32 Family Device #define USB_VID 0x303a -#define USB_PID 0x8242 +#define USB_PID 0x824A #define USB_MANUFACTURER "Waveshare" #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.43" #define USB_SERIAL "" +// display QSPI SPI2 +#define QSPI_CS 9 +#define QSPI_SCK 10 +#define QSPI_D0 11 +#define QSPI_D1 12 +#define QSPI_D2 13 +#define QSPI_D3 14 +#define AMOLED_RESET 21 +#define AMOLED_TE -1 +#define AMOLED_PWR_EN -1 +// Touch I2C +#define TP_SCL 48 +#define TP_SDA 47 +#define TP_RST -1 +#define TP_INT -1 +// RTC +#define RTC_INT 15 +// Partial voltage measurement method +#define BAT_ADC 4 +// Onboard QMI8658 IMU +#define QMI_INT1 8 + +static const uint8_t SDA = 47; +static const uint8_t SCL = 48; // UART0 pins static const uint8_t TX = 43; static const uint8_t RX = 44; diff --git a/variants/waveshare_esp32_s3_touch_amoled_164/pins_arduino.h b/variants/waveshare_esp32_s3_touch_amoled_164/pins_arduino.h index 38bd8f5729d..28d977e0ec6 100644 --- a/variants/waveshare_esp32_s3_touch_amoled_164/pins_arduino.h +++ b/variants/waveshare_esp32_s3_touch_amoled_164/pins_arduino.h @@ -6,12 +6,42 @@ // BN: ESP32 Family Device #define USB_VID 0x303a -#define USB_PID 0x8242 +#define USB_PID 0x8249 #define USB_MANUFACTURER "Waveshare" #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.64" #define USB_SERIAL "" +// display QSPI SPI2 +#define QSPI_CS 9 +#define QSPI_SCK 10 +#define QSPI_D0 11 +#define QSPI_D1 12 +#define QSPI_D2 13 +#define QSPI_D3 14 +#define AMOLED_RESET 21 +#define AMOLED_TE -1 +#define AMOLED_PWR_EN -1 + +// Touch I2C +#define TP_SCL 48 +#define TP_SDA 47 +#define TP_RST -1 +#define TP_INT -1 + +//key +#define KEY_0 0 +//ADC +#define BAT_ADC 4 + +//SD_CARD +#define SD_CS 38 +#define SD_MOSI 39 +#define SD_MISO 40 +#define SD_SCLK 41 + +static const uint8_t SDA = 47; +static const uint8_t SCL = 48; // UART0 pins static const uint8_t TX = 43; diff --git a/variants/waveshare_esp32_s3_touch_amoled_191/pins_arduino.h b/variants/waveshare_esp32_s3_touch_amoled_191/pins_arduino.h index 393ce7e7731..e74c839cc75 100644 --- a/variants/waveshare_esp32_s3_touch_amoled_191/pins_arduino.h +++ b/variants/waveshare_esp32_s3_touch_amoled_191/pins_arduino.h @@ -6,12 +6,45 @@ // BN: ESP32 Family Device #define USB_VID 0x303a -#define USB_PID 0x8242 +#define USB_PID 0x824B #define USB_MANUFACTURER "Waveshare" #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.91" #define USB_SERIAL "" +// display QSPI SPI2 +#define QSPI_CS 6 +#define QSPI_SCK 47 +#define QSPI_D0 18 +#define QSPI_D1 7 +#define QSPI_D2 48 +#define QSPI_D3 5 +#define AMOLED_RESET 17 +#define AMOLED_TE -1 +#define AMOLED_PWR_EN -1 +// Touch I2C +#define TP_SCL 39 +#define TP_SDA 40 +#define TP_RST -1 +#define TP_INT -1 + + +// Partial voltage measurement method +#define BAT_ADC 1 +// Onboard QMI8658 IMU +#define QMI_INT1 45 +#define QMI_INT1 46 + +//SD +#define SD_CS 9 +#define SD_MISO 8 +#define SD_MOSI 42 +#define SD_CLK 47 + +//i2c + +static const uint8_t SDA = 40; +static const uint8_t SCL = 39; // UART0 pins static const uint8_t TX = 43; diff --git a/variants/waveshare_esp32_s3_touch_lcd_19/pins_arduino.h b/variants/waveshare_esp32_s3_touch_lcd_19/pins_arduino.h deleted file mode 100644 index a842ab9ca62..00000000000 --- a/variants/waveshare_esp32_s3_touch_lcd_19/pins_arduino.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef Pins_Arduino_h -#define Pins_Arduino_h - -#include -#include "soc/soc_caps.h" - -// BN: ESP32 Family Device -#define USB_VID 0x303a -#define USB_PID 0x8242 - -#define USB_MANUFACTURER "Waveshare" -#define USB_PRODUCT "ESP32-S3-Touch-LCD-1.9" -#define USB_SERIAL "" - - -// UART0 pins -static const uint8_t TX = 43; -static const uint8_t RX = 44; - -//esp32s3-PSFlash SPI1/SPI0 -static const uint8_t SS = 34; // FSPICS0 -static const uint8_t MOSI = 35; // FSPID -static const uint8_t MISO = 37; // FSPIQ -static const uint8_t SCK = 36; // FSPICLK -#endif /* Pins_Arduino_h */ \ No newline at end of file