Resolved! STM32CubeMX bad macro generation (bug)
Posted on December 24, 2016 at 15:15 I use STM32CubeMX v4.0. It generates MX_Device.h file for configuring CMSIS-Drivers. I found that there are some macroses use hyphen symbol, which is not allowed: /*-------------------------------- SYS ----...