mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 00:50:24 +08:00
stm32/Makefile: Ignore uninitialised variable warning in H5 HAL SD code.
This warning appears when using an MCU like H562 that only has one SDMMC. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
657faee7e5
commit
b038d07011
@ -338,6 +338,10 @@ HAL_SRC_C += $(addprefix $(STM32LIB_HAL_BASE)/Src/stm32$(MCU_SERIES)xx_,\
|
|||||||
ll_sdmmc.c \
|
ll_sdmmc.c \
|
||||||
ll_fmc.c \
|
ll_fmc.c \
|
||||||
)
|
)
|
||||||
|
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),h5))
|
||||||
|
# HAL H5-1.0.0 has a bug with uninitialised variable in HAL_SD_ConfigWideBusOperation.
|
||||||
|
$(BUILD)/$(STM32LIB_HAL_BASE)/Src/stm32$(MCU_SERIES)xx_hal_sd.o: CFLAGS += -Wno-error=maybe-uninitialized
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),f4 f7 h7))
|
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),f4 f7 h7))
|
||||||
|
Loading…
Reference in New Issue
Block a user