Skip to content

Commit 9386c4f

Browse files
committed
add gd32407v-start
1 parent a686bfa commit 9386c4f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

bsp/gd32/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# GD32 BSP 说明
3+
4+
GD32 系列 BSP 目前支持情况如下表所示:
5+
6+
| **BSP 文件夹名称** | **开发板名称** |
7+
|:------------------------- |:-------------------------- |
8+
| **F4 系列** | |
9+
| [gd32407v-start](gd32407v-start) | 兆易创新 官方 GD32407V-START 开发板 |
10+

bsp/gd32/gd32407v-start/SConstruct

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Export('SDK_LIB')
4747
# prepare building environment
4848
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
4949

50-
stm32_library = 'GD32F4xx_HAL'
51-
rtconfig.BSP_LIBRARY_TYPE = stm32_library
50+
gd32_library = 'GD32F4xx_HAL'
51+
rtconfig.BSP_LIBRARY_TYPE = gd32_library
5252

5353
# include libraries
54-
objs.extend(SConscript(os.path.join(libraries_path_prefix, stm32_library, 'SConscript')))
54+
objs.extend(SConscript(os.path.join(libraries_path_prefix, gd32_library, 'SConscript')))
5555

5656
# include drivers
5757
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'HAL_Drivers', 'SConscript')))

0 commit comments

Comments
 (0)