-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Description
RT-Thread Version
main分支
Hardware Type/Architectures
H723xx
Develop Toolchain
Other
Describe the bug
bsp/stm32/docs/STM32系列BSP制作教程.md描述中提到SConscript 脚本应该添加如图的
启动文件,但是我看到实际的BSP文件(bsp/stm32/stm32h723-st-nucleo/board/SConscript)中如下:
import os
from building import *
cwd = GetCurrentDir()
# add the general drivers.
src = Glob('board.c')
src += Glob('CubeMX_Config/Src/stm32h7xx_hal_msp.c')
path = [cwd]
path += [cwd + '/CubeMX_Config/Inc']
# STM32H743xx || STM32H750xx || STM32F753xx
# You can select chips from the list above
CPPDEFINES = ['STM32H723xx']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')
而且经历寻找后也找不到相关的startup文件。其中并没有startup文件,我应该照着BSP制作规范,还是模仿已有的BSP文件?
Other additional context
我是完全的新手,只是在试图制作一份BSP
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels