danieleff / STM32GENERIC

Generic implementation of Arduino for STM32 boards
https://danieleff.github.io/STM32GENERIC/
116 stars 88 forks source link

Allow library integration, adding missing compiler.libraries.ldflags #82

Closed marcel-licence closed 2 years ago

marcel-licence commented 2 years ago

compiler.libraries.ldflags was missing in the platform.txt. It is required to integrate libraries by the linking step.

In addition to that the .mcu setting of DISCOVERY_F407VG causes trouble. "-mfpu=fpv4-sp-d16 -mfloat-abi=hard" is shifted now to flags.fp.

marcel-licence commented 2 years ago

Unfortunately some additional change might be required to keep the FPU active