summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTursiae <git@tursiae.org>2025-02-10 16:12:54 +1100
committerTursiae <git@tursiae.org>2025-02-10 16:12:54 +1100
commitdcd39a75e8b4be170e27eb2e7eb1b4f755ba32f2 (patch)
treef8a9efa7f86f69e5b16dcdb51925191ef4704609
parent0c2377726fc563285cdb68536af93b0777bfc3a4 (diff)
downloadtangara-fw-dcd39a75e8b4be170e27eb2e7eb1b4f755ba32f2.tar.gz
Also document the `idf.py menuconfig` approach.
-rw-r--r--src/tangara/app_console/app_console.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/tangara/app_console/app_console.cpp b/src/tangara/app_console/app_console.cpp
index 7aa7fccf..e4e42786 100644
--- a/src/tangara/app_console/app_console.cpp
+++ b/src/tangara/app_console/app_console.cpp
@@ -209,9 +209,12 @@ int CmdTasks(int argc, char** argv) {
#if (configUSE_TRACE_FACILITY == 0)
std::cout
<< "FreeRTOS is not configured to track task info." << std::endl
- << "Enable CONFIG_FREERTOS_USE_TRACE_FACILITY=y in " << std::endl
- << "sdkconfig.local, and also consider enabling " << std::endl
- << "CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y" << std::endl;
+ << "You can enable task tracing via sdkconfig.local, by" << std::endl
+ << "setting CONFIG_FREERTOS_USE_TRACE_FACILITY=y. Alternately," << std::endl
+ << "use idf.py menuconfig to enable Components / FreeRTOS /" << std::endl
+ << "Kernel / configUSE_TRACE_FACILITY to do the same." << std::endl
+ << "Also consider 'Enable display of xCoreID in vTaskList'," << std::endl
+ << "or CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y" << std::endl;
return 1;
#endif
@@ -252,7 +255,9 @@ int CmdTasks(int argc, char** argv) {
<< "statistics, and this means that detailed task" << std::endl
<< "information is not available." << std::endl
<< "Enable CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS" << std::endl
- << "in sdkconfig.local to capture these stats." << std::endl;
+ << "in sdkconfig.local to capture these stats, or" << std::endl
+ << "via idf.py menuconfig, in Components/FreeRTOS/" << std::endl
+ << "Kernel/configGENERATE_RUN_TIME_STATS." << std::endl;
}
std::vector<std::pair<uint32_t, std::pmr::string>> info_strings;