diff options
| author | vacabun <[email protected]> | 2023-08-06 15:58:46 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-08-06 19:04:28 -0400 |
| commit | 6648419999c318e169c0985fdc25ca0bf9ee2304 (patch) | |
| tree | 4d5b34732abbc320beeb2313cf7c71df4973b354 | |
| parent | 1c03d59651f81cd9e84dbfbb1b7db456b910f10e (diff) | |
[bsp][stm32h750_artpi] use gnu99
| -rw-r--r-- | bsp/stm32/stm32h750-artpi/rtconfig.py | 6 |
1 files 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' |
