使用 vTaskList() 前需配置中使能:
make menuconfig -> Component config -> FreeRTOS -> Enable FreeRTOS trace facility
make menuconfig -> Component config -> FreeRTOS -> Enable FreeRTOS trace facility -> Enable FreeRTOS stats formatting functions
通过上面配置,等同于使能 FreeRTOSConfig.h 中如下两个宏:
configUSE_TRACE_FACILITY 和 configUSE_STATS_FORMATTING_FUNCTIONS
在使用vTaskList()函数之前,需要在FreeRTOS的配置中启用TraceFacility和StatsFormattingFunctions。这可以通过Componentconfig菜单进行设置,具体操作包括使能configUSE_TRACE_FACILITY和configUSE_STATS_FORMATTING_FUNCTIONS两个宏,以实现FreeRTOS系统的调试和性能监控。
319

被折叠的 条评论
为什么被折叠?



