mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d37fa7e244
esp_cpu_compare_and_set() abstracts the atomic compare-and-set instruction by hiding the details of whether the target variable is in internal or external RAM. This commit updates "spinlocks.h" as follows: - esp_cpu_compare_and_set() is now called instead of "compare_set.h" - Refactored spinlock logic to be more optimized and have more stringent sanity checks
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.