2009-12-26 18:10:50 +08:00
|
|
|
Import('RTT_ROOT')
|
2010-11-26 08:42:21 +08:00
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
2009-12-26 18:10:50 +08:00
|
|
|
|
|
|
|
# The set of source files associated with this SConscript file.
|
2010-11-26 08:42:21 +08:00
|
|
|
src = Split("""
|
2009-12-26 18:10:50 +08:00
|
|
|
driverlib/adc.c
|
|
|
|
driverlib/can.c
|
|
|
|
driverlib/comp.c
|
|
|
|
driverlib/cpu.c
|
|
|
|
driverlib/epi.c
|
|
|
|
driverlib/ethernet.c
|
|
|
|
driverlib/flash.c
|
|
|
|
driverlib/gpio.c
|
|
|
|
driverlib/hibernate.c
|
|
|
|
driverlib/i2c.c
|
|
|
|
driverlib/i2s.c
|
|
|
|
driverlib/interrupt.c
|
|
|
|
driverlib/mpu.c
|
|
|
|
driverlib/pwm.c
|
|
|
|
driverlib/qei.c
|
|
|
|
driverlib/ssi.c
|
|
|
|
driverlib/sysctl.c
|
|
|
|
driverlib/systick.c
|
|
|
|
driverlib/timer.c
|
|
|
|
driverlib/uart.c
|
|
|
|
driverlib/udma.c
|
|
|
|
driverlib/usb.c
|
|
|
|
driverlib/watchdog.c
|
|
|
|
""")
|
|
|
|
|
2010-11-26 08:42:21 +08:00
|
|
|
CPPPATH = [RTT_ROOT + '/bsp/lm3s/Libraries/inc', RTT_ROOT + '/bsp/lm3s/Libraries', RTT_ROOT + '/bsp/lm3s/Libraries/driverlib']
|
2009-12-26 18:10:50 +08:00
|
|
|
|
2010-11-26 08:42:21 +08:00
|
|
|
group = DefineGroup('library', src, depend = [''], CPPPATH = CPPPATH)
|
2009-12-26 18:10:50 +08:00
|
|
|
|
2010-11-26 08:42:21 +08:00
|
|
|
Return('group')
|