Solved
STM32CubeMX 4.18.0 error in .cproject on OSX
Posted on December 11, 2016 at 23:47
Since the last update to CubeMX, new projects created for SW4STM32 on OSX are not compiling anymore. The project settings for C symbols are missing quotes:
__weak=__attribute__((weak))
instead of __weak='__attribute__((weak))'__packed=__attribute__((__packed__)) instead of __packed='__attribute__((__packed__))'
#stm32cubemx