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.
我的一位老师说在调试时应当配置定点库,而不能配置浮点库,因为此时FPU并不参与运算。我查阅了一些文档,没有找到相关的说法,但曾经观察过FPU的寄存器,似乎始终是0.我想获得确切的说法,调试时FPU是否参与运算,项目配置中应当配置浮点库吗,如果调试时不能使用浮点库,那么我如何确切的知道我实际运行时一段代码所需的运行时间。
调试时可以用浮点库,同时在ccs的编译选项中设置支持fpu32即可,具体设置参看fpu的使用指南。
那么FPU在调试时时可以工作的是吗?
调试时可以工作,可以用TI例程包中的fpu_hardware例程,用Assembly step into单步看