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.
编译通过没错误,但仿真时在Expression窗口看不到局部变量的值,显示
unknown Error: identifier not found: measured
提示没有定义?你把优化级别调到最低看看
1.关掉编译器的优化选项,设置为不优化
2.在定义局部变量的函数中设置断点,程序运行到断点就可以看到了。
怎么设置优化选项啊
这个不就是么。
将变量改为全局变量,另外需要设置断点停下来,方能查看其值。
这样的话,太不方面了。准备将TM4C的开发环境换为MDK了。