diff --git a/examples/lighting-app/esp32/.gitignore b/examples/lighting-app/esp32/.gitignore index a90ab6f1e57d5a..601ff1b8e9e01e 100644 --- a/examples/lighting-app/esp32/.gitignore +++ b/examples/lighting-app/esp32/.gitignore @@ -1,3 +1,4 @@ /build/ /sdkconfig /sdkconfig.old +main/insights_auth_key.txt diff --git a/examples/lighting-app/esp32/main/main.cpp b/examples/lighting-app/esp32/main/main.cpp index a62b5b67b1ba00..280131263efa96 100644 --- a/examples/lighting-app/esp32/main/main.cpp +++ b/examples/lighting-app/esp32/main/main.cpp @@ -60,7 +60,7 @@ #if CONFIG_ENABLE_ESP_INSIGHTS_TRACE #include -#include +#include #include #endif diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 5c69dfbe2d79df..7fb187a279f075 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -206,7 +206,7 @@ def BuildEsp32Target(): target.AppendModifier('rpc', enable_rpcs=True) target.AppendModifier('ipv6only', enable_ipv4=False) - target.AppendModifier('tracing', enable_insights_trace=True) + target.AppendModifier('tracing', enable_insights_trace=True).OnlyIfRe("light") return target