Skip to content

Commit 8dcb8b2

Browse files
committed
[simple_system] Add CSR to architecture extensions
Simple system uses CSR's and thus this is required. Signed-off-by: Edward Kigwana <ekigwana@scires.com>
1 parent db07ab1 commit 8dcb8b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/sw/simple_system/common/common.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ COMMON_SRCS = $(wildcard $(COMMON_DIR)/*.c)
88
INCS := -I$(COMMON_DIR)
99

1010
# ARCH = rv32im # to disable compressed instructions
11-
ARCH ?= rv32imc
11+
# ARCH ?= rv32imc # to disable control and status register access instructions
12+
ARCH ?= rv32imc_zicsr
1213

1314
ifdef PROGRAM
1415
PROGRAM_C := $(PROGRAM).c

0 commit comments

Comments
 (0)