From de49a767e077b2b2abdce35a2858b75ecbe76899 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 21 Apr 2023 14:22:52 +0300 Subject: [PATCH] Update Arduino core to v2.0.8 Resolves #1079 --- boards/lolin_s3_mini.json | 46 ++++++++++++++++++++++++++++++ boards/seeed_xiao_esp32c3.json | 2 +- boards/seeed_xiao_esp32s3.json | 52 ++++++++++++++++++++++++++++++++++ platform.json | 2 +- 4 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 boards/lolin_s3_mini.json create mode 100644 boards/seeed_xiao_esp32s3.json diff --git a/boards/lolin_s3_mini.json b/boards/lolin_s3_mini.json new file mode 100644 index 0000000..ad3794b --- /dev/null +++ b/boards/lolin_s3_mini.json @@ -0,0 +1,46 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_qspi" + }, + "core": "esp32", + "extra_flags": [ + "-DBOARD_HAS_PSRAM", + "-DARDUINO_LOLIN_S3_MINI", + "-DARDUINO_USB_MODE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x8167" + ] + ], + "mcu": "esp32s3", + "variant": "lolin_s3_mini" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "WEMOS LOLIN S3 Mini", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.wemos.cc/en/latest/s3/index.html", + "vendor": "WEMOS" +} + \ No newline at end of file diff --git a/boards/seeed_xiao_esp32c3.json b/boards/seeed_xiao_esp32c3.json index 9f9c7b0..24b1671 100644 --- a/boards/seeed_xiao_esp32c3.json +++ b/boards/seeed_xiao_esp32c3.json @@ -15,7 +15,7 @@ "hwids": [ [ "0x2886", - "0x0047" + "0x0046" ], [ "0x303a", diff --git a/boards/seeed_xiao_esp32s3.json b/boards/seeed_xiao_esp32s3.json new file mode 100644 index 0000000..f4a755f --- /dev/null +++ b/boards/seeed_xiao_esp32s3.json @@ -0,0 +1,52 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv", + "memory_type": "qio_qspi" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_XIAO_ESP32S3", + "-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": [ + [ + "0x2886", + "0x0056" + ], + [ + "0x2886", + "0x8056" + ] + ], + "mcu": "esp32s3", + "variant": "XIAO_ESP32S3" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Seeed Studio XIAO ESP32S3", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.seeedstudio.com/XIAO-ESP32S3-p-5627.html", + "vendor": "Seeed Studio" +} diff --git a/platform.json b/platform.json index dd308da..fece54f 100644 --- a/platform.json +++ b/platform.json @@ -70,7 +70,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~3.20007.0" + "version": "~3.20008.0" }, "framework-arduino-mbcwb": { "type": "framework",