rtt-f030/bsp/stm32f7-disco/drivers/SConscript

21 lines
336 B
Python
Raw Normal View History

2015-08-07 13:30:13 +08:00
from building import *
cwd = GetCurrentDir()
src = Split("""
board.c
drv_cache.c
drv_mpu.c
""")
2015-08-07 13:30:13 +08:00
if GetDepend('BSP_USING_SDRAM'):
src = src + ['drv_sdram.c']
if GetDepend('RT_USING_SERIAL'):
src = src + ['drv_usart.c']
2015-08-07 13:30:13 +08:00
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')