Semaphore Usage

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Semaphore Usage

1,258 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi, 

Looking in the FreeRTOS example from the S32K144 every time I tried to use a semaphore if it's one of the LPUART RTOS handler or one created in the code, every time I need to call for a takeSemaphore the code redirects to the API vPortRaiseBASEPRI, does anyone know the correct usage of semaphores or the reason why this function is being called? 

I use the Freertos example from SDK 3.0.2.

Best Regards,

Alexis Andalon

0 Kudos
1 Reply

1,156 Views
Alexis_A
NXP TechSupport
NXP TechSupport

I have figured about what was wrong about this error, this happens due to the lack of heap and stack of the task, so to avoid this increment the configMINIMAL_STACK_SIZE and the Total heap size

pastedImage_1.png

Best Regards,

Alexis Andalon

0 Kudos