STMicroelectronics / STM32CubeF7

STM32Cube MCU Full Package for the STM32F7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
320 stars 191 forks source link

core_cm7.h is out of date #118

Closed kevinpt closed 2 months ago

kevinpt commented 2 months ago

Describe the bug The code in core_cm7.h is missing macros that are in present in the STM32CubeH7 version of the file. This STM32F7 repo has V5.0.8 of the file from 2018. The STM32H7 version is V5.1.1 from 2019.

In particular, the older copy is missing the macros __SCB_DCACHE_LINE_SIZE and __SCB_ICACHE_LINE_SIZE. There may be more updates that should be carried over as well.

The header in Drivers/CMSIS/Include/core_cm7.h and should be updated with the newer version from another repository such as STM32CubeH7.

PhilippHaefele commented 2 months ago

I agree that the CMSIS (core) should be updated to a newer CMSIS version

TOUNSTM commented 2 months ago

ST Internal Reference: 81352

TOUNSTM commented 2 months ago

Hello,

The core_cm7.h file from v5.1.1 is part of the CMSIS Core v5.6.0, which is integrated into the STM32H7 series. However, for the STM32F7 series, we're currently using CMSIS Core v5.4.0_cm7 with the matching core_cm7.h file. Unfortunately, our development team has no plans to upgrade to the newer version of CMSIS at this time.

Please allow me to close this issue as "wontfix". Thank you for your understanding.

Best Regards,