Hi I have been struggeling for a while now to get my current project for TMS570LS3137 to work with the SafeTI library. The project runs freeRTOS generated with HalCoGen.
I have downloaded and compiled the library for my MCU.
I have added include paths for the header files (.../safety_library/include and .../hal/include) furthermore I have added the SafeTILib_TMS570LS31_BE.lib to the linker.
I have included sl_api.h in my main file and when I try to run e.g:
SL_Init_R4Registers();
I get the following errors:
unresolved symbol StackModeABT, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
unresolved symbol StackModeFIQ, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
unresolved symbol StackModeIRQ, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
unresolved symbol StackModeSVC, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
unresolved symbol StackModeSYS, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
unresolved symbol StackModeUND, first referenced in SafeTILib_TMS570LS31_BE.lib<sl_asm_api.obj>
What can be the problem?
EDIT: SL_Set_nERROR() works fine though.