Loading...
 
Skip to main content

System Workbench for STM32


STM32F4-Discovery - FreeRTOS project generation bug

Hi everyone,

I love the work you did with this IDE and I hope I can help with something.
I tried to create a new project for an STM32F4-Discovery with FreeRTOS and I was suprised that it worked like a charm. Except when I tried to run it, the program always went to Default Handler. (Newes version 1.6.0)
I found the bug, it was a typo in the generated FreeRTOSConfig.h file in line 168:

  1. define xPortSysTickHandler Systick_Handler

The correct definition would be:

  1. define xPortSysTickHandler SysTick_Handler

Notice the capital T in the SysTick.

ps: I didn't find any bug report site, so I posted it here.