STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 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
897 stars 424 forks source link

PWR_CSR_EWUP3_Msk in stm32f412vx.h is (1 << PWR_CSR_EWUP1_Pos) #151

Closed lkolbly closed 11 months ago

lkolbly commented 1 year ago

Caution The Issues are strictly limited for the reporting of problem encountered with the software provided in this project. For any other problem related to the STM32 product, the performance, the hardware characteristics and boards, the tools the environment in general, please post a topic in the ST Community/STM32 MCUs forum.

Describe the set-up In the STM32F412Vx CMSIS header file.

Describe the bug

PWR_CSR_EWUP3_Msk in stm32f412vx.h is (1 << PWR_CSR_EWUP1_Pos), when I think it should be (1 << PWR_CSR_EWUP3_Pos) (note the 1 changing to a 3). PWR_CSR_EWUP3_Pos is defined but is not used anywhere else

Link to the file (Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412vx.h): https://github.com/STMicroelectronics/STM32CubeF4/blob/master/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f412vx.h around line 8950 (at least, on the commit I'm using, which is slightly older.)

How To Reproduce

Look at the source code.

Additional context I think it's just a typo somewhere, not sure if this code gets auto-generated or anything.

Screenshots None

HBOSTM commented 1 year ago

Hello @lkolbly ,

This point has been reported to our development teams for deeper analysis. We will get back to you as soon as we have updates.

With Regards,

HBOSTM commented 1 year ago

ST Internal Reference: 144319

RJMSTM commented 1 year ago

Hello @lkolbly

Thank you again for having reported this point. It has been fixed in the frame of version 1.28.0 of this firmware.

With regards,