importrtconfigImport('RTT_ROOT')frombuildingimport*# get current directorycwd=GetCurrentDir()# The set of source files associated with this SConscript file.src=Split("""nrf52832/Source/templates/system_nrf52.c""")#add for Startup script ifrtconfig.CROSS_TOOL=='gcc':src=src+['nrf52832/Source/templates/arm/gcc_startup_nrf52.s']elifrtconfig.CROSS_TOOL=='keil':src=src+['nrf52832/Source/templates/arm/arm_startup_nrf52.s']elifrtconfig.CROSS_TOOL=='iar':src=src+['nrf52832/Source/templates/arm/iar_startup_nrf52.s']path=[cwd+'/CMSIS/Include',cwd+'/nrf52832/Include']CPPDEFINES=['USE_STDPERIPH_DRIVER','NRF52']group=DefineGroup('Startup Code',src,depend=[''],CPPPATH=path,CPPDEFINES=CPPDEFINES)Return('group')