2016-08-19 00:35:30 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
2018-03-04 22:35:07 +08:00
|
|
|
cwd = GetCurrentDir()
|
2016-08-19 00:35:30 +08:00
|
|
|
|
|
|
|
# add the general drivers.
|
|
|
|
src = Split("""
|
|
|
|
board.c
|
|
|
|
stm32f4xx_it.c
|
|
|
|
usart.c
|
2016-08-20 18:27:07 +08:00
|
|
|
drv_sdram.c
|
2018-09-15 14:28:09 +08:00
|
|
|
drv_lcd.c
|
2016-08-19 00:35:30 +08:00
|
|
|
""")
|
|
|
|
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|