mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Merge pull request #9870 from mikeller/add_extended_custom_defaults_stm32f745
Moved custom defaults to dedicated block for STM32F745.
This commit is contained in:
commit
ad11592011
1 changed files with 7 additions and 4 deletions
|
@ -1,10 +1,6 @@
|
||||||
ifeq ($(TARGET), STM32F405)
|
ifeq ($(TARGET), STM32F405)
|
||||||
F405_TARGETS += $(TARGET)
|
F405_TARGETS += $(TARGET)
|
||||||
|
|
||||||
# Use a full block (16 kB) of flash for custom defaults - with 1 MB flash we have more than we know how to use anyway
|
|
||||||
|
|
||||||
CUSTOM_DEFAULTS_EXTENDED = yes
|
|
||||||
|
|
||||||
else
|
else
|
||||||
ifeq ($(TARGET), STM32F411)
|
ifeq ($(TARGET), STM32F411)
|
||||||
F411_TARGETS += $(TARGET)
|
F411_TARGETS += $(TARGET)
|
||||||
|
@ -20,6 +16,13 @@ endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET), $(filter $(TARGET), STM32F405 STM32F745))
|
||||||
|
# Use a full block (16 kB) of flash for custom defaults - with 1 MB flash we have more than we know how to use anyway
|
||||||
|
|
||||||
|
CUSTOM_DEFAULTS_EXTENDED = yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
FEATURES += VCP SDCARD_SPI SDCARD_SDIO ONBOARDFLASH
|
FEATURES += VCP SDCARD_SPI SDCARD_SDIO ONBOARDFLASH
|
||||||
|
|
||||||
TARGET_SRC = \
|
TARGET_SRC = \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue