Also document the `idf.py menuconfig` approach.

custom
Tursiae 2 months ago
parent 0c2377726f
commit dcd39a75e8
  1. 13
      src/tangara/app_console/app_console.cpp

@ -209,9 +209,12 @@ int CmdTasks(int argc, char** argv) {
#if (configUSE_TRACE_FACILITY == 0) #if (configUSE_TRACE_FACILITY == 0)
std::cout std::cout
<< "FreeRTOS is not configured to track task info." << std::endl << "FreeRTOS is not configured to track task info." << std::endl
<< "Enable CONFIG_FREERTOS_USE_TRACE_FACILITY=y in " << std::endl << "You can enable task tracing via sdkconfig.local, by" << std::endl
<< "sdkconfig.local, and also consider enabling " << std::endl << "setting CONFIG_FREERTOS_USE_TRACE_FACILITY=y. Alternately," << std::endl
<< "CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y" << 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; return 1;
#endif #endif
@ -252,7 +255,9 @@ int CmdTasks(int argc, char** argv) {
<< "statistics, and this means that detailed task" << std::endl << "statistics, and this means that detailed task" << std::endl
<< "information is not available." << std::endl << "information is not available." << std::endl
<< "Enable CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS" << 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; std::vector<std::pair<uint32_t, std::pmr::string>> info_strings;

Loading…
Cancel
Save