mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
esp32[s2|s3]: Add number of IRQ status lists for PHY initialization configuration
Build Documentation / build-html (push) Waiting to run
Build Documentation / build-html (push) Waiting to run
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: https://github.com/espressif/esp-hal-3rdparty/commit/5d4868f08b94efbe76383382f7a843c6cdeaf811 Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
cfd359141f
commit
b60b54b476
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user