rtt-f030/bsp/frdm-k64f/board/SConscript

24 lines
396 B
Python
Raw Normal View History

2014-06-29 00:34:20 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'board')
2017-07-01 13:42:28 +08:00
# add the general drivers.
src = Split("""
board.c
clock_config.c
drv_uart.c
led.c
""")
# add Ethernet drivers.
if GetDepend('RT_USING_LWIP'):
src += ['drv_emac.c', 'fsl_phy.c']
2014-06-29 00:34:20 +08:00
CPPPATH = [cwd]
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH)
Return('group')