summaryrefslogtreecommitdiff
path: root/bsp/msp432e401y-LaunchPad/libraries/msp432e4/SConscript
blob: 851c4c8b748dd8ec809c2a1eeea72dba22d89f4b (plain)
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
import rtconfig
Import('RTT_ROOT')
from building import *

# get current directory
cwd = GetCurrentDir()

# The set of source files associated with this SConscript file.
src = Split("""
startup_system_files/system_msp432e401y.c
driverlib/sysctl.c
driverlib/systick.c
driverlib/interrupt.c
driverlib/fpu.c
driverlib/cpu.c
driverlib/gpio.c
""")
   
if GetDepend(['RT_USING_SERIAL']):
    src += ['driverlib/uart.c']

path = [cwd + '/driverlib', 
    cwd + '/inc',
    cwd + '/driverlib/inc']

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

Return('group')