diff options
| author | Jiaxun Yang <[email protected]> | 2019-12-07 01:04:25 +0800 |
|---|---|---|
| committer | Jiaxun Yang <[email protected]> | 2019-12-17 11:09:59 +0800 |
| commit | c236e8c5d56b579eb4a9d573f22590e0d858ae48 (patch) | |
| tree | 90026733f49375b77c7e65e4a832f6ca02f09958 /bsp/ls1cdev/rtconfig.py | |
| parent | 4584054e17e8143b3a09bd6cec63c6a8f2658d06 (diff) | |
[bsp] Adapt ls{1b,1c}dev to new mips common code
LS1C selfboot feature have been rewiritten, and we changed
bare boot base to 0x80000000 to better utilize memory.
Signed-off-by: Jiaxun Yang <[email protected]>
Diffstat (limited to 'bsp/ls1cdev/rtconfig.py')
| -rw-r--r-- | bsp/ls1cdev/rtconfig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/ls1cdev/rtconfig.py b/bsp/ls1cdev/rtconfig.py index 6420cc45bb..be5da5d30a 100644 --- a/bsp/ls1cdev/rtconfig.py +++ b/bsp/ls1cdev/rtconfig.py @@ -2,7 +2,7 @@ import os # CPU options ARCH='mips' -CPU ='loongson_1c' +CPU ='gs232' # toolchains options CROSS_TOOL = 'gcc' @@ -12,8 +12,8 @@ if os.getenv('RTT_CC'): if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' -# EXEC_PATH = "/opt/mips-2015.05/bin" - EXEC_PATH = r'D:\mgc\embedded\codebench\bin' + EXEC_PATH = "/opt/mips-2016.05/bin" +# EXEC_PATH = r'D:\mgc\embedded\codebench\bin' else: print('================ERROR===========================') print('Not support %s yet!' % CROSS_TOOL) @@ -41,7 +41,7 @@ READELF = PREFIX + 'readelf' DEVICE = ' -mips32 -msoft-float -mfp32' CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer' -AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp -DSYSTEM_STACK=0x80003fe8' +AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp' LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1c_ram.lds' CPATH = '' |
