STM32F407VETx - LED blink without freeRTOS - but as soon as i activate it nothing happens
Hello together,
even this is freeRTOS related, i hope this is the correct place for my problem.
I have the following Board with an STM32F407VET:

I started from a github repo with a working configuration:
https://github.com/art103/JZ-F407VET6
I removed everything I don't need in my .ioc file, created the code and added the following files to the while()-loop in the main function:
HAL_GPIO_TogglePin(GPIOE, LED1_Pin);
HAL_Delay(500);
HAL_GPIO_TogglePin(GPIOE, LED2_Pin);
HAL_Delay(500);
HAL_GPIO_TogglePin(GPIOE, LED3_Pin);
HAL_Delay(500);
and I can see that the LEDs are changing, so I expect the basic setup is correct.
But as soon as I add freeRTOS to my project, create the code again and add the following code to my only task:
for(;;)
{
osDelay(100);
HAL_GPIO_TogglePin(GPIOE, LED1_Pin);
osDelay(100);
HAL_GPIO_TogglePin(GPIOE, LED2_Pin);
osDelay(100);
HAL_GPIO_TogglePin(GPIOE, LED3_Pin);
osDelay(100);
}
nothing happend, it looks like this Task is never started at all.
I use CMSIS_V2 interface for freeRTOS, changed the USE_NEWLIB_REENTRANT to true and switched under "SYS" the Timebase Source to TIM6.
I use STM32CubeIDE with Version: 1.15.1.
It would be really great if someone could give me a tip as to what I'm doing wrong
