SConscript 827 字节
Newer Older
wuyangyong's avatar
wuyangyong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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
""")

CPPPATH = [RTT_ROOT + '/bsp/lm3s/Libraries/inc', RTT_ROOT + '/bsp/lm3s/Libraries', RTT_ROOT + '/bsp/lm3s/Libraries/driverlib']

group = DefineGroup('library', src, depend = [''], CPPPATH = CPPPATH)

Return('group')