2011-06-23 21:31:44 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
|
|
src = Split("""
|
|
|
|
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
|
|
|
|
""")
|
|
|
|
|
2011-07-01 21:19:01 +08:00
|
|
|
CPPPATH = [RTT_ROOT + '/bsp/lm3s8962/Libraries/inc', RTT_ROOT + '/bsp/lm3s8962/Libraries', RTT_ROOT + '/bsp/lm3s8962/Libraries/driverlib']
|
2011-06-23 21:31:44 +08:00
|
|
|
|
|
|
|
group = DefineGroup('library', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|