esp-idf/tools
Frantisek Hrbata 03162bb276 tools: extend information in project_description.json
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>
2023-06-08 14:29:53 +02:00
..
ble
catch
ci compiler: replaced noreturn by __noreturn__ in header files 2023-05-18 12:49:40 +08:00
cmake tools: extend information in project_description.json 2023-06-08 14:29:53 +02:00
docker
esp_app_trace
esp_prov
gen_soc_caps_kconfig
idf_py_actions tools: fix hints processing in interactive mode 2023-05-17 10:56:39 +02:00
kconfig_new
ldgen
mass_mfg
mocks
requirements
templates/sample_component
test_apps Merge branch 'contrib/github_pr_11025_v5.1' into 'release/v5.1' 2023-05-15 16:02:54 +08:00
test_build_system esp32h4: remove esp32h4 target from ci 2023-04-26 18:53:12 +08:00
test_idf_py
test_idf_tools
test_mkdfu
test_mkuf2
unit-test-app Merge branch 'refactor/driver_ut_to_test_app_v5.1' into 'release/v5.1' 2023-05-18 16:18:26 +08:00
check_python_dependencies.py
check_term.py
detect_python.fish
detect_python.sh
eclipse-code-style.xml
format-minimal.sh
format.sh
gdb_panic_server.py esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
gen_esp_err_to_name.py
generate_debug_prefix_map.py
idf.py
idf_monitor.py
idf_size.py
idf_tools.py
install_util.py
mkdfu.py
mkuf2.py
python_version_checker.py
requirements.json
requirements_schema.json
set-submodules-to-github.sh
split_paths_by_spaces.py
tools.json tools: update OpenOCD version to v0.12.0-esp32-20230419 2023-05-10 13:15:19 +03:00
tools_schema.json