From 274e8dc7c5b1de63179c84a5ee40d95d7888d314 Mon Sep 17 00:00:00 2001 From: mcuw <112967559+mcuw@users.noreply.github.com> Date: Fri, 8 Dec 2023 00:09:51 +0100 Subject: [PATCH] fix missing board config --- boards/lilygo-t-display-s3-long.json | 49 ++++++++++++++++++++++++++++ platformio.ini | 5 ++- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 boards/lilygo-t-display-s3-long.json diff --git a/boards/lilygo-t-display-s3-long.json b/boards/lilygo-t-display-s3-long.json new file mode 100644 index 0000000..130be68 --- /dev/null +++ b/boards/lilygo-t-display-s3-long.json @@ -0,0 +1,49 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_opi", + "partitions": "default_16MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_ESP32S3_DEV", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "esp32s3" + }, + "connectivity": [ + "wifi", + "bluetooth" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "LilyGo-T-Display-S3-long", + "upload": { + "flash_size": "16MB", + "maximum_ram_size": 327680, + "maximum_size": 16777216, + "require_upload_port": true, + "speed": 921600 + }, + "url": "https://www.lilygo.cc/products/t-display-s3-long", + "vendor": "LilyGo" +} \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 9e91bcb..ad54394 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,5 +1,8 @@ ; https://docs.platformio.org/en/latest/platforms/espressif32.html +[platformio] +boards_dir = ./boards + [env] build_flags = ; to use e.g. as part of the firmware name @@ -157,7 +160,7 @@ lib_deps = ; repository: https://github.com/Xinyuan-LilyGO/T-Display-S3-Long ; Buy and support mcuw on aliexpress (affiliate link): https://s.click.aliexpress.com/e/_DEv67TX [env:lilygo-t-display-s3-long] -board = esp32r8 +board = lilygo-t-display-s3-long board_build.partitions = huge_app.csv build_flags = ${esp32s3.build_flags}