Unverified Commit 75f7b330 authored by Daniel Eisterhold's avatar Daniel Eisterhold Committed by GitHub

Add variant for Waveshare ESP32-S3-Touch-LCD-1.28 (#9386)

* feat(esp32): Add variant for Waveshare ESP32 board

Variant for https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.28

* feat(esp32): Add Waveshare ESP32 board variant to boards.txt

* fix(esp32): Update bootloader address and remove PSRAM flags

* fix(esp32): Updated boards.txt for Waveshare based on suggestions

* fix(esp32): Specify PSRAM type and remove unused board options

---------
Co-authored-by: default avatarJan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: default avatarme-no-dev <hristo@espressif.com>
parent f9bb62a9
...@@ -36001,3 +36001,157 @@ Geekble_ESP32C3.menu.EraseFlash.all=Enabled ...@@ -36001,3 +36001,157 @@ Geekble_ESP32C3.menu.EraseFlash.all=Enabled
Geekble_ESP32C3.menu.EraseFlash.all.upload.erase_cmd=-e Geekble_ESP32C3.menu.EraseFlash.all.upload.erase_cmd=-e
############################################################## ##############################################################
waveshare_esp32s3_touch_lcd_128.name=Waveshare ESP32S3 Touch LCD 128
waveshare_esp32s3_touch_lcd_128.vid.0=0x1a86
waveshare_esp32s3_touch_lcd_128.pid.0=0x55d3
waveshare_esp32s3_touch_lcd_128.upload.tool=esptool_py
waveshare_esp32s3_touch_lcd_128.upload.tool.default=esptool_py
waveshare_esp32s3_touch_lcd_128.upload.tool.network=esp_ota
waveshare_esp32s3_touch_lcd_128.upload.maximum_size=16777216
waveshare_esp32s3_touch_lcd_128.upload.maximum_data_size=327680
waveshare_esp32s3_touch_lcd_128.upload.wait_for_upload_port=false
waveshare_esp32s3_touch_lcd_128.upload.speed=460800
waveshare_esp32s3_touch_lcd_128.upload.flags=
waveshare_esp32s3_touch_lcd_128.upload.extra_flags=
waveshare_esp32s3_touch_lcd_128.bootloader.tool=esptool_py
waveshare_esp32s3_touch_lcd_128.bootloader.tool.default=esptool_py
waveshare_esp32s3_touch_lcd_128.serial.disableDTR=true
waveshare_esp32s3_touch_lcd_128.serial.disableRTS=true
waveshare_esp32s3_touch_lcd_128.build.tarch=xtensa
waveshare_esp32s3_touch_lcd_128.build.bootloader_addr=0x0
waveshare_esp32s3_touch_lcd_128.build.mcu=esp32s3
waveshare_esp32s3_touch_lcd_128.build.core=esp32
waveshare_esp32s3_touch_lcd_128.build.target=esp32s3
waveshare_esp32s3_touch_lcd_128.build.variant=waveshare_esp32s3_touch_lcd_128
waveshare_esp32s3_touch_lcd_128.build.board=WAVESHARE_ESP32S3_TOUCH_LCD_128
waveshare_esp32s3_touch_lcd_128.build.usb_mode=1
waveshare_esp32s3_touch_lcd_128.build.cdc_on_boot=1
waveshare_esp32s3_touch_lcd_128.build.msc_on_boot=0
waveshare_esp32s3_touch_lcd_128.build.dfu_on_boot=0
waveshare_esp32s3_touch_lcd_128.build.f_cpu=240000000L
waveshare_esp32s3_touch_lcd_128.build.flash_size=16MB
waveshare_esp32s3_touch_lcd_128.build.flash_freq=80m
waveshare_esp32s3_touch_lcd_128.build.flash_mode=dio
waveshare_esp32s3_touch_lcd_128.build.boot=dio
waveshare_esp32s3_touch_lcd_128.build.partitions=default
waveshare_esp32s3_touch_lcd_128.menu.PSRAM.disabled=Disabled
waveshare_esp32s3_touch_lcd_128.menu.PSRAM.disabled.build.defines=
waveshare_esp32s3_touch_lcd_128.menu.PSRAM.enabled=Enabled
waveshare_esp32s3_touch_lcd_128.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
waveshare_esp32s3_touch_lcd_128.menu.PSRAM.enabled.build.psram_type=qspi
waveshare_esp32s3_touch_lcd_128.menu.LoopCore.1=Core 1
waveshare_esp32s3_touch_lcd_128.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
waveshare_esp32s3_touch_lcd_128.menu.LoopCore.0=Core 0
waveshare_esp32s3_touch_lcd_128.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
waveshare_esp32s3_touch_lcd_128.menu.EventsCore.1=Core 1
waveshare_esp32s3_touch_lcd_128.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
waveshare_esp32s3_touch_lcd_128.menu.EventsCore.0=Core 0
waveshare_esp32s3_touch_lcd_128.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.default.build.partitions=default
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.minimal.build.partitions=minimal
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.no_ota.build.partitions=no_ota
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.huge_app.build.partitions=huge_app
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.fatflash.build.partitions=ffat
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
waveshare_esp32s3_touch_lcd_128.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.240=240MHz (WiFi/BT)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.240.build.f_cpu=240000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.160=160MHz (WiFi/BT)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.160.build.f_cpu=160000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.80=80MHz (WiFi/BT)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.80.build.f_cpu=80000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.40=40MHz (40MHz XTAL)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.40.build.f_cpu=40000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.26=26MHz (26MHz XTAL)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.26.build.f_cpu=26000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.20=20MHz (40MHz XTAL)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.20.build.f_cpu=20000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.13=13MHz (26MHz XTAL)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.13.build.f_cpu=13000000L
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.10=10MHz (40MHz XTAL)
waveshare_esp32s3_touch_lcd_128.menu.CPUFreq.10.build.f_cpu=10000000L
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.qio=QIO
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.qio.build.flash_mode=dio
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.qio.build.boot=qio
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.dio=DIO
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.dio.build.flash_mode=dio
waveshare_esp32s3_touch_lcd_128.menu.FlashMode.dio.build.boot=dio
waveshare_esp32s3_touch_lcd_128.menu.FlashFreq.80=80MHz
waveshare_esp32s3_touch_lcd_128.menu.FlashFreq.80.build.flash_freq=80m
waveshare_esp32s3_touch_lcd_128.menu.FlashFreq.40=40MHz
waveshare_esp32s3_touch_lcd_128.menu.FlashFreq.40.build.flash_freq=40m
waveshare_esp32s3_touch_lcd_128.menu.FlashSize.16M=16MB (128Mb)
waveshare_esp32s3_touch_lcd_128.menu.FlashSize.16M.build.flash_size=16MB
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.921600=921600
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.921600.upload.speed=921600
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.115200=115200
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.115200.upload.speed=115200
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.256000.windows=256000
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.256000.upload.speed=256000
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.230400.windows.upload.speed=256000
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.230400=230400
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.230400.upload.speed=230400
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.460800.linux=460800
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.460800.macosx=460800
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.460800.upload.speed=460800
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.512000.windows=512000
waveshare_esp32s3_touch_lcd_128.menu.UploadSpeed.512000.upload.speed=512000
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.none=None
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.none.build.code_debug=0
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.error=Error
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.error.build.code_debug=1
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.warn=Warn
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.warn.build.code_debug=2
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.info=Info
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.info.build.code_debug=3
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.debug=Debug
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.debug.build.code_debug=4
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.verbose=Verbose
waveshare_esp32s3_touch_lcd_128.menu.DebugLevel.verbose.build.code_debug=5
waveshare_esp32s3_touch_lcd_128.menu.EraseFlash.none=Disabled
waveshare_esp32s3_touch_lcd_128.menu.EraseFlash.none.upload.erase_cmd=
waveshare_esp32s3_touch_lcd_128.menu.EraseFlash.all=Enabled
waveshare_esp32s3_touch_lcd_128.menu.EraseFlash.all.upload.erase_cmd=-e
##############################################################
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define USB_VID 0x1A86
#define USB_PID 0x55D3
#define USB_MANUFACTURER "Waveshare"
#define USB_PRODUCT "ESP32-S3 Touch LCD 1.28"
#define USB_SERIAL "" // Empty string for MAC adddress
#define LCD_BACKLIGHT 2
#define LCD_DC 8
#define LCD_RST 14
#define TP_INT 5
#define TP_RST 13
#define IMU_INT1 4
#define IMU_INT2 3
static const uint8_t TX = 43;
static const uint8_t RX = 44;
#define TX1 TX
#define RX1 RX
static const uint8_t SCL = 7;
static const uint8_t SDA = 6;
static const uint8_t SS = 9;
static const uint8_t MOSI = 11;
static const uint8_t MISO = 12;
static const uint8_t SCK = 10;
static const uint8_t A0 = 1; // Connected through voltage divider to battery pin
#endif /* Pins_Arduino_h */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment