Solved
STemWin library linking problem
Posted on May 16, 2018 at 16:49
Hello!
I am trying to integrate STemWin graphic library into my project for STM32F7 discovery board, and cannot compile/link it correctly.
After writing (copying) a simple hello world example and including all necessary files and paths- i get following errors:<path-to-toolchain>/arm-none-eabi/bin/ld:
error: <path-to-cubePackage>/Middlewares/ST/STemWin/Lib/libSTemWin540_CM7_GCC_ARGB.a(FComic24B_ASCII.o) uses VFP register arguments, <build-path>/firmware.elf does notReferiing to
it has something to do with compilation / linking flags and floating point unit. Since the library comes in prebuilt binary form, how can I know which compilation/linking flags to add to my program?Where should I look, to figure out how STemWin library (part of stm32cubeF7 package) is compiled?I am not using an OS, just stm32cube (HAL drivers / BSP). I 'didn't touch' the library, except adding 'lib-' prefix to the file for easier inclusion to my program.Thanks for help,Jur#stm32f7 #stemwin #stm32-cube #stemwin-stm32f746discovery #linking