2018-03-21 09:35 AM
Hi,
It came to attention that there is bug in stm32f7xx.h for CMSIS version.
__STM32F7_CMSIS_VERSION
using__STM32F7_CMSIS_VERSION.
It cause compilation error.
So existing code :
&sharpdefine __STM32F7_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
&sharpdefine __STM32F7_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */&sharpdefine __STM32F7_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */&sharpdefine __STM32F7_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */&sharpdefine__STM32F7_CMSIS_VERSION
((__STM32F7_CMSIS_VERSION_MAIN << 24)\ |(__STM32F7_CMSIS_VERSION_SUB1 << 16)\ |(__STM32F7_CMSIS_VERSION_SUB2 << 8 )\ |(__STM32F7_CMSIS_VERSION
))Should be :
&sharpdefine __STM32F7_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
&sharpdefine __STM32F7_CMSIS_VERSION_SUB1 (0x02) /*!< [23:16] sub1 version */&sharpdefine __STM32F7_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */&sharpdefine __STM32F7_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */&sharpdefine__STM32F7_CMSIS_VERSION
((__STM32F7_CMSIS_VERSION_MAIN << 24)\ |(__STM32F7_CMSIS_VERSION_SUB1 << 16)\ |(__STM32F7_CMSIS_VERSION_SUB2 << 8 )\ |(__STM32F7_CMSIS_VERSION_RC
))#bug #stm32cube_fw_f7_ #stm32f7xx.h #__stm32f7_cmsis_version2018-03-21 12:37 PM
Kind of circular, seems to have been there for a while, and also in the F4 trees too at a quick glance.
2018-03-22 03:56 AM
Hello,
Thanks for highlighting this bug.
We confirm this issue and raised it internally for fix.
Best Regards,
Imen