4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 14:53:32 +08:00

add gd32407v-start

This commit is contained in:
Ouxiaolong 2021-09-11 19:01:59 +08:00
parent a686bfa4c3
commit 9386c4f6f8
2 changed files with 13 additions and 3 deletions

10
bsp/gd32/README.md Normal file
View File

@ -0,0 +1,10 @@
# GD32 BSP 说明
GD32 系列 BSP 目前支持情况如下表所示:
| **BSP 文件夹名称** | **开发板名称** |
|:------------------------- |:-------------------------- |
| **F4 系列** | |
| [gd32407v-start](gd32407v-start) | 兆易创新 官方 GD32407V-START 开发板 |

View File

@ -47,11 +47,11 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
stm32_library = 'GD32F4xx_HAL'
rtconfig.BSP_LIBRARY_TYPE = stm32_library
gd32_library = 'GD32F4xx_HAL'
rtconfig.BSP_LIBRARY_TYPE = gd32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, stm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, gd32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'HAL_Drivers', 'SConscript')))