|
|
@ -77,7 +77,7 @@ CFLAGS_CORTEX_M = -mthumb |
|
|
|
# Select hardware floating-point support
|
|
|
|
SUPPORTS_HARDWARE_FP_SINGLE = 0 |
|
|
|
SUPPORTS_HARDWARE_FP_DOUBLE = 0 |
|
|
|
ifeq ($(CMSIS_MCU),$(filter $(CMSIS_MCU),STM32F765xx STM32F767xx STM32F769xx STM32H743xx)) |
|
|
|
ifeq ($(CMSIS_MCU),$(filter $(CMSIS_MCU),STM32F765xx STM32F767xx STM32F769xx STM32H743xx STM32H750xx)) |
|
|
|
CFLAGS_CORTEX_M += -mfpu=fpv5-d16 -mfloat-abi=hard |
|
|
|
SUPPORTS_HARDWARE_FP_SINGLE = 1 |
|
|
|
SUPPORTS_HARDWARE_FP_DOUBLE = 1 |
|
|
@ -424,7 +424,7 @@ HAL_SRC_C += $(addprefix $(HAL_DIR)/Src/stm32$(MCU_SERIES)xx_,\ |
|
|
|
) |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(CMSIS_MCU),$(filter $(CMSIS_MCU),STM32H743xx)) |
|
|
|
ifeq ($(CMSIS_MCU),$(filter $(CMSIS_MCU),STM32H743xx STM32H750xx)) |
|
|
|
HAL_SRC_C += $(addprefix $(HAL_DIR)/Src/stm32$(MCU_SERIES)xx_, hal_fdcan.c) |
|
|
|
else |
|
|
|
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),f0 f4 f7 h7 l4)) |
|
|
|