arch/risc-v: Add ARCH_HAVE_RAMFUNCS to ESP32-C6 and ESP32-H2

Following the https://github.com/apache/nuttx/pull/14741, add the
`ARCH_HAVE_RAMFUNCS` config to ESP32-C6 and ESP32-H2 to suppress
the RWX memory region warning.

Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
This commit is contained in:
Tiago Medicci Serrano 2025-02-24 14:18:14 -03:00 committed by Alin Jerpelea
parent 98b9cc25ef
commit fcff16a0a8

View file

@ -149,6 +149,7 @@ config ARCH_CHIP_ESP32C6
select LIBC_ARCH_STRNLEN
select ESPRESSIF_SOC_RTC_MEM_SUPPORTED
select ARCH_CHIP_ESPRESSIF
select ARCH_HAVE_RAMFUNCS
---help---
Espressif ESP32-C6 (RV32IMAC).
@ -178,6 +179,7 @@ config ARCH_CHIP_ESP32H2
select ESPRESSIF_ESPTOOLPY_NO_STUB
select ESPRESSIF_SOC_RTC_MEM_SUPPORTED
select ARCH_CHIP_ESPRESSIF
select ARCH_HAVE_RAMFUNCS
---help---
Espressif ESP32-H2 (RV32IMC).