Hello E2E Forumites!
I am trying to use IQmath_fpu32.lib in my SYS/BIOS project. I have successfully included the "IQmathLib.h" header file. This allows me to use the _iq variable types. (I also verified that when I convert a float to a _iq24 number, the result is completely accurate.)
However, when I try to use the _IQtoF function in my code, I get a linker error.
Description Resource Path Location Type
#10010 errors encountered during linking; "PiccoloFPU.out" not built PiccoloFPU C/C++ Problem
Description Resource Path Location Type
unresolved symbol __IQ24toF, first referenced in ./CAN2main.obj PiccoloFPU C/C++ Problem
So, here's my question. How do I link this library to my SYS/BIOS project? I've tried a few things but they haven't worked. So instead of documenting them I'd like to just ask straight, how do you do this? The documentation that I've read so far does not tell me how to link this library with SYS/BIOS. Please let me know all the steps I need to follow.
Also, I'd like to support both float and _iq data types, so I want to set "--float_support=f32 switch". How do I do this?
Thank you,
Rick