Loading...
 
Skip to main content

System Workbench for STM32


STM32F746G-DISCO and new project with firmware as library fails to build

I followed the instructions to create a new OpenSTM32 project, with the option to create the firmware (HAL) as a library project.

If I select to add STemWin as an "Additional driver" the newly created library (/stm32f746g-disco_hal_lib) project will not build. Creating a new project without STemWin option builds correctly.

Things I've tried:

  • 1st build error is caused because it tries to build the Simulation\WinMain ... I excluded this from the build, which takes me to the next error:
  • Next error fails to build Middlewares/ST/STemWin/OS/GUI_X_OS.o, which is kinda obvious, because FreeRTOS support is not in this library project, but is included in the default generated application project.


Has anybody tried this? Am I missing something obvious?