1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

STM32H750 - Allow targets to override TARGET_FLASH.

This commit is contained in:
Dominic Clifton 2019-06-11 22:56:16 +02:00
parent aea8733e4f
commit 0c7b161c32

View file

@ -170,7 +170,11 @@ else ifeq ($(TARGET),$(filter $(TARGET),$(H750xB_TARGETS)))
DEVICE_FLAGS += -DSTM32H750xx
DEFAULT_LD_SCRIPT = $(LINKER_DIR)/stm32_flash_h750_128k.ld
STARTUP_SRC = startup_stm32h743xx.s
TARGET_FLASH := 128
DEFAULT_TARGET_FLASH := 128
ifeq ($(TARGET_FLASH),)
TARGET_FLASH := $(DEFAULT_TARGET_FLASH)
endif
ifeq ($(EXST),yes)
FIRMWARE_SIZE := 448