From 37bb4c02572da574c6348608b7dad6b1a1a10143 Mon Sep 17 00:00:00 2001 From: Edward Kigwana Date: Mon, 23 Jun 2025 16:30:51 +0000 Subject: [PATCH] [simple_system] Add CSR to architecture extensions Simple system uses CSR's and thus this is required. Signed-off-by: Edward Kigwana --- examples/sw/simple_system/common/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/sw/simple_system/common/common.mk b/examples/sw/simple_system/common/common.mk index 9c4946e6d7..6a416f7332 100644 --- a/examples/sw/simple_system/common/common.mk +++ b/examples/sw/simple_system/common/common.mk @@ -8,7 +8,8 @@ COMMON_SRCS = $(wildcard $(COMMON_DIR)/*.c) INCS := -I$(COMMON_DIR) # ARCH = rv32im # to disable compressed instructions -ARCH ?= rv32imc +# ARCH ?= rv32imc # to disable control and status register access instructions +ARCH ?= rv32imc_zicsr ifdef PROGRAM PROGRAM_C := $(PROGRAM).c