From 8c4b9461e2a22f4097bbedc3ec66330ceb893689 Mon Sep 17 00:00:00 2001 From: sagitattoo Date: Mon, 25 Sep 2017 22:55:26 +0800 Subject: [PATCH] Update rtconfig.py when "PLATFORM == armcc", the option "CFLAGS += ' -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline" --- bsp/frdm-k64f/rtconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'