summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduhuanpeng <[email protected]>2020-04-03 20:33:33 +0800
committerDu Huanpeng <[email protected]>2020-04-10 15:07:42 +0800
commit7f04500a922f5cdac91637fa512511672f113895 (patch)
tree1ab332341288991fb4544ccdb84bd6e8a626b0c8
parentf295149f20e2c1f29c8321929d0e56721fe91ac2 (diff)
MIPS: ls1bdev: default instruction set MIPSr2
-mips32 will break the compilation if FPU enabled. Signed-off-by: duhuanpeng <[email protected]>
-rw-r--r--bsp/ls1bdev/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/ls1bdev/rtconfig.py b/bsp/ls1bdev/rtconfig.py
index 13605429c1..a2c78a926a 100644
--- a/bsp/ls1bdev/rtconfig.py
+++ b/bsp/ls1bdev/rtconfig.py
@@ -36,7 +36,7 @@ OBJDUMP = PREFIX + 'objdump'
OBJCPY = PREFIX + 'objcopy'
READELF = PREFIX + 'readelf'
-DEVICE = ' -mips32'
+DEVICE = ' -mips32r2'
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'
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'