mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 04:04:18 +08:00
risc-v/bl602: Fix boot issue caused by atomic instructions.
Since the bl602 do not support the atomic extention, we should compile it with `-march=rv32imfc`, or it will fail to boot when executing the `lr.w` instruction. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
fd4d93e928
commit
b2fc959e40
@@ -55,7 +55,6 @@ config ARCH_CHIP_BL602
|
||||
bool "BouffaloLab BL602"
|
||||
select ARCH_RV32
|
||||
select ARCH_RV_ISA_M
|
||||
select ARCH_RV_ISA_A
|
||||
select ARCH_RV_ISA_C
|
||||
select ARCH_HAVE_FPU
|
||||
select ARCH_HAVE_RESET
|
||||
|
||||
Reference in New Issue
Block a user