void main_thread_entry(void parameter)
{
extern int main(void);
extern int Super$main(void);
/ RT-Thread components initialization */
rt_components_init();
//到了这个地方就无法往下执行,无法跳转到main函数
}
仿真发现一直是死在了
object.c当中的rt_object_init()函数的
for (node = information->object_list.next;
node != &(information->object_list);
node = node->next)
{
//死在了这个for循环中
}
ps:我是按照文档中心提供的stmcubemx在stm32f103上移植的,使用shell组件,每次复位的时候可以打印出来系统版本信息,但是main()线程进不去,求助,是什么原因呢,第一次使用rt_thread…..
更多回帖