stm32/Makefile: Include HAL HSEM driver on H747 MCUs.

This commit is contained in:
iabdalkader 2023-02-18 11:47:38 +01:00 committed by Damien George
parent cc645b65a9
commit 449be91e1a
1 changed files with 4 additions and 0 deletions

View File

@ -450,6 +450,10 @@ HAL_SRC_C += $(addprefix $(STM32LIB_HAL_BASE)/Src/Legacy/stm32$(MCU_SERIES)xx_,
$(BUILD)/$(STM32LIB_HAL_BASE)/Src/Legacy/stm32$(MCU_SERIES)xx_hal_can.o: CFLAGS += -Wno-error=cpp
endif
ifeq ($(CMSIS_MCU),$(filter $(CMSIS_MCU),STM32H747xx))
HAL_SRC_C += $(addprefix $(STM32LIB_HAL_BASE)/Src/stm32$(MCU_SERIES)xx_, hal_hsem.c)
endif
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),f0 f4 f7 g0 l0))
HAL_SRC_C += $(addprefix $(STM32LIB_HAL_BASE)/Src/stm32$(MCU_SERIES)xx_,\
hal_i2s.c \