Skip to content

Commit

Permalink
Add the Waveshare ESP32-S3-Touch-LCD-1.85 board (espressif#10477)
Browse files Browse the repository at this point in the history
* Delete boards.txt

Delete old files

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Update pins_arduino.h

Modify the pin definition

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Update pins_arduino.h

Modify the pin definition

* feat(board): Add waweshare s3 rouch lcd 185

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Jan Procházka <[email protected]>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 17, 2024
1 parent 955b277 commit ee8931d
Show file tree
Hide file tree
Showing 2 changed files with 301 additions and 0 deletions.
237 changes: 237 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43958,6 +43958,243 @@ waveshare_esp32_s3_touch_lcd_4.menu.EraseFlash.all.upload.erase_cmd=-e

##############################################################

waveshare_esp32_s3_touch_lcd_185.name=Waveshare ESP32-S3-Touch-LCD-1.85
waveshare_esp32_s3_touch_lcd_185.vid.0=0x303a
waveshare_esp32_s3_touch_lcd_185.pid.0=0x8290
waveshare_esp32_s3_touch_lcd_185.upload_port.0.vid=0x303a
waveshare_esp32_s3_touch_lcd_185.upload_port.0.pid=0x8290

waveshare_esp32_s3_touch_lcd_185.bootloader.tool=esptool_py
waveshare_esp32_s3_touch_lcd_185.bootloader.tool.default=esptool_py

waveshare_esp32_s3_touch_lcd_185.upload.tool=esptool_py
waveshare_esp32_s3_touch_lcd_185.upload.tool.default=esptool_py
waveshare_esp32_s3_touch_lcd_185.upload.tool.network=esp_ota

waveshare_esp32_s3_touch_lcd_185.upload.maximum_size=1310720
waveshare_esp32_s3_touch_lcd_185.upload.maximum_data_size=327680
waveshare_esp32_s3_touch_lcd_185.upload.flags=
waveshare_esp32_s3_touch_lcd_185.upload.extra_flags=
waveshare_esp32_s3_touch_lcd_185.upload.use_1200bps_touch=false
waveshare_esp32_s3_touch_lcd_185.upload.wait_for_upload_port=false

waveshare_esp32_s3_touch_lcd_185.serial.disableDTR=false
waveshare_esp32_s3_touch_lcd_185.serial.disableRTS=false

waveshare_esp32_s3_touch_lcd_185.build.tarch=xtensa
waveshare_esp32_s3_touch_lcd_185.build.bootloader_addr=0x0
waveshare_esp32_s3_touch_lcd_185.build.target=esp32s3
waveshare_esp32_s3_touch_lcd_185.build.mcu=esp32s3
waveshare_esp32_s3_touch_lcd_185.build.core=esp32
waveshare_esp32_s3_touch_lcd_185.build.variant=waveshare_esp32_s3_touch_lcd_185
waveshare_esp32_s3_touch_lcd_185.build.board=WAVESHARE_ESP32_S3_TOUCH_LCD_185

waveshare_esp32_s3_touch_lcd_185.build.usb_mode=1
waveshare_esp32_s3_touch_lcd_185.build.cdc_on_boot=0
waveshare_esp32_s3_touch_lcd_185.build.msc_on_boot=0
waveshare_esp32_s3_touch_lcd_185.build.dfu_on_boot=0
waveshare_esp32_s3_touch_lcd_185.build.f_cpu=240000000L
waveshare_esp32_s3_touch_lcd_185.build.flash_size=16MB
waveshare_esp32_s3_touch_lcd_185.build.flash_freq=120m
waveshare_esp32_s3_touch_lcd_185.build.flash_mode=qio
waveshare_esp32_s3_touch_lcd_185.build.boot=qio
waveshare_esp32_s3_touch_lcd_185.build.boot_freq=80m
waveshare_esp32_s3_touch_lcd_185.build.partitions=default
waveshare_esp32_s3_touch_lcd_185.build.defines=
waveshare_esp32_s3_touch_lcd_185.build.loop_core=
waveshare_esp32_s3_touch_lcd_185.build.event_core=
waveshare_esp32_s3_touch_lcd_185.build.psram_type=opi
waveshare_esp32_s3_touch_lcd_185.build.memory_type={build.boot}_{build.psram_type}

## IDE 2.0 Seems to not update the value
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.default=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.default.build.copy_jtag_files=0
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.builtin=Integrated USB JTAG
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.builtin.build.openocdscript=esp32s3-builtin.cfg
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.builtin.build.copy_jtag_files=1
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.external=FTDI Adapter
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.external.build.openocdscript=esp32s3-ftdi.cfg
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.external.build.copy_jtag_files=1
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.bridge=ESP USB Bridge
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.bridge.build.openocdscript=esp32s3-bridge.cfg
waveshare_esp32_s3_touch_lcd_185.menu.JTAGAdapter.bridge.build.copy_jtag_files=1

waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.enabled=Enabled
waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.enabled.build.psram_type=opi
waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.disabled=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.disabled.build.defines=
waveshare_esp32_s3_touch_lcd_185.menu.PSRAM.disabled.build.psram_type=qspi

waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio120=QIO 120MHz
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio120.build.flash_mode=dio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio120.build.boot=qio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio120.build.boot_freq=120m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio120.build.flash_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio=QIO 80MHz
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio.build.flash_mode=dio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio.build.boot=qio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio.build.boot_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.qio.build.flash_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.dio=DIO 80MHz
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.dio.build.flash_mode=dio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.dio.build.boot=dio
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.dio.build.boot_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.dio.build.flash_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.opi=OPI 80MHz
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.opi.build.flash_mode=dout
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.opi.build.boot=opi
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.opi.build.boot_freq=80m
waveshare_esp32_s3_touch_lcd_185.menu.FlashMode.opi.build.flash_freq=80m

waveshare_esp32_s3_touch_lcd_185.menu.LoopCore.1=Core 1
waveshare_esp32_s3_touch_lcd_185.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
waveshare_esp32_s3_touch_lcd_185.menu.LoopCore.0=Core 0
waveshare_esp32_s3_touch_lcd_185.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0

waveshare_esp32_s3_touch_lcd_185.menu.EventsCore.0=Core 0
waveshare_esp32_s3_touch_lcd_185.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
waveshare_esp32_s3_touch_lcd_185.menu.EventsCore.1=Core 1
waveshare_esp32_s3_touch_lcd_185.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1

waveshare_esp32_s3_touch_lcd_185.menu.USBMode.hwcdc=Hardware CDC and JTAG
waveshare_esp32_s3_touch_lcd_185.menu.USBMode.hwcdc.build.usb_mode=1
waveshare_esp32_s3_touch_lcd_185.menu.USBMode.default=USB-OTG (TinyUSB)
waveshare_esp32_s3_touch_lcd_185.menu.USBMode.default.build.usb_mode=0

waveshare_esp32_s3_touch_lcd_185.menu.CDCOnBoot.default=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.CDCOnBoot.default.build.cdc_on_boot=0
waveshare_esp32_s3_touch_lcd_185.menu.CDCOnBoot.cdc=Enabled
waveshare_esp32_s3_touch_lcd_185.menu.CDCOnBoot.cdc.build.cdc_on_boot=1

waveshare_esp32_s3_touch_lcd_185.menu.MSCOnBoot.default=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.MSCOnBoot.default.build.msc_on_boot=0
waveshare_esp32_s3_touch_lcd_185.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
waveshare_esp32_s3_touch_lcd_185.menu.MSCOnBoot.msc.build.msc_on_boot=1

waveshare_esp32_s3_touch_lcd_185.menu.DFUOnBoot.default=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.DFUOnBoot.default.build.dfu_on_boot=0
waveshare_esp32_s3_touch_lcd_185.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode)
waveshare_esp32_s3_touch_lcd_185.menu.DFUOnBoot.dfu.build.dfu_on_boot=1

waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.default=UART0 / Hardware CDC
waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.default.upload.use_1200bps_touch=false
waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.default.upload.wait_for_upload_port=false
waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.cdc.upload.use_1200bps_touch=true
waveshare_esp32_s3_touch_lcd_185.menu.UploadMode.cdc.upload.wait_for_upload_port=true

waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.esp_sr_16=ESP SR 16M (3MB APP/7MB SPIFFS/2.9MB MODEL)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.esp_sr_16.upload.maximum_size=3145728
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.esp_sr_16.upload.extra_flags=0xD10000 {build.path}/srmodels.bin
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.esp_sr_16.build.partitions=esp_sr_16
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.fatflash.build.partitions=ffat
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_8MB=RainMaker 8MB
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_8MB.build.partitions=rainmaker_8MB
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_8MB.upload.maximum_size=4116480
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.default.build.partitions=default
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker=RainMaker 4MB
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker.upload.maximum_size=1966080
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_4MB=RainMaker 4MB No OTA
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_4MB.build.partitions=rainmaker_4MB_no_ota
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.rainmaker_4MB.upload.maximum_size=4038656
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.huge_app.build.partitions=huge_app
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.minimal.build.partitions=minimal
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_fs=No FS 4MB (2MB APP x2)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_fs.build.partitions=no_fs
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_fs.upload.maximum_size=2031616
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_ota.build.partitions=no_ota
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.zigbee_zczr=Zigbee ZCZR 4MB with spiffs
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.zigbee_zczr.build.partitions=zigbee_zczr
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.zigbee_zczr.upload.maximum_size=1310720
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.custom=Custom
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.custom.build.partitions=
waveshare_esp32_s3_touch_lcd_185.menu.PartitionScheme.custom.upload.maximum_size=16777216

waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.240=240MHz (WiFi)
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.240.build.f_cpu=240000000L
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.160=160MHz (WiFi)
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.160.build.f_cpu=160000000L
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.80=80MHz (WiFi)
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.80.build.f_cpu=80000000L
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.40=40MHz
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.40.build.f_cpu=40000000L
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.20=20MHz
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.20.build.f_cpu=20000000L
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.10=10MHz
waveshare_esp32_s3_touch_lcd_185.menu.CPUFreq.10.build.f_cpu=10000000L

waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.921600=921600
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.921600.upload.speed=921600
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.115200=115200
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.115200.upload.speed=115200
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.256000.windows=256000
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.256000.upload.speed=256000
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.230400.windows.upload.speed=256000
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.230400=230400
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.230400.upload.speed=230400
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.460800.linux=460800
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.460800.macosx=460800
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.460800.upload.speed=460800
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.512000.windows=512000
waveshare_esp32_s3_touch_lcd_185.menu.UploadSpeed.512000.upload.speed=512000

waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.none=None
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.none.build.code_debug=0
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.error=Error
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.error.build.code_debug=1
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.warn=Warn
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.warn.build.code_debug=2
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.info=Info
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.info.build.code_debug=3
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.debug=Debug
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.debug.build.code_debug=4
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.verbose=Verbose
waveshare_esp32_s3_touch_lcd_185.menu.DebugLevel.verbose.build.code_debug=5

waveshare_esp32_s3_touch_lcd_185.menu.EraseFlash.none=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.EraseFlash.none.upload.erase_cmd=
waveshare_esp32_s3_touch_lcd_185.menu.EraseFlash.all=Enabled
waveshare_esp32_s3_touch_lcd_185.menu.EraseFlash.all.upload.erase_cmd=-e

waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.default=Disabled
waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.default.build.zigbee_mode=
waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.default.build.zigbee_libs=
waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator/router)
waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR
waveshare_esp32_s3_touch_lcd_185.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port

##############################################################

cezerio_dev_esp32c6.name=cezerio dev ESP32C6

cezerio_dev_esp32c6.bootloader.tool=esptool_py
Expand Down
64 changes: 64 additions & 0 deletions variants/waveshare_esp32_s3_touch_lcd_185/pins_arduino.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h

#include <stdint.h>
#include "soc/soc_caps.h"

// BN: ESP32 Family Device
#define USB_VID 0x303a
#define USB_PID 0x8290

#define USB_MANUFACTURER "Waveshare"
#define USB_PRODUCT "ESP32-S3-Touch-LCD-1.85"
#define USB_SERIAL ""

// I2C pins
static const uint8_t SCL = 10;
static const uint8_t SDA = 11;

static const uint8_t TX = 43;
static const uint8_t RX = 44;

// Mapping based on the ESP32S3 data sheet - alternate for SPI2
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

static const uint8_t A0 = 1;
static const uint8_t A1 = 2;
static const uint8_t A2 = 3;
static const uint8_t A3 = 4;
static const uint8_t A4 = 5;
static const uint8_t A5 = 6;
static const uint8_t A6 = 7;
static const uint8_t A7 = 8;
static const uint8_t A8 = 9;
static const uint8_t A9 = 10;
static const uint8_t A10 = 11;
static const uint8_t A11 = 12;
static const uint8_t A12 = 13;
static const uint8_t A13 = 14;
static const uint8_t A14 = 15;
static const uint8_t A15 = 16;
static const uint8_t A16 = 17;
static const uint8_t A17 = 18;
static const uint8_t A18 = 19;
static const uint8_t A19 = 20;

static const uint8_t T1 = 1;
static const uint8_t T2 = 2;
static const uint8_t T3 = 3;
static const uint8_t T4 = 4;
static const uint8_t T5 = 5;
static const uint8_t T6 = 6;
static const uint8_t T7 = 7;
static const uint8_t T8 = 8;
static const uint8_t T9 = 9;
static const uint8_t T10 = 10;
static const uint8_t T11 = 11;
static const uint8_t T12 = 12;
static const uint8_t T13 = 13;
static const uint8_t T14 = 14;

#endif /* Pins_Arduino_h */

0 comments on commit ee8931d

Please sign in to comment.