rt-thread-official/bsp/avr32uc3b0/SOFTWARE_FRAMEWORK/SConscript

31 lines
576 B
Python
Raw Normal View History

2013-01-08 22:40:58 +08:00
import rtconfig
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
src = Split("""
DRIVERS/FLASHC/flashc.c
DRIVERS/GPIO/gpio.c
DRIVERS/INTC/intc.c
DRIVERS/PM/pm.c
DRIVERS/PM/pm_conf_clocks.c
DRIVERS/PM/power_clocks_lib.c
DRIVERS/USART/usart.c
""")
CPPPATH = [
cwd + '/BOARDS',
cwd + '/UTILS',
cwd + '/UTILS/PREPROCESSOR',
cwd + '/DRIVERS/FLASHC',
cwd + '/DRIVERS/GPIO',
cwd + '/DRIVERS/INTC',
cwd + '/DRIVERS/PM',
cwd + '/DRIVERS/USART',
]
2020-12-19 16:49:11 +08:00
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
2013-01-08 22:40:58 +08:00
Return('group')