summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorsagitattoo <[email protected]>2017-09-25 22:55:26 +0800
committerGitHub <[email protected]>2017-09-25 22:55:26 +0800
commit8c4b9461e2a22f4097bbedc3ec66330ceb893689 (patch)
tree5a416c9719d76a76fa8e559346e372458e26d961 /bsp
parentd79898a95796c1ccecef7c600a797e618954f21e (diff)
Update rtconfig.py
when "PLATFORM == armcc", the option "CFLAGS += ' -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
Diffstat (limited to 'bsp')
-rw-r--r--bsp/frdm-k64f/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/frdm-k64f/rtconfig.py b/bsp/frdm-k64f/rtconfig.py
index a40c66dcf2..baaf4905fa 100644
--- a/bsp/frdm-k64f/rtconfig.py
+++ b/bsp/frdm-k64f/rtconfig.py
@@ -74,7 +74,7 @@ elif PLATFORM == 'armcc':
EXEC_PATH += '/arm/bin40/'
if BUILD == 'debug':
- CFLAGS += ' -g -O0'
+ CFLAGS += ' --c99 -g -O0'
AFLAGS += ' -g'
else:
CFLAGS += ' -O2'