From c917f1ffea8c76b906ab258cf898b67906401fd0 Mon Sep 17 00:00:00 2001 From: Daniel Eisterhold Date: Sat, 16 Mar 2024 01:46:07 -0500 Subject: [PATCH 1/2] Create esp32-s3-touch-lcd-1.28.json --- boards/esp32-s3-touch-lcd-1.28.json | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 boards/esp32-s3-touch-lcd-1.28.json diff --git a/boards/esp32-s3-touch-lcd-1.28.json b/boards/esp32-s3-touch-lcd-1.28.json new file mode 100644 index 000000000..772356e8f --- /dev/null +++ b/boards/esp32-s3-touch-lcd-1.28.json @@ -0,0 +1,51 @@ +{ + "build": { + "arduino":{ + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_ESP32_S3_TOUCH_LCD_128", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-DBOARD_HAS_PSRAM" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "1A86", + "55D3" + ] + ], + "mcu": "esp32s3", + "variant": "esp32s3" + }, + "connectivity": [ + "bluetooth", + "wifi" + ], + "debug": { + "default_tool": "esp-builtin", + "onboard_tools": [ + "esp-builtin" + ], + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Waveshare ESP32-S3-Touch-LCD-1.28", + "upload": { + "flash_size": "16MB", + "maximum_ram_size": 327680, + "maximum_size": 16777216, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.waveshare.com/esp32-s3-touch-lcd-1.28.htm", + "vendor": "Waveshare" +} From 2a19f5cc2c47ec3f981d55a724ce467ecf2576d2 Mon Sep 17 00:00:00 2001 From: Daniel Eisterhold Date: Sat, 16 Mar 2024 15:46:00 -0500 Subject: [PATCH 2/2] Update filename and add custom variant. Variant is based on this PR https://github.com/espressif/arduino-esp32/pull/9386 --- ...uch-lcd-1.28.json => waveshare_esp32s3-touch-lcd-128.json} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename boards/{esp32-s3-touch-lcd-1.28.json => waveshare_esp32s3-touch-lcd-128.json} (90%) diff --git a/boards/esp32-s3-touch-lcd-1.28.json b/boards/waveshare_esp32s3-touch-lcd-128.json similarity index 90% rename from boards/esp32-s3-touch-lcd-1.28.json rename to boards/waveshare_esp32s3-touch-lcd-128.json index 772356e8f..14024f722 100644 --- a/boards/esp32-s3-touch-lcd-1.28.json +++ b/boards/waveshare_esp32s3-touch-lcd-128.json @@ -6,7 +6,7 @@ }, "core": "esp32", "extra_flags": [ - "-DARDUINO_ESP32_S3_TOUCH_LCD_128", + "-DARDUINO_WAVESHARE_ESP32S3_TOUCH_LCD_128", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=1", "-DBOARD_HAS_PSRAM" @@ -21,7 +21,7 @@ ] ], "mcu": "esp32s3", - "variant": "esp32s3" + "variant": "waveshare_esp32s3_touch_lcd_128" }, "connectivity": [ "bluetooth",