Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: espressif: fix nested critical sections calls #87568

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sylvioalves
Copy link
Collaborator

This updates hal_espressif to fix nested critical sections calls.
This also moves regi2c sources into IRAM so that it prevents bootloader locks.

This fixes esp32c6 Wi-Fi issue when CONFIG_ASSERT=y but also extend the improvement to all SoCs.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 24, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_espressif zephyrproject-rtos/hal_espressif@1892bfe zephyrproject-rtos/hal_espressif@c33e522 (zephyr) zephyrproject-rtos/hal_espressif@1892bfe6..c33e5221

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_espressif DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Mar 24, 2025
This prevents boot lock up due to critical sections
calls during bootloader stage.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
@sylvioalves sylvioalves force-pushed the bugifx/irq_nested branch 2 times, most recently from f5d099f to a05e9af Compare March 25, 2025 14:27
Updates common locking mechanism used in internal HAL calls,
mainly targetting Wi-Fi/BLE and REGI2C calls. This improves/fixes
scenarios of nested critical sections calls.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
@sylvioalves sylvioalves marked this pull request as ready for review March 26, 2025 21:14
@github-actions github-actions bot added the platform: ESP32 Espressif ESP32 label Mar 26, 2025
@github-actions github-actions bot requested a review from uLipe March 26, 2025 21:14
@github-actions github-actions bot removed the DNM (manifest) This PR should not be merged (controlled by action-manifest) label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants