| # 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 'echo -e "\nCONFIG_LWIP_IPV4=n\n" >>{out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults' |
| |
| bash -c 'echo -e "\nCONFIG_ESP_INSIGHTS_ENABLED=n\nCONFIG_ENABLE_ESP_INSIGHTS_TRACE=n\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' |