~ruther/qmk_firmware

e4a2cfd85304d7088039c8480347d5525e96e0c2 — Ryan 4 years ago 8d30209
Remove dfu-util arguments from mcu_selection (#13150)

1 files changed, 0 insertions(+), 40 deletions(-)

M quantum/mcu_selection.mk
M quantum/mcu_selection.mk => quantum/mcu_selection.mk +0 -40
@@ 136,10 136,6 @@ ifneq ($(findstring STM32F042, $(MCU)),)

  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_FAMILY ?= STM32F0
endif


@@ 172,10 168,6 @@ ifneq ($(findstring STM32F072, $(MCU)),)

  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_FAMILY ?= STM32F0
endif


@@ 208,10 200,6 @@ ifneq ($(findstring STM32F103, $(MCU)),)

  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_FAMILY ?= STM32F1
endif


@@ 244,10 232,6 @@ ifneq ($(findstring STM32F303, $(MCU)),)

  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_FAMILY ?= STM32F3
endif


@@ 280,10 264,6 @@ ifneq ($(findstring STM32F401, $(MCU)),)

  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_FAMILY ?= STM32F4
endif


@@ 321,10 301,6 @@ ifneq ($(findstring STM32F411, $(MCU)),)

  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_FAMILY ?= STM32F4
endif


@@ 357,10 333,6 @@ ifneq ($(findstring STM32F446, $(MCU)),)
  BOARD ?= GENERIC_STM32_F446XE

  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

ifneq ($(findstring STM32G431, $(MCU)),)


@@ 391,10 363,6 @@ ifneq ($(findstring STM32G431, $(MCU)),)

  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_FAMILY ?= STM32G4
endif


@@ 427,10 395,6 @@ ifneq ($(findstring STM32G474, $(MCU)),)

  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_FAMILY ?= STM32G4
endif


@@ 465,10 429,6 @@ ifneq (,$(filter $(MCU),STM32L433 STM32L443))

  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_FAMILY ?= STM32L4
endif