AnsweredAssumed Answered

CubeMX4.8 - Bug Report : multiple preprocessor symbols definition regarding device name

Question asked by dufay.basile on Jun 8, 2015
Latest reply on Jun 24, 2015 by dufay.basile
Dear all,

I've notice an ennoying bug in new version of CubeMX when generating project for MDKARMv5 based on STM32L152RBT6 MCU :
The generated project define both "STM32L152xB" and "STM32L152xBA" preprocessor symbols in the toolchain configuration. This induces re-definition conflict in the file "stm32l1xx_hal_flash_ex.h" wich totally mess-up the project when cimpiling.

Removing STM32L152xBA in symbols list solve the problem, but must be done each time you update the project from CubeMX.

I've not noticed this problem with previous version of CubeMX (last used version was 4.5).

Thank you for fixing this issue as soon as possible.