strange link error when trying to compile imported project from STM32CubeMX
Hi,
I don’t know if reinstall CubeMX will fix this problem. I doubt it, unless you reinstall an old version before 4.18.
But I had this problem was fixed by manually change the project settings.
Go to “project properties”→ “C/C++ build” → settings → “tool settings” → “MCU Gcc compiler” → “Preprocessor” → “Defined Symbols”
Chose weak and packed to edit them by manually add “” around.
Hope this help.
BBlue