summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py1
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/rtconfig.py1
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py1
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py1
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f091-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-atk-nano/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f103-mini-system/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f107-uc-eval/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f401-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f407-st-discovery/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f411-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f429-armfly-v6/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f429-atk-apollo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f429-fire-challenger/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f446-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f746-st-disco/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f767-atk-apollo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f767-fire-challenger/rtconfig.py1
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32g071-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l053-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l432-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l475-st-discovery/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l476-st-nucleo/rtconfig.py1
-rw-r--r--bsp/stm32/stm32l496-ali-developer/rtconfig.py1
33 files changed, 0 insertions, 33 deletions
diff --git a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
index 3c8992f7d0..bbc6a35774 100644
--- a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
+++ b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
index c6d16622da..fa46b74340 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
+++ b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
index 4a9fe33cef..638f59502a 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
+++ b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
index 51fdf4d64a..74c4f9fee6 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
+++ b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
index ae800430f2..2e022a964b 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
+++ b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f091-st-nucleo/rtconfig.py b/bsp/stm32/stm32f091-st-nucleo/rtconfig.py
index 3c8992f7d0..bbc6a35774 100644
--- a/bsp/stm32/stm32f091-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32f091-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-atk-nano/rtconfig.py b/bsp/stm32/stm32f103-atk-nano/rtconfig.py
index 91aba62478..9ace3b0a3c 100644
--- a/bsp/stm32/stm32f103-atk-nano/rtconfig.py
+++ b/bsp/stm32/stm32f103-atk-nano/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py b/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
index c6d16622da..fa46b74340 100644
--- a/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
+++ b/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py b/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
index 91aba62478..9ace3b0a3c 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
+++ b/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
index 91aba62478..9ace3b0a3c 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
+++ b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py b/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
index c6d16622da..fa46b74340 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
+++ b/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f103-mini-system/rtconfig.py b/bsp/stm32/stm32f103-mini-system/rtconfig.py
index a839777aef..c16c2fdda7 100644
--- a/bsp/stm32/stm32f103-mini-system/rtconfig.py
+++ b/bsp/stm32/stm32f103-mini-system/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f107-uc-eval/rtconfig.py b/bsp/stm32/stm32f107-uc-eval/rtconfig.py
index 91aba62478..9ace3b0a3c 100644
--- a/bsp/stm32/stm32f107-uc-eval/rtconfig.py
+++ b/bsp/stm32/stm32f107-uc-eval/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f401-st-nucleo/rtconfig.py b/bsp/stm32/stm32f401-st-nucleo/rtconfig.py
index 3aafec60b8..3b4b3a5208 100644
--- a/bsp/stm32/stm32f401-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32f401-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
index 5094363dfa..81e39f9513 100644
--- a/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
+++ b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig.py b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
index 4a9fe33cef..638f59502a 100644
--- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
+++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f407-st-discovery/rtconfig.py b/bsp/stm32/stm32f407-st-discovery/rtconfig.py
index 4f3dbc90ee..32024fa83a 100644
--- a/bsp/stm32/stm32f407-st-discovery/rtconfig.py
+++ b/bsp/stm32/stm32f407-st-discovery/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f411-st-nucleo/rtconfig.py b/bsp/stm32/stm32f411-st-nucleo/rtconfig.py
index 69a32c6da2..8c0a3e1281 100644
--- a/bsp/stm32/stm32f411-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32f411-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f429-armfly-v6/rtconfig.py b/bsp/stm32/stm32f429-armfly-v6/rtconfig.py
index 3bb974643b..79419c6c06 100644
--- a/bsp/stm32/stm32f429-armfly-v6/rtconfig.py
+++ b/bsp/stm32/stm32f429-armfly-v6/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f429-atk-apollo/rtconfig.py b/bsp/stm32/stm32f429-atk-apollo/rtconfig.py
index 4a9fe33cef..638f59502a 100644
--- a/bsp/stm32/stm32f429-atk-apollo/rtconfig.py
+++ b/bsp/stm32/stm32f429-atk-apollo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f429-fire-challenger/rtconfig.py b/bsp/stm32/stm32f429-fire-challenger/rtconfig.py
index 4a9fe33cef..638f59502a 100644
--- a/bsp/stm32/stm32f429-fire-challenger/rtconfig.py
+++ b/bsp/stm32/stm32f429-fire-challenger/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f446-st-nucleo/rtconfig.py b/bsp/stm32/stm32f446-st-nucleo/rtconfig.py
index 4a9fe33cef..638f59502a 100644
--- a/bsp/stm32/stm32f446-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32f446-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f746-st-disco/rtconfig.py b/bsp/stm32/stm32f746-st-disco/rtconfig.py
index 4c4dc4ef02..0b3bfc1ac9 100644
--- a/bsp/stm32/stm32f746-st-disco/rtconfig.py
+++ b/bsp/stm32/stm32f746-st-disco/rtconfig.py
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2 -Os'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f767-atk-apollo/rtconfig.py b/bsp/stm32/stm32f767-atk-apollo/rtconfig.py
index 251d8168e7..dedc1b9580 100644
--- a/bsp/stm32/stm32f767-atk-apollo/rtconfig.py
+++ b/bsp/stm32/stm32f767-atk-apollo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f767-fire-challenger/rtconfig.py b/bsp/stm32/stm32f767-fire-challenger/rtconfig.py
index 93d7b66033..7a46cc624d 100644
--- a/bsp/stm32/stm32f767-fire-challenger/rtconfig.py
+++ b/bsp/stm32/stm32f767-fire-challenger/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32f767-st-nucleo/rtconfig.py b/bsp/stm32/stm32f767-st-nucleo/rtconfig.py
index ef578d17ca..ac2cda234b 100644
--- a/bsp/stm32/stm32f767-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32f767-st-nucleo/rtconfig.py
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2 -Os'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32g071-st-nucleo/rtconfig.py b/bsp/stm32/stm32g071-st-nucleo/rtconfig.py
index 7b2a05c9e3..d86774675d 100644
--- a/bsp/stm32/stm32g071-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32g071-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l053-st-nucleo/rtconfig.py b/bsp/stm32/stm32l053-st-nucleo/rtconfig.py
index ff1b0664a5..39d6af6879 100644
--- a/bsp/stm32/stm32l053-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32l053-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l432-st-nucleo/rtconfig.py b/bsp/stm32/stm32l432-st-nucleo/rtconfig.py
index ae800430f2..2e022a964b 100644
--- a/bsp/stm32/stm32l432-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32l432-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
index 2b495647e4..40b84ad846 100644
--- a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
+++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l475-st-discovery/rtconfig.py b/bsp/stm32/stm32l475-st-discovery/rtconfig.py
index 2876ce6761..3e4718a482 100644
--- a/bsp/stm32/stm32l475-st-discovery/rtconfig.py
+++ b/bsp/stm32/stm32l475-st-discovery/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l476-st-nucleo/rtconfig.py b/bsp/stm32/stm32l476-st-nucleo/rtconfig.py
index f13d785d54..7fc0f14860 100644
--- a/bsp/stm32/stm32l476-st-nucleo/rtconfig.py
+++ b/bsp/stm32/stm32l476-st-nucleo/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
diff --git a/bsp/stm32/stm32l496-ali-developer/rtconfig.py b/bsp/stm32/stm32l496-ali-developer/rtconfig.py
index ae800430f2..2e022a964b 100644
--- a/bsp/stm32/stm32l496-ali-developer/rtconfig.py
+++ b/bsp/stm32/stm32l496-ali-developer/rtconfig.py
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS += ' -O2'
CXXFLAGS = CFLAGS
- CFLAGS += ' -std=c99'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'