From 91ed04a0b6e197001d747e651d944a6f25928557 Mon Sep 17 00:00:00 2001 From: Lucas Katayama <492687+lucaskatayama@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:37:12 -0300 Subject: [PATCH 1/4] feat: added seeed_xiao_esp32c6 board --- boards/seeed_xiao_esp32c6.json | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 boards/seeed_xiao_esp32c6.json diff --git a/boards/seeed_xiao_esp32c6.json b/boards/seeed_xiao_esp32c6.json new file mode 100644 index 000000000..27b7687b9 --- /dev/null +++ b/boards/seeed_xiao_esp32c6.json @@ -0,0 +1,48 @@ +{ + "build": { + "core": "esp32", + "extra_flags": [ + "-DARDUINO_XIAO_ESP32C6", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_USB_MODE=1" + ], + "f_cpu": "160000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x2886", + "0x0048" + ], + [ + "0x2886", + "0x8048" + ] + ], + "mcu": "esp32c6", + "variant": "XIAO_ESP32C6" + }, + "connectivity": [ + "wifi", + "bluetooth", + "zigbee", + "thread" + ], + "debug": { + "openocd_target": "esp32c6.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Seeed Studio XIAO ESP32C6", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://wiki.seeedstudio.com/XIAO_ESP32C6_Getting_Started/", + "vendor": "Seeed Studio" + } \ No newline at end of file From 5b62417cf933ec7d0eb2c398736f58fe5e44f682 Mon Sep 17 00:00:00 2001 From: Lucas Katayama <492687+lucaskatayama@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:03:52 -0300 Subject: [PATCH 2/4] feat: esp-idf only xiao_esp32c6 --- boards/seeed_xiao_esp32c6.json | 89 +++++++++++++++++----------------- 1 file changed, 44 insertions(+), 45 deletions(-) diff --git a/boards/seeed_xiao_esp32c6.json b/boards/seeed_xiao_esp32c6.json index 27b7687b9..4572a6ab8 100644 --- a/boards/seeed_xiao_esp32c6.json +++ b/boards/seeed_xiao_esp32c6.json @@ -1,48 +1,47 @@ { - "build": { - "core": "esp32", - "extra_flags": [ - "-DARDUINO_XIAO_ESP32C6", - "-DARDUINO_USB_CDC_ON_BOOT=1", - "-DARDUINO_USB_MODE=1" - ], - "f_cpu": "160000000L", - "f_flash": "80000000L", - "flash_mode": "qio", - "hwids": [ - [ - "0x2886", - "0x0048" - ], - [ - "0x2886", - "0x8048" - ] - ], - "mcu": "esp32c6", - "variant": "XIAO_ESP32C6" - }, - "connectivity": [ - "wifi", - "bluetooth", - "zigbee", - "thread" + "build": { + "core": "esp32", + "extra_flags": [ + "-DARDUINO_XIAO_ESP32C6", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_USB_MODE=1" ], - "debug": { - "openocd_target": "esp32c6.cfg" - }, - "frameworks": [ - "arduino", - "espidf" + "f_cpu": "160000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x2886", + "0x0048" + ], + [ + "0x2886", + "0x8048" + ] ], - "name": "Seeed Studio XIAO ESP32C6", - "upload": { - "flash_size": "4MB", - "maximum_ram_size": 327680, - "maximum_size": 4194304, - "require_upload_port": true, - "speed": 460800 - }, - "url": "https://wiki.seeedstudio.com/XIAO_ESP32C6_Getting_Started/", - "vendor": "Seeed Studio" - } \ No newline at end of file + "mcu": "esp32c6", + "variant": "XIAO_ESP32C6" + }, + "connectivity": [ + "wifi", + "bluetooth", + "zigbee", + "thread" + ], + "debug": { + "openocd_target": "esp32c6.cfg" + }, + "frameworks": [ + "espidf" + ], + "name": "Seeed Studio XIAO ESP32C6", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://wiki.seeedstudio.com/XIAO_ESP32C6_Getting_Started/", + "vendor": "Seeed Studio" +} \ No newline at end of file From a2b58fcfee5172607daaa5c953f25a053f79ec7f Mon Sep 17 00:00:00 2001 From: Lucas Katayama <492687+lucaskatayama@users.noreply.github.com> Date: Tue, 25 Mar 2025 10:13:32 -0300 Subject: [PATCH 3/4] wip: fixes --- boards/seeed_xiao_esp32c6.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/boards/seeed_xiao_esp32c6.json b/boards/seeed_xiao_esp32c6.json index 4572a6ab8..8ab7faebc 100644 --- a/boards/seeed_xiao_esp32c6.json +++ b/boards/seeed_xiao_esp32c6.json @@ -1,11 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": [ - "-DARDUINO_XIAO_ESP32C6", - "-DARDUINO_USB_CDC_ON_BOOT=1", - "-DARDUINO_USB_MODE=1" - ], + "extra_flags": [], "f_cpu": "160000000L", "f_flash": "80000000L", "flash_mode": "qio", @@ -19,8 +15,7 @@ "0x8048" ] ], - "mcu": "esp32c6", - "variant": "XIAO_ESP32C6" + "mcu": "esp32c6" }, "connectivity": [ "wifi", @@ -44,4 +39,4 @@ }, "url": "https://wiki.seeedstudio.com/XIAO_ESP32C6_Getting_Started/", "vendor": "Seeed Studio" -} \ No newline at end of file +} From 59103e126621c0d63001c3c49648c39bf13e65c1 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 26 Mar 2025 15:34:40 +0200 Subject: [PATCH 4/4] Remove empty field with extra flags --- boards/seeed_xiao_esp32c6.json | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/seeed_xiao_esp32c6.json b/boards/seeed_xiao_esp32c6.json index 8ab7faebc..0645a8836 100644 --- a/boards/seeed_xiao_esp32c6.json +++ b/boards/seeed_xiao_esp32c6.json @@ -1,7 +1,6 @@ { "build": { "core": "esp32", - "extra_flags": [], "f_cpu": "160000000L", "f_flash": "80000000L", "flash_mode": "qio",