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'