2014-05-24 10:40 AM
The definition of __STM32F4xx_CMSIS_DEVICE_VERSION appears to be incorrect in the following STM32CubeF4 file:
STM32Cube_FW_F4_V1.1.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
It is defined as: (at line ♯ 107)
&sharpdefine __STM32F4xx_CMSIS_DEVICE_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\
|(__CMSIS_DEVICE_HAL_VERSION_SUB1 << 16)\ |(__CMSIS_DEVICE_HAL_VERSION_SUB2 << 8 )\ |(__CMSIS_DEVICE_HAL_VERSION_RC))
I think it should be: (based on lines 103 to 106)
&sharpdefine __STM32F4xx_CMSIS_DEVICE_VERSION ((__STM32F4xx_CMSIS_DEVICE_VERSION_MAIN << 24)\
|(__STM32F4xx_CMSIS_DEVICE_VERSION_SUB1 << 16)\ |(__STM32F4xx_CMSIS_DEVICE_VERSION_SUB2 << 8 )\ |(__STM32F4xx_CMSIS_DEVICE_VERSION_RC))#bug #cubef4 #stm32cubef4 #cmsis
2014-05-26 02:10 AM
Hi,
Thanks for the remark, the bug is already reported and will be fixed in the next release of the STM32Cube_FW_F4.With regards.