mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
stm32f103-keysking学习板BSP移植(first version) (#10286)
* 添加bsp到ci * [BSP]stm32f103-keysking学习板 bsp移植(first version) * 压缩board.png * 删除不必要文件(main.c,system_stm32f1xx.c) * 修改ignore文件 * 删改CubeMX_Config多余文件 * 修改attach文件为ci.attachconfig.yml * yml添加 --strict
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from building import *
|
||||
import os
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
if GetDepend(['PKG_USING_RTDUINO']) and not GetDepend(['RTDUINO_NO_SETUP_LOOP']):
|
||||
src += ['arduino_main.cpp']
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
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')
|
||||
Reference in New Issue
Block a user