From afc28935b27f3bc1a8554d492e4a606ba814bb9f Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Mon, 23 Jan 2023 08:47:28 -0300 Subject: [PATCH 1/2] soc: esp32c3: fix soc architecture definition Update ESP32-C3 architecture as IMC instead IMA. Although not documented, ESP32-S3 supports CSR instructions. It also needs to be enabled, otherwise build will fail. Fixes #53555 Signed-off-by: Sylvio Alves --- soc/riscv/esp32c3/Kconfig.soc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soc/riscv/esp32c3/Kconfig.soc b/soc/riscv/esp32c3/Kconfig.soc index 4ae82ab0eba0b..7464b1504f1f1 100644 --- a/soc/riscv/esp32c3/Kconfig.soc +++ b/soc/riscv/esp32c3/Kconfig.soc @@ -12,9 +12,8 @@ config SOC_ESP32C3 select HAS_ESPRESSIF_HAL select RISCV_ISA_RV32I select RISCV_ISA_EXT_M - select RISCV_ISA_EXT_A + select RISCV_ISA_EXT_C select RISCV_ISA_EXT_ZICSR - select RISCV_ISA_EXT_ZIFENCEI if SOC_ESP32C3 From 5ecdc21c0ab9e7af60ca8a9c41f257d2f3125de3 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Tue, 24 Jan 2023 10:52:21 -0300 Subject: [PATCH 2/2] soc: esp32c3: fix SPIRAM SD3 pin Fix spiram WP_SD3 pin reference as that should be checked from efuse values in case no customized number is set. Fixes #54005 Signed-off-by: Sylvio Alves --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 6c865dd36898c..5e7fa67b85d93 100644 --- a/west.yml +++ b/west.yml @@ -57,7 +57,7 @@ manifest: groups: - hal - name: hal_espressif - revision: a06af2476671160f19e813c86570a17541f3b07e + revision: 76f8d87d9938482ad73ee71b70323e6479e054a1 path: modules/hal/espressif west-commands: west/west-commands.yml groups: