From 5cc570960e54f08bdb792020e7889f8baa5f158c Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Thu, 14 Aug 2025 09:57:10 +0200 Subject: [PATCH] feat(cmakev2/test): generate project_description.json Some idf.py commands, such as menuconfig, use build_target and call ensure_build_directory, which requires the project_description.json file to be generated. To enable the use of idf.py commands with the testing example, call __generate_project_info() to generate the project_description.json file. This allows you to execute idf.py menuconfig. Signed-off-by: Frantisek Hrbata --- tools/cmakev2/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cmakev2/test/CMakeLists.txt b/tools/cmakev2/test/CMakeLists.txt index c8a62ab3e44..5509fc6aecc 100644 --- a/tools/cmakev2/test/CMakeLists.txt +++ b/tools/cmakev2/test/CMakeLists.txt @@ -212,5 +212,6 @@ test_kconfig() test_project_properties() test_include_component() __dump_all_properties() +__generate_project_info() message("ALL TESTS PASSED")