Skip to content

Commit b60b54b

Browse files
cwespressifjerpelea
authored andcommitted
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: espressif/esp-hal-3rdparty@5d4868f Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
1 parent cfd3591 commit b60b54b

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

arch/xtensa/src/common/espressif/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,13 @@ config ESPRESSIF_WIFI_WLAN_BUFFER_OPTIMIZATION
748748

749749
endmenu # ESPRESSIF_WIFI
750750

751+
config ESP_PHY_IRQSTATE_FLAGS_NUMBER
752+
int "Number of IRQ status lists for PHY initialization"
753+
default 3
754+
---help---
755+
The number of IRQ status lists to be saved when PHY enter a critical state multiple times
756+
at the same time during initialization.
757+
751758
menu "BLE Configuration"
752759
depends on ESPRESSIF_BLE
753760

arch/xtensa/src/esp32/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ endif
228228

229229
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
230230
ifndef ESP_HAL_3RDPARTY_VERSION
231-
ESP_HAL_3RDPARTY_VERSION = e5cef265cca9d272c428d210453d574bcc25c5f4
231+
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
232232
endif
233233

234234
ifndef ESP_HAL_3RDPARTY_URL

arch/xtensa/src/esp32s2/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ endif
147147

148148
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
149149
ifndef ESP_HAL_3RDPARTY_VERSION
150-
ESP_HAL_3RDPARTY_VERSION = 2388ce5663ad4ffe7aecc8ad8b73851e9f0dcc9b
150+
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
151151
endif
152152

153153
ifndef ESP_HAL_3RDPARTY_URL

arch/xtensa/src/esp32s3/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ endif
225225

226226
ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
227227
ifndef ESP_HAL_3RDPARTY_VERSION
228-
ESP_HAL_3RDPARTY_VERSION = e5cef265cca9d272c428d210453d574bcc25c5f4
228+
ESP_HAL_3RDPARTY_VERSION = 5d4868f08b94efbe76383382f7a843c6cdeaf811
229229
endif
230230

231231
ifndef ESP_HAL_3RDPARTY_URL

0 commit comments

Comments
 (0)