55c9827096
* Add SAML10 Cortex-M23 series support 1. Add SAML10 Cortex-M23 series support; 2. remove STDIO related code of same54 series, no need any more; 3. update rtconfig.py to support output bin & map file containing DEVICE PART info.
15 lines
298 B
Python
15 lines
298 B
Python
# for module compiling
|
|
import os
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
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(d, 'SConscript'))
|
|
|
|
Return('objs')
|