AnsweredAssumed Answered

Bug CubeMX 4.17 STM32F303 after emigration

Question asked by tntbc on Oct 14, 2016
Latest reply on Nov 21, 2016 by ForumSTM32.ForumSTM3
i am using Cube MX 1.17 and the firmware package 1.6 on the STM32F303xC.

After emigration from the related CubeMX version to the new i am getting a syntax error by new compiling the code. The code phrase is in the created adc.c from CubeMX:

the error message is:
STM32PBoard/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h:651:57: error: expected expression before 'do'
 #define __HAL_DMA_REMAP_CHANNEL_ENABLE(__DMA_REMAP__)   do {assert_param(IS_DMA_REMAP((__DMA_REMAP__)))