我今天使用官方的FREERTOS_DEMO程序, 在进行仿真的时候发现,程序会来回跳着执行,且运行到以下测试程序时,发现WHILE循环之运行一次就退出了,耗时400ns,在没有移植系统的时候是能运行65535次,耗时40ms左右。 请问下大家是为什么。
temp = 65535;
while(temp!=0)
{
temp--;
}
while(1);
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.