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

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

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

if  GetDepend('BSP_USING_SDIO'):
    src += ['mnt.c']

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

Return('group')