summaryrefslogtreecommitdiff
path: root/bsp/ls1cdev
diff options
context:
space:
mode:
author勤为本 <[email protected]>2017-07-24 11:27:50 +0800
committer勤为本 <[email protected]>2017-07-24 11:27:50 +0800
commitfa127c653143e1191adcbdd3efc0a45ef727e482 (patch)
tree92021e2754cd24112d939f7506aa8fcfab1ecf41 /bsp/ls1cdev
parent5734d52a08761b846a61bdd2f07d4f2d065e5061 (diff)
在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
使用龙芯官方推出的那个用于编译linux的交叉编译工具链来编译RT-Thread会报错, 可以使用RT-Thread官方推荐那个
Diffstat (limited to 'bsp/ls1cdev')
-rw-r--r--bsp/ls1cdev/rtconfig.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsp/ls1cdev/rtconfig.py b/bsp/ls1cdev/rtconfig.py
index c8da0ea477..df0f57d78d 100644
--- a/bsp/ls1cdev/rtconfig.py
+++ b/bsp/ls1cdev/rtconfig.py
@@ -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'