rt-thread/bsp/stm32l072/app/SConscript

18 lines
385 B
Python
Raw Normal View History

2016-09-21 13:18:21 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'app')
src = Glob('*.c')
path = [cwd,
cwd + '/..',
cwd + '/../board',
cwd + '/../Drivers/CMSIS/Device/ST/STM32L0xx/Include',
cwd + '/../Drivers/STM32L0xx_HAL_Driver/Inc',
cwd + '/../Inc'
]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)
Return('group')