summaryrefslogtreecommitdiff
path: root/bsp/nxp/lpc/lpc55sxx/libraries/template/lpc55s6xxxx/applications/SConscript
blob: 9efbc795ab6396dab4cfa54ea2e2ef3ab1b44b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import rtconfig
from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]

# add for startup script
if rtconfig.PLATFORM in ['gcc']:
    CPPDEFINES = ['__START=entry']
else:
    CPPDEFINES = []

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

Return('group')