mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
baa28b54a2
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 | ||
clk_ctrl_os.c | ||
CMakeLists.txt | ||
compare_set.c | ||
component.mk | ||
cpu_util.c | ||
esp_async_memcpy.c | ||
esp_clk.c | ||
hw_random.c | ||
intr_alloc.c | ||
Kconfig | ||
Kconfig.spiram.common | ||
linker.lf | ||
mac_addr.c | ||
Makefile.projbuild | ||
project_include.cmake | ||
README.md | ||
regi2c_ctrl.c | ||
sdkconfig.rename | ||
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.