I've encountered an unusual issue with CLA math. After enabling CLA math through Sysconfig, I began testing it with some IQ formulations. Initially, everything worked fine, as demonstrated in the screenshot:
However, the moment I added the line "flt_Pg = _IQtoF(_IQ(0.2));", an error appeared, indicating that "_IQ24toF is first referenced," as seen in the second screenshot.
I've been grappling with this problem for a week now and am at a loss about what could be wrong. Also, I've included the necessary .h, .lib, and .cmd files in my project. To clarify clearly, I re-imported an IQmath example (see attached fig below) from C2000ware which runs error-free. However, adding the line tempZ_flt = _IQtoF(_IQ(0.3)) triggers the previously mentioned error regarding _IQtoF, that it's first referenced. After incorporating the .lib file (see attached fig below) and recompiling, the error persisted. Modifying the .cmd file from 2838x_RAM_lnk_CProj_cpu1 to IQmath_2838x_fpu32 resolved the issue, albeit with a warning (see attached fig below). Given this, (1)why does this phenomenon happen? (2) how can I solve the remained warning, which is also relevant to the cmd setting? (3) how to integrate a complete IQmath into an existing project, mainly considering the need to adjust the original cmd file without replacing it with IQmath_2838x_fpu32?