mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
56289013ba
This extends information provided in the project_description.json file. Newly added information can be used in the SBOM generating tool and also to improve hints regarding the the component dependency issues. Added fields version: This adds versioning to the project_description.json file, so it's easy to identify if it contains the required information. project_version: Can be used as a version for the resulting binary e.g. `hello_world.bin`. idf_path: This one is probably not necessary, but it allows tools to run even without esp-idf environment exported(e.g. export.sh). c_compiler: The `CMAKE_C_COMPILER` value with full path to the compiler binary. This can be used to get information about toolchain, which was used to build the project. common_component_reqs: List of common components as presented in cmake's __COMPONENT_REQUIRES_COMMON and set in tools/cmake/build.cmake:__build_init(). build_component_info: Detailed information about components used during build. It's a dictionary with the component name as a key and each component has a dictionary with detailed information. Following is an example for the efuse component. "efuse": { "alias": "idf::efuse", "target": "___idf_efuse", "prefix": "idf", "dir": "/home/fhrbata/work/esp-idf/components/efuse", "type": "LIBRARY", "lib": "__idf_efuse", "reqs": [], "priv_reqs": [ "bootloader_support", "soc", "spi_flash" ], "managed_reqs": [], "managed_priv_reqs": [], "file": "/home/fhrbata/work/blink/build/esp-idf/efuse/libefuse.a", "sources": [ "/home/fhrbata/work/esp-idf/components/efuse/esp32s3/esp_efuse_table.c", ... ], "include_dirs": [ "include", "esp32s3/include" ] } Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com> |
||
---|---|---|
.. | ||
scripts | ||
third_party | ||
build.cmake | ||
component_deps.dot.in | ||
component.cmake | ||
depgraph.cmake | ||
dfu.cmake | ||
git_submodules.cmake | ||
idf.cmake | ||
kconfig.cmake | ||
ldgen.cmake | ||
project_description.json.in | ||
project.cmake | ||
run_dfu_util.cmake | ||
run_size_tool.cmake | ||
targets.cmake | ||
tool_version_check.cmake | ||
toolchain-clang-esp32.cmake | ||
toolchain-clang-esp32c2.cmake | ||
toolchain-clang-esp32c3.cmake | ||
toolchain-clang-esp32c6.cmake | ||
toolchain-clang-esp32h2.cmake | ||
toolchain-clang-esp32s2.cmake | ||
toolchain-clang-esp32s3.cmake | ||
toolchain-esp32.cmake | ||
toolchain-esp32c2.cmake | ||
toolchain-esp32c3.cmake | ||
toolchain-esp32c6.cmake | ||
toolchain-esp32h2.cmake | ||
toolchain-esp32s2.cmake | ||
toolchain-esp32s3.cmake | ||
toolchain-linux.cmake | ||
uf2.cmake | ||
utilities.cmake | ||
version.cmake |