STMicroelectronics / STM32CubeL0

STM32Cube MCU Full Package for the STM32L0 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
103 stars 57 forks source link

Outdated CMSIS header #30

Closed LemonBoy closed 1 year ago

LemonBoy commented 1 year ago

The mpu_arm7.h header shipped with the current version of the L0 (and possibly other) SDK has a bug that prevents the correct initialization of the MPU in a way that's hard to notice. This commit shows that the problem with ARM_MPU_RASR_EX dropping important bits (it's missing the enable bit!) has been patched 5 years ago, I'd advise to backport this fix and/or update CMSIS as a whole.

HBOSTM commented 1 year ago

Hi @LemonBoy ,

A newer version of this library is available with several bugfixes here. Unfortunately, there is no plan in the near future to integrate any newer version of the library into this firmware. We will keep you informed, should there be any update in this plan. In the meanwhile, you can easily integrate that newer version into your project by yourself, as it is backward compatible. Please allow me to close this issue. Thank you for your comprehension and thank you for your report.

With regards,