rt-thread-official/bsp/stm32f429-armfly/drivers/SConscript

26 lines
376 B
Python
Raw Normal View History

2017-09-12 17:57:14 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'drivers')
# add the general drivers.
src = Split("""
board.c
usart.c
drv_sdram.c
drv_eth.c
drv_lcd.c
drv_i2c.c
drv_ft5x06.c
drv_spi.c
drv_spi_flash.c
drv_sdio_sd.c
""")
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')