解决 HC32L196 scons编译问题

This commit is contained in:
wenbodong2015 2021-09-07 11:19:47 +08:00
parent 55d3011f95
commit 38bd06cc17
2 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@ import os
import sys import sys
import rtconfig import rtconfig
print "############sconstruct##############"
if os.getenv('RTT_ROOT'): if os.getenv('RTT_ROOT'):
RTT_ROOT = os.getenv('RTT_ROOT') RTT_ROOT = os.getenv('RTT_ROOT')
else: else:
@ -38,8 +37,6 @@ Export('RTT_ROOT')
Export('rtconfig') Export('rtconfig')
# prepare building environment # prepare building environment
print "######################env:"
print env
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
# make a building # make a building

View File

@ -89,7 +89,6 @@ elif PLATFORM == 'armcc':
CFLAGS += ' -O2' CFLAGS += ' -O2'
CXXFLAGS = CFLAGS CXXFLAGS = CFLAGS
CFLAGS += ' -std=c99'
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'