I am working on the Multi-Day workshop Lab 8.
I have not touched any of the example files, except I changed MATH_TYPE to FLOAT_MATH in IQmathLib.h
float y=0.0; y=sin(0.24); //I have tried _IQsin(_IQ(0.24)) also
I put this code in Main, and it builds .. and I set a breakpoint on y=sin(0.24); and when it breaks, and I try to step through, I get an error
Can't find a source file at "/tmp/TI_MKLIBr3xJF4/SRC/sin.c"
Locate the file or edit the source lookup path to include its location.
"${CG_TOOL_ROOT}/include"
"${PROJECT_ROOT}/../../IQmath/include"
"${PROJECT_ROOT}/../../F2806x_headers/include"
which includes the IQmathLib.h (which includes <math.h> since MATH_TYPE is set to FLOAT_MATH
under Linker, I have
IQmath.lib and "libc.a"
with paths
"${CG_TOOL_ROOT}/lib"
"${PROJECT_ROOT}/../../IQmath/lib"
"${CG_TOOL_ROOT}/include"
Everything is set up right for the Labs in the workshop, and the only thing I changed was MATH_TYPE in IQmathLib.h and tried to do a simple sine function in my main. Any ideas?