From 6648419999c318e169c0985fdc25ca0bf9ee2304 Mon Sep 17 00:00:00 2001 From: vacabun Date: Sun, 6 Aug 2023 15:58:46 +0800 Subject: [PATCH] [bsp][stm32h750_artpi] use gnu99 --- bsp/stm32/stm32h750-artpi/rtconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/stm32/stm32h750-artpi/rtconfig.py b/bsp/stm32/stm32h750-artpi/rtconfig.py index c1b699a911..fa67b76941 100644 --- a/bsp/stm32/stm32h750-artpi/rtconfig.py +++ b/bsp/stm32/stm32h750-artpi/rtconfig.py @@ -58,7 +58,7 @@ if PLATFORM == 'gcc': CFLAGS += ' -O2' CXXFLAGS = CFLAGS - CFLAGS += ' -std=c99' + CFLAGS += ' -std=gnu99' POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n' @@ -90,7 +90,7 @@ elif PLATFORM == 'armcc': CFLAGS += ' -O2' CXXFLAGS = CFLAGS - CFLAGS += ' -std=c99' + CFLAGS += ' -std=gnu99' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' @@ -124,7 +124,7 @@ elif PLATFORM == 'armclang': CFLAGS += ' -O2' CXXFLAGS = CFLAGS - CFLAGS += ' -std=c99' + CFLAGS += ' -std=gnu99' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'