r((unsigned char*)"\r\n", io->stdOut);
?概要
FreeRTOS运行时统计是一个非常有用的功能:它显示每个任务使用了多少时间,包括其中断时间。我需要的只是设置一些FreeRTOS配置宏并设置周期性定时器中断。当然,这并不是免费提供额外的定时器中断以及该功能所需的RAM和FLASH,但如果需要,它可以很容易地关闭以供最终版本使用。
?链接
- GitHub上的示例项目:https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/FRDM-K64F/FRDM-K64F_SDK_FreeRTOS
- 使用FreeRTOS进行性能和运行时分析
- MCUXpresso IDE网页:http://www.nxp.com/mcuxpresso/ide
- MCUXpresso IDE社区:http://www.nxp.com/mcuxpresso/ide/forum
- 在Eclipse中更好的FreeRTOS调试
- McuOnEclipse库项目:https://github.com/ErichStyger/McuOnEclipseLibrary/tree/master/lib/FreeRTOS/Source
- ARM Cortex-M循环计数器:https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/
- 更好的FreeRTOS调试:https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/
- FreeRTOS RuntimeStats:https://www.freertos.org/rtos-run-time-stats.html
欢迎关注: