Checks the app, the build type and the full combination against app_config.yml; a combination the file
does not allow stops here, with the allowed ones listed.
If idf.py is not on the PATH, installs (when missing) and exports the ESP-IDF version from ~/esp
(manage_idf.sh).
Sets IDF_TARGET from metadata.target.
Reads the app's source file with get_app_info.py source_file <app>.
Runs idf.py -B <build folder> reconfigure with the CMake variables,
then idf.py build.
Writes size.txt (idf.py size), size.json when supported, size.info and size.meta into the build
folder.
./scripts/build_app.shgpio_testRelease# default ESP-IDF version for Release./scripts/build_app.shgpio_testDebugrelease/v5.4--clean# a specific version, from scratch./scripts/build_app.sh--project-path../fwgpio_testDebug# scripts outside the projectCLEAN=1USE_CCACHE=0./scripts/build_app.shgpio_testDebug# the same through the environment