summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdkconfig.common6
-rw-r--r--src/app_console/app_console.cpp5
2 files changed, 6 insertions, 5 deletions
diff --git a/sdkconfig.common b/sdkconfig.common
index 42b66b53..18a01fc2 100644
--- a/sdkconfig.common
+++ b/sdkconfig.common
@@ -75,13 +75,9 @@ CONFIG_FATFS_VOLUME_COUNT=1
CONFIG_FATFS_LFN_HEAP=y
CONFIG_FATFS_API_ENCODING_UTF_8=y
CONFIG_FATFS_USE_FASTSEEK=y
-CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
-CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y
-CONFIG_HEAP_POISONING_COMPREHENSIVE=y
-CONFIG_HEAP_TRACING_STANDALONE=y
-CONFIG_HEAP_TRACING_STACK_DEPTH=5
+CONFIG_HEAP_POISONING_LIGHT=y
CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS=y
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y
# CONFIG_MQTT_PROTOCOL_311 is not set
diff --git a/src/app_console/app_console.cpp b/src/app_console/app_console.cpp
index 67cf57d7..6573ee49 100644
--- a/src/app_console/app_console.cpp
+++ b/src/app_console/app_console.cpp
@@ -336,6 +336,7 @@ void RegisterDbDump() {
esp_console_cmd_register(&cmd);
}
+#if CONFIG_APPTRACE_ENABLE
int CmdTasks(int argc, char** argv) {
if (!configUSE_TRACE_FACILITY) {
std::cout << "configUSE_TRACE_FACILITY must be enabled" << std::endl;
@@ -445,6 +446,7 @@ void RegisterTasks() {
.argtable = NULL};
esp_console_cmd_register(&cmd);
}
+#endif
int CmdHeaps(int argc, char** argv) {
static const std::pmr::string usage = "usage: heaps";
@@ -636,7 +638,10 @@ auto AppConsole::RegisterExtraComponents() -> void {
RegisterDbTracks();
RegisterDbIndex();
RegisterDbDump();
+#if CONFIG_APPTRACE_ENABLE
RegisterTasks();
+#endif
+
RegisterHeaps();
#if CONFIG_HEAP_TRACING