带有freertos的代码在STM32F103C8T6上无法运行,但是如果不用freertos,单用while循环这种前后台系统就能正常运行,debug后代码追后卡死在if( xPortStartScheduler() != pdFALSE ) {
/* Should not reach here as if the scheduler is running the
function will not return. */
}
这个位置,翻译注释说的是如果系统正常运行,是不会运行到这个位置的,具体没有什么信息可以判断出有什么具体错误,希望各位前辈提点一下,谢谢!