mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-05 23:22:43 +00:00
* 添加bsp到ci * [BSP]stm32f103-keysking学习板 bsp移植(first version) * 压缩board.png * 删除不必要文件(main.c,system_stm32f1xx.c) * 修改ignore文件 * 删改CubeMX_Config多余文件 * 修改attach文件为ci.attachconfig.yml * yml添加 --strict
19 lines
471 B
Python
19 lines
471 B
Python
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')
|