Heap tracing (#1861)

* Update sdkconfig.esp32cam-dev-task-analysis.defaults

* Update defines.h

* Update platformio.ini

* Update main.cpp

* Update defines.h

* Update ClassFlowCNNGeneral.cpp

* Update platformio.ini
This commit is contained in:
Nicolas Liaudat
2023-01-18 22:57:11 +01:00
committed by GitHub
parent 0df54d1c5b
commit 17eb382b66
5 changed files with 83 additions and 2 deletions

View File

@@ -33,6 +33,17 @@
// server_tflite.cpp
//#define TASK_ANALYSIS_ON
//Memory leak tracing
//https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/heap_debug.html#heap-information
//need CONFIG_HEAP_TRACING_STANDALONE=y or #define CONFIG_HEAP_TRACING_STANDALONE
//all setup is predifined in [env:esp32cam-dev-task-analysis]
//#define HEAP_TRACING_MAIN_WIFI || HEAP_TRACING_MAIN_START //enable heap tracing per function in main.cpp
//all defines in [env:esp32cam-dev-task-analysis]
//#define HEAP_TRACING_MAIN_WIFI
//#define HEAP_TRACING_MAIN_START
//#define HEAP_TRACING_CLASS_FLOW_CNN_GENERAL_DO_ALING_AND_CUT
/* Uncomment this to keep the logfile open for appending.
* If commented out, the logfile gets opened/closed for each log measage (old behaviour) */
// ClassLogFile