summaryrefslogtreecommitdiff
path: root/bsp/msp432e401y-LaunchPad/libraries/Drivers/SConscript
blob: 34a1fe9a5bf334477e9230ce8ca5e733d08e46e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Import('RTT_ROOT')
Import('rtconfig')
from building import *

cwd = GetCurrentDir()

# add the general drivers.
src = []

if GetDepend(['RT_USING_PIN']):
    src += ['drv_gpio.c']
    
if GetDepend(['RT_USING_SERIAL']):
    src += ['drv_uart.c']

path =  [cwd]
path += [cwd + '/config', 
         cwd + '/CMSIS/Include']

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

Return('group')