rtt-f030/bsp/v2m-mps2/drivers/SConscript

20 lines
314 B
Python
Raw Normal View History

2018-03-01 21:01:23 +08:00
from building import *
cwd = GetCurrentDir()
# add the general drivers.
src = Split("""
board.c
drv_uart.c
""")
CPPPATH = [cwd]
CPPDEFINES = []
if GetDepend('RT_USING_PIN'):
src += ['drv_pin.c']
2018-03-01 21:01:23 +08:00
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')