summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
diff options
context:
space:
mode:
authortyustli <[email protected]>2019-03-26 15:41:06 +0800
committertyustli <[email protected]>2019-03-26 15:41:06 +0800
commitea8509717e1ed0b8ef4bcad9874873030eee552a (patch)
tree87cab87ece51949b7d89b7e9a0006d1c9032f779 /bsp/stm32/libraries
parent8327200072ddd1cd58f38c7d3246ffc5179db40e (diff)
delete C++ support for gcc in the rtconfig.py file
Diffstat (limited to 'bsp/stm32/libraries')
-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
5 files changed, 0 insertions, 5 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'