I am trying to integrate the SCST library into our existing project.
The project is designed to run on a custom board with the S32K144 controller.
The project is built using GHS Compiler for ARM v2017.5.4.
When I execute the core self tests using the m4_scst_execute_core_tests() function, the function returns with M4_SCST_WRONG_RANGE. After executing a few lines of code following the m4_scst_execute_core_tests() function call I get a hard fault.
I was able to execute the scst example code on our custom board without issue. I get the above results only after integrating with our existing project.
Please let me know how to debug this issue.