From 2b9258529e83ccccaa2d12a9072049a397e53f33 Mon Sep 17 00:00:00 2001 From: Michael Haberler Date: Sun, 11 May 2025 22:10:22 +0200 Subject: [PATCH 1/2] feat(boards): add m5stack-atoms3u board matches pindefs PR https://github.com/espressif/arduino-esp32/pull/11352 --- boards/m5stack-atoms3u.json | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 boards/m5stack-atoms3u.json diff --git a/boards/m5stack-atoms3u.json b/boards/m5stack-atoms3u.json new file mode 100644 index 000000000..b48b14b02 --- /dev/null +++ b/boards/m5stack-atoms3u.json @@ -0,0 +1,49 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_opi", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_M5Stack_ATOMS3U", + "-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": "dio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "m5stack_atoms3" + }, + "connectivity": [ + "bluetooth", + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "M5Stack AtomS3U", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://docs.m5stack.com/en/core/AtomS3U", + "vendor": "M5Stack" +} \ No newline at end of file From f1952df1ea9eeb1635ef78af4729d371fc2fe6ea Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 11 May 2025 22:42:41 +0200 Subject: [PATCH 2/2] remove redundant info --- boards/m5stack-atoms3u.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/boards/m5stack-atoms3u.json b/boards/m5stack-atoms3u.json index b48b14b02..f8f4f4eeb 100644 --- a/boards/m5stack-atoms3u.json +++ b/boards/m5stack-atoms3u.json @@ -1,7 +1,6 @@ { "build": { "arduino": { - "ldscript": "esp32s3_out.ld", "memory_type": "qio_opi", "partitions": "default_8MB.csv" }, @@ -16,12 +15,6 @@ "f_cpu": "240000000L", "f_flash": "80000000L", "flash_mode": "dio", - "hwids": [ - [ - "0x303A", - "0x1001" - ] - ], "mcu": "esp32s3", "variant": "m5stack_atoms3" }, @@ -46,4 +39,4 @@ }, "url": "https://docs.m5stack.com/en/core/AtomS3U", "vendor": "M5Stack" -} \ No newline at end of file +}