STMicroelectronics / stm32u5xx-hal-driver

Provides the STM32Cube MCU Component "hal_driver" of the STM32U5 series.
BSD 3-Clause "New" or "Revised" License
8 stars 11 forks source link

Warning unused parameter #1

Closed agentxcz closed 2 years ago

agentxcz commented 2 years ago

https://github.com/STMicroelectronics/stm32u5xx_hal_driver/blob/6a00c6e1cc756c9804b3044dcd4238f5612adff0/Src/stm32u5xx_hal_pwr.c#L834 and line 896 produces warning "unused parameter 'Item'" when extra warnings setting is enabled

if defined (ARM_FEATURE_CMSE) && (ARM_FEATURE_CMSE == 3U) is false

assert is empty

Also stm32u5xx_hal_rcc.c line 1552, 2007, 2064.

Env: STM32Cube IDE 1.8.0 U5 MCU package ver 1.0.2

RKOUSTM commented 2 years ago

Hi @agentxcz,

Thank you for your report. An internal tracker has been logged and a fix will be implemented and made available in the frame of a future release.

Thank you again for you report.

With regards,

RKOUSTM commented 2 years ago

ST Internal Reference: 119943

RKOUSTM commented 2 years ago

Hi @agentxcz,

Hope you're fine. Just to inform you the fix has been published in the frame of STM32CubeFW U5 v1.1.0 release.

With regards,