Poring FreeRTOS on Silabs WGM160P

I am porting the amazon FreeRTOS on the Silabs WGM160P wireless kit. I am validating the FreeRTOS kernel port with sample example. I am facing the the issue with prvPortStartFirstTask() of port.c file (ARM_CM4F) and getting the hard fault (default_handler called).
image

Can you please guide me, what could be the missing component here?

Thanks,
Darshak

We resolved this issue. We were missing to configure the below handler in FreeRTOSConfig.h. Its required to configure for the Cortex-M4F platform.

#define vPortSVCHandler SVC_Handler
#define xPortPendSVHandler PendSV_Handler
#define xPortSysTickHandler SysTick_Handler

Thanks

My favorite kind of support request :smile:

1 Like