Import('RTT_ROOT') Import('rtconfig') from building import * cwd = GetCurrentDir() src = Glob('*.c') src += [cwd + '/arm/arm_startup_nrf52.s'] CPPPATH = [cwd] #remove other no use files #SrcRemove(src, '*.c') group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH) Return('group')