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.
請問我使用TI 的Library的SPLL_1PH_SOGI_run,
使用在CLA Task1編譯沒問題。
使用在CLA的Background Task的編譯會出現error,如下所示:
Description Resource Path Location Type
#99923 line 523: CLA does not permit function calls in background tasks. Inlining function unsuccessful. System_clatask.cla C/C++ Problem
都是在CLA下的程式,但編譯出來的結果不一樣,請問有這方面相關資料嗎?
註:
最佳化開啟了
cla-background_task也開啟了
你好,正如报错所说,是因为内联函数的问题。可以看一下这个帖子的说明:
e2e.ti.com/.../tms320f280049-how-to-call-functions-in-cla-background-loop
目前測試結果發現,使用SPLL_1PH_SOGI_run會讓編譯器產生錯誤。(暫時拿掉就正常了)
所以我可以解釋說,目前的Library不能使用CLA background裡面嗎?
如果是的話,現在有什麼workaround的方式嗎?
在下面的帖子有提到,最佳化需要開到o4,
從以往給我的印象都是建議不要開最佳化,不然怕執行的結果會有預期以外的結果。
這部份該如果是避免呢?
e2e.ti.com/.../tms320f280049-how-to-call-functions-in-cla-background-loop