Skip to content

Commit 7f04500

Browse files
uselessboardDu Huanpeng
authored andcommitted
MIPS: ls1bdev: default instruction set MIPSr2
-mips32 will break the compilation if FPU enabled. Signed-off-by: duhuanpeng <[email protected]>
1 parent f295149 commit 7f04500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/ls1bdev/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
OBJCPY = PREFIX + 'objcopy'
3737
READELF = PREFIX + 'readelf'
3838

39-
DEVICE = ' -mips32'
39+
DEVICE = ' -mips32r2'
4040
CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
4141
AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp'
4242
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'

0 commit comments

Comments
 (0)