Merge pull request #772 from caogos/master
[bsp] 在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
This commit is contained in:
commit
82359e09f0
@ -12,7 +12,6 @@ if os.getenv('RTT_CC'):
|
||||
|
||||
if CROSS_TOOL == 'gcc':
|
||||
PLATFORM = 'gcc'
|
||||
# EXEC_PATH = '/opt/opt/gcc-4.3-ls232/bin'
|
||||
EXEC_PATH = r'D:\mgc\embedded\codebench\bin'
|
||||
else:
|
||||
print '================ERROR==========================='
|
||||
@ -25,6 +24,9 @@ if os.getenv('RTT_EXEC_PATH'):
|
||||
|
||||
BUILD = 'debug'
|
||||
|
||||
# don't use loongson company's cross-compilation tool chain to compile the RT-Thread
|
||||
# must use the cross-compilation tool chain that RT-Thread recommand
|
||||
# download: https://coding.net/u/bernard/p/rtthread_tools/git/blob/master/GCC_Toolchains.md
|
||||
PREFIX = 'mips-sde-elf-'
|
||||
CC = PREFIX + 'gcc'
|
||||
AS = PREFIX + 'gcc'
|
||||
|
Loading…
x
Reference in New Issue
Block a user