AnsweredAssumed Answered

Lots of "unused parameter" warnings when compiling cube hal

Question asked by Joe on Dec 12, 2015
Latest reply on Jan 2, 2016 by Joe
Using cube hal in SW4STM32 with -Wall -Wextra give lots of warnings like:
STM32Cube_FW_F4_V1.9.0/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c: In function 'HAL_SPI_MspInit': 
STM32Cube_FW_F4_V1.9.0/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c:267:49: warning: unused parameter 'hspi' [-Wunused-parameter] 
__weak void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi)
Could you please fix that in the next version of cube hal?

Outcomes