stm32f103-template/rt-thread/components/fal/SConscript

14 lines
295 B
Python
Raw Normal View History

2023-05-09 22:30:49 +08:00
from building import *
cwd = GetCurrentDir()
src = Glob('src/*.c')
CPPPATH = [cwd + '/inc']
if GetDepend(['FAL_USING_SFUD_PORT']):
src += Glob('samples/porting/fal_flash_sfud_port.c')
group = DefineGroup('Fal', src, depend = ['RT_USING_FAL'], CPPPATH = CPPPATH)
Return('group')