Dear RTOS Hello,
I am getting started with FreeRTOS on stm32F429 board,
I download the FreeRTOS and, I integrated it into an example from ST respo. I am not using the CubeMx.
The first time I run the FreeRTOS with one static task, it works well.
I am trying to add the timer 5 interrupt and yiel from interrupt. The execution code stop in vPortRaiseBASEPRI function.
I am activating the configASSERT in the FreeRTOSConfig but my program still not working!
void TIM5_IRQHandler(void)
{
HAL_TIM_IRQHandler(&TIM_InitStruct);
#if 1
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xSemaphoreGiveFromISR(xSemaphore, &xHigherPriorityTaskWoken);
//xHigherPriorityTaskWoken = xTaskResumeFromISR(LED_TaskRed);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
//portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
#else
BSP_LED_Toggle(LED4);
#endif
}
When I use the interrupt directly, I could see my LEDs blinking.
This is the stack calling function :
I have one more question please, does I have to use any UART interface to make ASSERT methods and API work?
Thank you in advance,
S.Tarik.