Karl Zhang bd927324cc LPC55S69: Add NS project support
This requires TFM package support to run in the secure side, while the
RTT running in non-secure.

Change-Id: Ic749f92937fc99e6e29ba4a1be66cb7819670f2c
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:18:33 +08:00

19 lines
476 B
Python

# for module compiling
import os
from building import *
cwd = GetCurrentDir() + '/../lpc55s69_nxp_evk'
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript'))
pkg = GetCurrentDir() + '/packages'
if os.path.isfile(os.path.join(pkg, 'SConscript')):
objs = objs + SConscript(os.path.join(pkg, 'SConscript'))
Return('objs')