i am using mpc5777c in power management. As i have developed non freertos code.
As per requirement we need to develop freertos. i reused the freertos files in example code given in s32ds IDE.
after integration the code is going to IVOR_8 exception which i system calls instruction.
I am getting no idea whether there is a problem in memory allocation or the freertos files with any systemcalls.
In portasm.s file
.func vPortStartFirstTask, vPortStartFirstTask
portUPDATE_SYSTEM_STACK_POINTER # Init pxSystemStackPointer
portPOP_TASK # pxCurrentTCB should already point to the highest priority task
mbar # Ensure MPU config writes complete before switching context
portCLEAR_INTERRUPT_PRIORITY_CEILING # Set current priority to 0
se_rfi in this part code is going to IVOR_8.
Also vPortISRHandler function:
se_blrl # Branch to ISR with return to next instruction (epilogue)
is also causing issue.
can anyone help me regarding this issue for system calls.