mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
The global flash targets are created using __create_project_flash_targets, but these are merely placeholders that allow components to declare their dependencies on the global flash or encrypted-flash target in their project_include.cmake. The actual logic for flash targets is located in the project_include.cmake of the esptool_py component. Therefore, the targets must be initialized after this file has been included. To address this, a new function, __init_project_flash_targets, has been added for this purpose. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>