E:\Keil 5\Keil5\ARM\rtthread nano\3.0.3\src\idle.c(66): error: #147: declaration is incompatible with "rt_err_t rt_thread_idle_sethook(void (*)(void))" (declared at line 176 of "rt-thread\include\rtthread.h")
void rt_thread_idle_sethook(void (*hook)(void))
出现问题的原因是RTOS程序版本不同,在原工程已有RTOS的情况下又添加了库文件
解决方法:
取消图中选项。