Skip to content

Commit c55cbc5

Browse files
authored
[BSP] 添加GD32E230开发板适配 (#10557)
1 parent 9f66b35 commit c55cbc5

36 files changed

+3686
-209
lines changed

.github/ALL_BSP_COMPILE.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@
303303
"gd32/arm/gd32h759i-start",
304304
"gd32/arm/gd32e503v-eval",
305305
"gd32/arm/gd32527I-eval",
306+
"gd32/arm/gd32e230-lckfb",
306307
"n32/n32g43xcl-stb",
307308
"n32/n32g45xcl-stb",
308309
"n32/n32g45xml-stb",

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ vdso.lds
6565
# stm32cubemx
6666
**/CubeMX_Config/Drivers/
6767
**/CubeMX_Config/MDK-ARM/
68+
69+
# mac
70+
.DS_Store

bsp/gd32/arm/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ GD32 ARM 系列 BSP 目前支持情况如下表所示:
2424
| [gd32470z-lckfb](gd32470z-lckfb) | 立创梁山派 GD32F470ZGT6 开发板 |
2525
| **E5 系列** | |
2626
| [gd32e503v-eval](gd32e503v-eval) | 兆易创新 官方 GD32E503V-EVAL 开发板 |
27+
| **E23 系列** | |
28+
| [gd32e230-lckfb](gd32e230-lckfb) | 立创·GD32E230C8T6开发板 |
2729

2830
可以通过阅读相应 BSP 下的 README 来快速上手,如果想要使用 BSP 更多功能可参考 docs 文件夹下提供的说明文档,如下表所示:
2931

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
kernel.tick:
2+
kconfig:
3+
- CONFIG_RT_TICK_PER_SECOND=100
4+
kernel.console_name:
5+
kconfig:
6+
- CONFIG_RT_CONSOLE_DEVICE_NAME="uart0"
7+
component.dev_drv.ipc.sys_workqueue:
8+
kconfig:
9+
- CONFIG_RT_USING_SYSTEM_WORKQUEUE=y
10+
hw_drv_onchip.uart0:
11+
kconfig:
12+
- CONFIG_BSP_USING_UART0=y
13+
hw_drv_onchip.adc0:
14+
kconfig:
15+
- CONFIG_BSP_USING_ADC=y
16+
- CONFIG_BSP_USING_ADC0=y
17+
hw_drv_onchip.spi0:
18+
kconfig:
19+
- CONFIG_BSP_USING_SPI=y
20+
- CONFIG_BSP_USING_SPI0=y
21+
hw_drv_onchip.i2c0:
22+
kconfig:
23+
- CONFIG_BSP_USING_I2C0=y
24+
- CONFIG_BSP_I2C0_SCL_PIN=22
25+
- CONFIG_BSP_I2C0_SDA_PIN=23

0 commit comments

Comments
 (0)