mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
85cb079838
In c4bcf111, soc_memory_types.h header was moved from soc to esp_hw_support. Since some of the functions are also used in bootloader and because esp_hw_support is not part of the bootloader build, part of the functions were moved into bootloader_support. To make these functions available to the app, bootloader_support was added as a public dependency of esp_hw_support. Since esp_hw_support is in common requirements list, this has added bootloader_support as a public requirement to every component in the build. Adding new public requirements outside of common components is undesirable, since components may accidentally include headers from bootloader_support without explicitly declaring it as a requirement. This commit reverts this addition. Until a better solution is found, some part of esp_memory_utils.h is duplicated into bootloader_memory_utils.h. A CI check is added to make sure these files stay in sync.
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.