Merge branch 'feat/basic_rng_support_h4' into 'master'

RNG support and refactor on ESP32-H4

Closes IDF-12265

See merge request espressif/esp-idf!45361
This commit is contained in:
Gao Xu
2026-05-27 11:14:38 +08:00
38 changed files with 561 additions and 316 deletions
@@ -1255,14 +1255,6 @@ config SOC_CRYPTO_DPA_PROTECTION_SUPPORTED
bool
default y
config SOC_RNG_BUF_CHAIN_ENTROPY_SOURCE
bool
default y
config SOC_RNG_RTC_TIMER_ENTROPY_SOURCE
bool
default y
config SOC_UART_NUM
int
default 3
@@ -512,10 +512,6 @@
/*------------------------ Anti DPA (Security) CAPS --------------------------*/
#define SOC_CRYPTO_DPA_PROTECTION_SUPPORTED 1
/*-------------------------- RNG CAPS ---------------------------------------*/
#define SOC_RNG_BUF_CHAIN_ENTROPY_SOURCE 1
#define SOC_RNG_RTC_TIMER_ENTROPY_SOURCE 1
/*-------------------------- UART CAPS ---------------------------------------*/
// ESP32-C5 has 3 UARTs (2 HP UART, and 1 LP UART)
#define SOC_UART_NUM (3)