Skip to content

Commit d66fea2

Browse files
committed
esp32: Add new board seeed_xiao_esp32c5
Signed-off-by: yuan_mo <2286087148@qq.com>
1 parent ea2be5e commit d66fea2

File tree

6 files changed

+53
-0
lines changed

6 files changed

+53
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"deploy_options": {
6+
"flash_offset": "0x2000"
7+
},
8+
"docs": "",
9+
"features": [
10+
"BLE",
11+
"External Flash",
12+
"WiFi"
13+
],
14+
"images": [
15+
"esp32c5_devkitmini.jpg"
16+
],
17+
"mcu": "esp32c5",
18+
"product": "XIAO-ESP32-C5",
19+
"thumbnail": "",
20+
"url": "https://wiki.seeedstudio.com/",
21+
"vendor": "Espressif"
22+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The following files are firmware images that should work on most ESP32-C5-based
2+
boards with at least 4MiB of flash and 40MHz/48MHz crystal frequency.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
set(IDF_TARGET esp32c5)
2+
3+
set(SDKCONFIG_DEFAULTS
4+
boards/sdkconfig.base
5+
boards/sdkconfig.ble
6+
boards/sdkconfig.240mhz
7+
boards/sdkconfig.free_ram
8+
boards/SEEED_XIAO_ESP32C5/sdkconfig.board
9+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This configuration is for a generic ESP32C2 board with 4MiB (or more) of flash.
2+
3+
#define MICROPY_HW_BOARD_NAME "ESP32C5 module"
4+
#define MICROPY_HW_MCU_NAME "ESP32C5"
5+
6+
#define MICROPY_PY_MACHINE_I2S (0)
7+
#define MICROPY_HW_ENABLE_UART_REPL (1)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
D0,GPIO1
2+
D1,GPIO0
3+
D2,GPIO25
4+
D3,GPIO7
5+
D4,GPIO23
6+
D5,GPIO24
7+
D6,GPIO11
8+
D7,GPIO12
9+
D8,GPIO8
10+
D9,GPIO9
11+
D10,GPIO10
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
2+
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y

0 commit comments

Comments
 (0)