Browse Source

Update rtconfig.py

when "PLATFORM  == armcc", the option "CFLAGS += '  -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
sagitattoo 7 years ago
parent
commit
8c4b9461e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/frdm-k64f/rtconfig.py

+ 1 - 1
bsp/frdm-k64f/rtconfig.py

@@ -74,7 +74,7 @@ elif PLATFORM == 'armcc':
     EXEC_PATH += '/arm/bin40/'
     EXEC_PATH += '/arm/bin40/'
 
 
     if BUILD == 'debug':
     if BUILD == 'debug':
-        CFLAGS += ' -g -O0'
+        CFLAGS += ' --c99 -g -O0'
         AFLAGS += ' -g'
         AFLAGS += ' -g'
     else:
     else:
         CFLAGS += ' -O2'
         CFLAGS += ' -O2'