rt-thread/bsp/avr32uc3b0/SConscript

21 lines
482 B
Python
Raw Normal View History

2013-01-08 22:40:58 +08:00
import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c']
if GetDepend(['RT_USING_PIN']):
src_bsp += ['drv_gpio.c']
if GetDepend(['RT_USING_SERIAL']):
if GetDepend(['RT_USING_SERIAL_V2']):
src_bsp += ['drv_uart_v2.c']
else:
src_bsp += ['drv_uart.c']
2013-01-08 22:40:58 +08:00
2023-01-09 10:14:23 +08:00
src = File(src_bsp)
2013-01-08 22:40:58 +08:00
CPPPATH = [RTT_ROOT + '/bsp/avr32uc3b0']
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
Return('group')