Hello there,
I'm trying to use SYS/BIOS on the F28388D CM, together with the driverlib_cm library, but there seems to be a conflict.
When first building my application I got a linker error:
#10010 errors encountered during linking; "cm_app.out" not built cm_app C/C++ Problem <a href="file:/C:/ti/ccs1100/ccs/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain cm_app C/C++ Problem gmake: *** [all] Error 2 cm_app C/C++ Problem gmake[1]: *** [cm_app.out] Error 1 cm_app C/C++ Problem unresolved symbol vectorTableFlash, first referenced in ./device/cm.obj cm_app C/C++ Problem
Then I #define'd USE_RTOS so the vectorTableFlash section would not be defined in driverlib_cm/interrupt.c. But then I got compilation errors because vectorTableRAM and Interrupt_defaultHandler are still used in interrupt.h. And interrupt.h is always included in my driverlib_cm.h (which #include's all driverlib_cm *.h files).
#20 identifier "Interrupt_defaultHandler" is undefined interrupt.h /cm_app/device/driverlib_cm/driverlib_cm line 463 C/C++ Problem #20 identifier "vectorTableRAM" is undefined interrupt.h /cm_app/device/driverlib_cm/driverlib_cm line 463 C/C++ Problem
Would it be OK to simply not include "interrupt.h"? Or disable/remove the Interrupt_unregisterHandler() function from interrupt.h? In general, which driverlib_cm functions should I NOT use when using SYS/BIOS?
It seems to me I should be able to use SYS/BIOS and driverlib_cm together in a CM application, however it looks like some of the driverlib_cm code is still missing a "ifndef USE_RTOS" condition. Am I correct?
Another question:
When using SYS/BIOS, do I still need to perform this line in my initialization code, or is it taken care of by SYS/BIOS?
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
Thanks and kind regards,
Arjan