I encountered a link error when integrating C7X safertos. It cannot find the LoadP related functions. I found that the LoadP_safertos.c file was not added to the C7X in the makefile. Why is it not added? How should I solve it?
I encountered a link error when integrating C7X safertos. It cannot find the LoadP related functions. I found that the LoadP_safertos.c file was not added to the C7X in the makefile. Why is it not added? How should I solve it?
Load modules are not yet supported in safertos for c7x,
it is only supported for r5f, so these LoadP related files are not included for c7x.
The SafeRTOSConfig.h file in the C7X safertos package provided by WITTENSTEIN defines configINCLUDE_RUNTIMESTATS:
#define configINCLUDE_RUNTIMESTATS ( 1 )
This causes the loadP API, which is not supported by C7X, to be called when compiling the pdk_j721s2_11_00_00_21/packages/ti/osal/src/safertos/TaskP_SafeRTOS.c file, and resulting in compilation and linking errors.
They think this is purely a TI PDK configuration problem. How to resolve this problem?