blob: f82dd8a53e8a640c05c60824743ad49d2440dceb [file] [log] [blame]
# Commands will be run in CHIP project root.
cd "{root}"
# Generating esp32-m5stack-all-clusters-minimal-rpc-ipv6only
mkdir -p {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only
cp examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults
rm -f examples/all-clusters-minimal-app/esp32/sdkconfig
bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults'
bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh;
export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults
idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only reconfigure'
rm -f examples/all-clusters-minimal-app/esp32/sdkconfig
# Building esp32-m5stack-all-clusters-minimal-rpc-ipv6only
bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh;
export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults
idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only build'