diff --git a/components/bootloader_support/src/bootloader_random_esp32s31.c b/components/bootloader_support/src/bootloader_random_esp32s31.c new file mode 100644 index 00000000000..eeffed49284 --- /dev/null +++ b/components/bootloader_support/src/bootloader_random_esp32s31.c @@ -0,0 +1,14 @@ +/* + * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ +#include "sdkconfig.h" +#include "bootloader_random.h" +void bootloader_random_enable(void) +{ +} + +void bootloader_random_disable(void) +{ +} diff --git a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in index 47973ee3cb2..2ce30195c1f 100644 --- a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in @@ -235,6 +235,10 @@ config SOC_TOUCH_SENSOR_SUPPORTED bool default y +config SOC_RNG_SUPPORTED + bool + default y + config SOC_PPA_SUPPORTED bool default y diff --git a/components/soc/esp32s31/include/soc/soc_caps.h b/components/soc/esp32s31/include/soc/soc_caps.h index 904eca6fa1b..0e5aae457e8 100644 --- a/components/soc/esp32s31/include/soc/soc_caps.h +++ b/components/soc/esp32s31/include/soc/soc_caps.h @@ -96,7 +96,7 @@ #define SOC_SPI_FLASH_SUPPORTED 1 // TODO: [ESP32S31] IDF-14777 #define SOC_SPI_FLASH_HAS_DEDICATED_LDO 1 #define SOC_TOUCH_SENSOR_SUPPORTED 1 -// #define SOC_RNG_SUPPORTED 1 // TODO: [ESP32S31] IDF-14632 +#define SOC_RNG_SUPPORTED 1 #define SOC_PPA_SUPPORTED 1 #define SOC_LIGHT_SLEEP_SUPPORTED 1 #define SOC_DEEP_SLEEP_SUPPORTED 1