Skip to content

Commit

Permalink
Restrict tracing to light app, fix include paths in main, add ignore …
Browse files Browse the repository at this point in the history
…for authkey since that should not be checked in
  • Loading branch information
andy31415 committed Oct 3, 2023
1 parent 8f77435 commit df54cf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/lighting-app/esp32/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/build/
/sdkconfig
/sdkconfig.old
main/insights_auth_key.txt
2 changes: 1 addition & 1 deletion examples/lighting-app/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE
#include <esp_insights.h>
#include <matter/tracing/esp32_tracing.h>
#include <tracing/esp32_trace/esp32_tracing.h>
#include <tracing/registry.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion scripts/build/build/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit df54cf1

Please sign in to comment.