Remove dfu-util arguments from mcu_selection (#13150)
parent
8d30209260
commit
e4a2cfd853
|
@ -136,10 +136,6 @@ ifneq ($(findstring STM32F042, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= no
|
USE_FPU ?= no
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F0
|
UF2_FAMILY ?= STM32F0
|
||||||
endif
|
endif
|
||||||
|
@ -172,10 +168,6 @@ ifneq ($(findstring STM32F072, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= no
|
USE_FPU ?= no
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F0
|
UF2_FAMILY ?= STM32F0
|
||||||
endif
|
endif
|
||||||
|
@ -208,10 +200,6 @@ ifneq ($(findstring STM32F103, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= no
|
USE_FPU ?= no
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F1
|
UF2_FAMILY ?= STM32F1
|
||||||
endif
|
endif
|
||||||
|
@ -244,10 +232,6 @@ ifneq ($(findstring STM32F303, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F3
|
UF2_FAMILY ?= STM32F3
|
||||||
endif
|
endif
|
||||||
|
@ -280,10 +264,6 @@ ifneq ($(findstring STM32F401, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F4
|
UF2_FAMILY ?= STM32F4
|
||||||
endif
|
endif
|
||||||
|
@ -321,10 +301,6 @@ ifneq ($(findstring STM32F411, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32F4
|
UF2_FAMILY ?= STM32F4
|
||||||
endif
|
endif
|
||||||
|
@ -357,10 +333,6 @@ ifneq ($(findstring STM32F446, $(MCU)),)
|
||||||
BOARD ?= GENERIC_STM32_F446XE
|
BOARD ?= GENERIC_STM32_F446XE
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring STM32G431, $(MCU)),)
|
ifneq ($(findstring STM32G431, $(MCU)),)
|
||||||
|
@ -391,10 +363,6 @@ ifneq ($(findstring STM32G431, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32G4
|
UF2_FAMILY ?= STM32G4
|
||||||
endif
|
endif
|
||||||
|
@ -427,10 +395,6 @@ ifneq ($(findstring STM32G474, $(MCU)),)
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32G4
|
UF2_FAMILY ?= STM32G4
|
||||||
endif
|
endif
|
||||||
|
@ -465,10 +429,6 @@ ifneq (,$(filter $(MCU),STM32L433 STM32L443))
|
||||||
|
|
||||||
USE_FPU ?= yes
|
USE_FPU ?= yes
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
|
||||||
DFU_ARGS ?= -d 0483:DF11 -a 0 -s 0x08000000:leave
|
|
||||||
DFU_SUFFIX_ARGS ?= -v 0483 -p DF11
|
|
||||||
|
|
||||||
# UF2 settings
|
# UF2 settings
|
||||||
UF2_FAMILY ?= STM32L4
|
UF2_FAMILY ?= STM32L4
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue