diff options
| author | wenbodong2015 <[email protected]> | 2021-09-07 11:19:47 +0800 |
|---|---|---|
| committer | wenbodong2015 <[email protected]> | 2021-09-07 11:19:47 +0800 |
| commit | 38bd06cc179ebf1a2d3185047ce67b7f374134bd (patch) | |
| tree | b2f89618741eedb2d0f192ca8efcd6c934cd9554 | |
| parent | 55d3011f958020e2aab4a22ce34289f29242887a (diff) | |
解决 HC32L196 scons编译问题
| -rw-r--r-- | bsp/hc32l196/SConstruct | 3 | ||||
| -rw-r--r-- | bsp/hc32l196/rtconfig.py | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/bsp/hc32l196/SConstruct b/bsp/hc32l196/SConstruct index 9782920a33..ba341c62af 100644 --- a/bsp/hc32l196/SConstruct +++ b/bsp/hc32l196/SConstruct @@ -2,7 +2,6 @@ import os import sys import rtconfig -print "############sconstruct##############" if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') else: @@ -38,8 +37,6 @@ Export('RTT_ROOT') Export('rtconfig') # prepare building environment -print "######################env:" -print env objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) # make a building diff --git a/bsp/hc32l196/rtconfig.py b/bsp/hc32l196/rtconfig.py index 2d44172455..cd1789c846 100644 --- a/bsp/hc32l196/rtconfig.py +++ b/bsp/hc32l196/rtconfig.py @@ -89,7 +89,6 @@ elif PLATFORM == 'armcc': CFLAGS += ' -O2' CXXFLAGS = CFLAGS - CFLAGS += ' -std=c99' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' |
