Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hi, i am try to use CLAmath library V300 in F28035 in Assembly, but when y try to use any function like CLAsin y got the following error:
Description Resource Path Location Type
[E0300] The following symbols are undefined: ClaTasks.asm /prueba_librerias C/C++ Problem
I have already include the lib folder in CCS (here is the header file).
In the linker file i have:
MEMORY
{
...
L3DPSARAM : origin = 0x009000, length = 0x001000 /* L3 DPSARAM, CSM secure, CLA Prog RAM */
...
PAGE 1 : /* Data Memory */
...
L2DPSARAM : origin = 0x008C00, length = 0x000400 /* L2 DPSARAM, CSM secure, CLA Data RAM 1 */
}
SECTIONS
{
/*** Compiler Required Sections ***/
...
/*** User Defined Sections ***/
codestart : > BEGIN_M0, PAGE = 0 /* Used by file CodeStartBranch.asm */
Cla1Prog : > L3DPSARAM, PAGE = 0 /* Link to CLA Prog RAM */
ClaToCpuMsgRAM : > CLAMSGRAM1, PAGE = 1 /* Link to PF0 - CLA Message RAM */
CpuToClaMsgRAM : > CLAMSGRAM2, PAGE = 1 /* Link to PF0 - CLA Message RAM */
CLAmathTables : > L2DPSARAM, PAGE = 1
...
}
Following the examples in the folder i have
In the shared file i have #include "CLAmath_type0.h"
And in the asm file i have .include "CLAmathLib_type0.inc"
And i'm trying to use the functions as follows:
...
_CLA1Task1:
MSETFLG LUF=0,LVF=0,RNDF32=1
MMOVIZ MR0, #0.1
CLAsin MR1, MR0
What i'm doing wrong? There are any way to use CLAmath library in F28035 with Assembly code?
Thanks for your help.