Loading...
 
Skip to main content

System Workbench for STM32


strange link error when trying to compile imported project from STM32CubeMX

Hi,
I had this same problem. CubeMX won't to add ' or " on Linux, after update, for parameters __weak and __packed in .cproject file. It should be:

__weak='__attribute__((weak))'

__packed='__attribute__((__packed__))'


Could you tell me, how did you re-install CubeMX? I did it, but still is this same :/ I think, that is there some old config files, but I have no idea, where to find it. I had just remove folders .stm32cubemx and .stm32cubeMX.
Thanks,
Paweł