mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a73dd07d12
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU, will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will result in a deadlock. This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU. |
||
---|---|---|
.. | ||
include | ||
port | ||
test | ||
adc_share_hw_ctrl.c | ||
clk_ctrl_os.c | ||
CMakeLists.txt | ||
cpu.c | ||
esp_async_memcpy.c | ||
esp_clk.c | ||
esp_memory_utils.c | ||
gdma.c | ||
hw_random.c | ||
intr_alloc.c | ||
Kconfig | ||
linker.lf | ||
mac_addr.c | ||
periph_ctrl.c | ||
README.md | ||
regi2c_ctrl.c | ||
rtc_module.c | ||
rtc_wdt.c | ||
sdkconfig.rename | ||
sdkconfig.rename.esp32 | ||
sdkconfig.rename.esp32c3 | ||
sdkconfig.rename.esp32h2 | ||
sdkconfig.rename.esp32s2 | ||
sdkconfig.rename.esp32s3 | ||
sleep_gpio.c | ||
sleep_mac_bb.c | ||
sleep_modes.c | ||
sleep_retention.c |
esp_hw_support
This component contains hardware-related operations for supporting the system. These operations
are one level above that of hal
in that these(1) use system services such as memory allocation, logging, scheduling
or (2) may be multi-step operations involving/affecting multiple parts of the SoC.
Implementations that don't fit other components cleanly, but are not worth creating a new component for (yet) may also be placed here as long as they don't pull dependencies other than the core system components.