cancel
Showing results for 
Search instead for 
Did you mean: 

Freertos Event link error

Wiser1201
Associate II

I started to getting this error from touchgfx after I added an Event throught CubeMX. As you can see from the messages, this is exactly what the errors are about.

Compiling Core/Src/main.c
Linking TouchGFX/build/bin/target.elf
TouchGFX/build/STM32F429IDISCO/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o: In function `osEventFlagsNew':
d:\ST\Projects\GameSnake/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c:1135: undefined reference to `xEventGroupCreateStatic'
d:\ST\Projects\GameSnake/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c:1141: undefined reference to `xEventGroupCreate'
collect2.exe: error: ld returned 1 exit status
gcc/Makefile:298: recipe for target 'TouchGFX/build/bin/target.elf' failed
make[2]: *** [TouchGFX/build/bin/target.elf] Error 1
gcc/Makefile:294: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
../gcc/Makefile:50: recipe for target 'all' failed
make: *** [all] Error 2
Failed

0 REPLIES 0