Skip to content

Commit 2dc2e30

Browse files
pi-mstdpgeorge
authored andcommitted
esp32/boards/SEEED_XIAO_ESP32C6: Add new XIAO board definition.
Signed-off-by: Matt Trentini <matthew.trentini@planetinnovation.com.au> Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
1 parent f4d2447 commit 2dc2e30

4 files changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"deploy": [
3+
"../deploy_nativeusb.md"
4+
],
5+
"deploy_options": {
6+
"flash_offset": "0"
7+
},
8+
"docs": "",
9+
"features": [
10+
"Battery Charging",
11+
"BLE",
12+
"External Flash",
13+
"WiFi",
14+
"USB",
15+
"USB-C"
16+
],
17+
"images": [
18+
"seeed_xiao_esp32c6.jpg"
19+
],
20+
"mcu": "esp32c6",
21+
"product": "XIAO ESP32C6",
22+
"url": "https://www.seeedstudio.com/Seeed-Studio-XIAO-ESP32C6-p-5884.html",
23+
"vendor": "Seeed Studio"
24+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
set(IDF_TARGET esp32c6)
2+
3+
set(SDKCONFIG_DEFAULTS
4+
boards/sdkconfig.base
5+
boards/sdkconfig.riscv
6+
boards/sdkconfig.c6
7+
boards/sdkconfig.ble
8+
)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#define MICROPY_HW_BOARD_NAME "Seeed XIAO ESP32C6"
2+
#define MICROPY_HW_MCU_NAME "ESP32C6"
3+
4+
#define MICROPY_HW_I2C0_SCL (23)
5+
#define MICROPY_HW_I2C0_SDA (22)
6+
7+
#define MICROPY_HW_SPI1_MOSI (18)
8+
#define MICROPY_HW_SPI1_MISO (20)
9+
#define MICROPY_HW_SPI1_SCK (19)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
D0,GPIO0
2+
D1,GPIO1
3+
D2,GPIO2
4+
D3,GPIO21
5+
D4,GPIO22
6+
D5,GPIO23
7+
D6,GPIO16
8+
D7,GPIO17
9+
D8,GPIO19
10+
D9,GPIO20
11+
D10,GPIO18
12+
A0,GPIO0
13+
A1,GPIO1
14+
A2,GPIO2
15+
LED,GPIO15
16+
MTDO,GPIO7
17+
MTDI,GPIO5
18+
MTCK,GPIO6
19+
MTMS,GPIO4
20+
BOOT,GPIO9
21+
RF_SEL,GPIO14
22+
RF_POWER,GPIO3

0 commit comments

Comments
 (0)