STM32F407G-DISC1. The project template doesn't work with RTOS (STM32CubeMX 6.0 + lib 1.25).
Creating a template for the STM32F407G-DISC1 project in STM32CubeMX 6.0 (library 1.25). Adding FreeRTOS CMSIS-v1 to the project. Changing the size of the heap and stack to 0x2000/0x4000. Building a project for SW4STM32.
In the StartDefaultTask() task, I add HAL_GPIO_TogglePin(LD4_GPIO_Port, LD4_Pin) to the loop.
But the program always ends up in HardFault_Handler() after osKernelStart(). What am I doing wrong?
