Esp32 sys info (#1829)

* Add files via upload

* Update defines.h

* Update main.cpp
This commit is contained in:
Nicolas Liaudat
2023-01-14 10:14:24 +01:00
committed by GitHub
parent ec8de6287f
commit adfe2d57d6
6 changed files with 337 additions and 4 deletions

View File

@@ -6,10 +6,20 @@
//// Global definitions ////
/////////////////////////////////////////////
//********* debug options : *************
//can be set in platformio with -D OPTION_TO_ACTIVATE
//#define DEBUG_DETAIL_ON
//#define DEBUG_DISABLE_BROWNOUT_DETECTOR
//#define DEBUG_ENABLE_SYSINFO
//#define DEBUG_ENABLE_PERFMON
/* Uncomment this to generate task list with stack sizes using the /heap handler
PLEASE BE AWARE: The following CONFIG parameters have to to be set in
sdkconfig.defaults before use of this function is possible!!
CONFIG_FREERTOS_USE_TRACE_FACILITY=1
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
@@ -17,14 +27,13 @@
// server_tflite.cpp
//#define TASK_ANALYSIS_ON
// ######## debug options :
//#define DISABLE_BROWNOUT_DETECTOR
/* Uncomment this to keep the logfile open for appending.
* If commented out, the logfile gets opened/closed for each log measage (old behaviour) */
// ClassLogFile
//#define KEEP_LOGFILE_OPEN_FOR_APPENDING
//****************************************
//compiler optimization for tflite-micro-esp-examples
#define XTENSA
//#define CONFIG_IDF_TARGET_ARCH_XTENSA //not needed with platformio/espressif32 @ 5.2.0