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.

MSP430FR5969 编译时遇到问题 #1530-D: (ULP 5.1)



在CCS中,如果直接使用以下语句编译器不会产生警告或错误

__delay_cycles(400000);//延时

但是使用

__delay_cycles((long)(CPU_F*(double)x/1000000.0));

这个语句时就会出现错误。

"../main.c", line 9: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive

请问怎么把这段函数移到RAM中去呢?谢谢。