Question
STM32CubeMX code generation error
Posted on November 09, 2015 at 11:52
When generating MX_Device.h with CubeMX for a STM32F407 device, the following pin names are illegal, because there is minus sign in the name:
/* Pin PA13 */&sharpdefine MX_SYS_JTMS-SWDIO_Pin PA13/* Pin PA14 */&sharpdefine MX_SYS_JTCK-SWCLK_Pin PA14/* Pin PB3 */&sharpdefine MX_SYS_JTDO-SWO_Pin PB3Please update the STM32F4xx_DPF to correct this issue.
(For your information: In the SoftPack for the STM32F7xxx_DFP this error is already corrected.) #stm32cube-bug-mx_device.h