esp32_nat_router icon indicating copy to clipboard operation
esp32_nat_router copied to clipboard

How to make a clean build

Open dherkes opened this issue 3 years ago • 2 comments

I have successfully built and flashed this software several times. I do have a stupid question: How do you make clean the files to build a fresh copy? Thanks

dherkes avatar Nov 21 '21 03:11 dherkes

Does this answer the question?

From https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html :

  • idf.py clean will “clean” the project by deleting build output files from the build directory, forcing a “full rebuild” the next time the project is built. Cleaning doesn’t delete CMake configuration output and some other files.

  • idf.py fullclean will delete the entire “build” directory contents. This includes all CMake configuration output. The next time the project is built, CMake will configure it from scratch. Note that this option recursively deletes all files in the build directory, so use with care. Project configuration is not deleted.

martin-ger avatar Nov 22 '21 07:11 martin-ger

On Sun, 21 Nov 2021 23:33:35 -0800 martin-ger @.***> wrote:

Does this answer the question?

From https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html :

  • idf.py clean will “clean” the project by deleting build output files from the build directory, forcing a “full rebuild” the next time the project is built. Cleaning doesn’t delete CMake configuration output and some other files.

  • idf.py fullclean will delete the entire “build” directory contents. This includes all CMake configuration output. The next time the project is built, CMake will configure it from scratch. Note that this option recursively deletes all files in the build directory, so use with care. Project configuration is not deleted.

It does. Thank you so much.

-- Daniel J. Herkes Jr. Sugar Grove, IL 60554

dherkes avatar Nov 22 '21 09:11 dherkes