Update build.sh

Provide a way to enable menuconfig to  build custom configurations. Also can be enabled by default.
This commit is contained in:
Ramiro Ricoy 2021-06-13 18:13:05 -03:00 committed by GitHub
parent cd02fb6416
commit dbfc7b7ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,8 @@ for target in $TARGETS; do
# configure the build for the target
rm -rf build sdkconfig sdkconfig.old
cp "sdkconfig.$target" sdkconfig
# uncomment next line to access menuconfig
# idf.py menuconfig
# build and prepare libs
idf.py build
if [ $? -ne 0 ]; then exit 1; fi