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.

请问,cla支持函数调用吗



请问,cla支持函数调用吗?我试了一下,但调用不了,如果可以的话,那该如何配置

  • 如果你说的是CLA数学库,那是可以的,调用方法同其他库文件。

  • CCS6.0 可以,但函数必须在cla.c 中。

       CLAscratch       :
                         { *.obj(CLAscratch)
                         . += CLA_SCRATCHPAD_SIZE;
                         *.obj(CLAscratch_end) } > CLARAM1,
          PAGE = 1

       .scratchpad      : > CLARAM1,       PAGE = 1
       .bss_cla      : > CLARAM0,       PAGE = 1
       .const_cla     : > CLARAM0,       PAGE = 1