Closed Jiu-xiao closed 8 months ago
idf.py
tool works with IDF build system projects. If you are adding IDF to your CMake project as a library, idf.py tool is not going to be usable with such a project.
If your top-level project is a CMake project, you should do something along these lines:
# Configure the project
cmake -B build -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake -DTARGET=esp32 -GNinja
# Execute 'menuconfig' target
cmake -B build --target menuconfig
Fixed.
Answers checklist.
IDF version.
release/v5.1 bbd8d13f930705051afa883691bc8389eefc48a1
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Generate the "project_description. json" file in the build folder
What is the actual behavior?
“project_description. json" is located in the build/bootloader directory
Steps to reproduce.
Build or installation Logs.
More Information.
“project_description. json" is located in the ./build/bootloader directory, not ./build
53 directories, 75 files