esp32[s2|s3]: Add number of IRQ status lists for PHY initialization configuration

The current default number of IRQ state lists for PHY initialization is 3 (i.e. NR_IRQSTATE_FLAGS).
When calling in a nested manner, the number of times the concurrent behavior enters the critical section exceeds 3, which will trigger an assert crash.
Therefore, the size of NR_IRQSTATE_FLAGS needs to be increased, this PR makes NR_IRQSTATE_FLAGS configurable.
Please refer to the changes of esp-hal-3rdparty: 5d4868f08b

Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
This commit is contained in:
chenwen@espressif.com 2025-02-24 15:30:29 +08:00 committed by Alin Jerpelea
parent cfd359141f
commit b60b54b476
4 changed files with 10 additions and 3 deletions

View file

@ -748,6 +748,13 @@ config ESPRESSIF_WIFI_WLAN_BUFFER_OPTIMIZATION
endmenu # ESPRESSIF_WIFI
config ESP_PHY_IRQSTATE_FLAGS_NUMBER
int "Number of IRQ status lists for PHY initialization"
default 3
---help---
The number of IRQ status lists to be saved when PHY enter a critical state multiple times
at the same time during initialization.
menu "BLE Configuration"
depends on ESPRESSIF_BLE

View file

@ -228,7 +228,7 @@ endif
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
ifndef ESP_HAL_3RDPARTY_VERSION
ESP_HAL_3RDPARTY_VERSION = e5cef265cca9d272c428d210453d574bcc25c5f4
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
endif
ifndef ESP_HAL_3RDPARTY_URL

View file

@ -147,7 +147,7 @@ endif
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
ifndef ESP_HAL_3RDPARTY_VERSION
ESP_HAL_3RDPARTY_VERSION = 2388ce5663ad4ffe7aecc8ad8b73851e9f0dcc9b
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
endif
ifndef ESP_HAL_3RDPARTY_URL

View file

@ -225,7 +225,7 @@ endif
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
ifndef ESP_HAL_3RDPARTY_VERSION
ESP_HAL_3RDPARTY_VERSION = e5cef265cca9d272c428d210453d574bcc25c5f4
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
endif
ifndef ESP_HAL_3RDPARTY_URL