summaryrefslogtreecommitdiff
path: root/bsp/microchip/same54/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/microchip/same54/SConstruct')
-rw-r--r--bsp/microchip/same54/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/microchip/same54/SConstruct b/bsp/microchip/same54/SConstruct
index 9f8b13d9cf..1a7569d7b8 100644
--- a/bsp/microchip/same54/SConstruct
+++ b/bsp/microchip/same54/SConstruct
@@ -26,7 +26,7 @@ env = Environment(tools = ['mingw'],
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
-if rtconfig.PLATFORM == 'iar':
+if rtconfig.PLATFORM in ['iccarm']:
env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread-'+ rtconfig.DEVICE_PART + '.map')