rt-thread-stm32f072/rt-thread/components/fal/SConscript

15 lines
311 B
Python
Raw Permalink Normal View History

2022-10-30 15:41:02 +08:00
from building import *
import rtconfig
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')