如何将math.h中的函数放入RAM中运行
rts2800_fpu32.lib
本人直接在包含math.h的文件中加入
#pragma CODE_SECTION(sqrt, "ramfuncs");
不起作用
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.
pragma CODE_SECTION(XXX, "ramfuncs");只在函数所在文件内声明才能起效,在其他文件中声明是无效的。
你需要在CMD 文件中去分配rts2800_fpu32.lib的函数到RAM里面运行。