rt-thread/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/SConscript

18 lines
336 B
Python

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 = []
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')