Skip to content

Commit

Permalink
Change USBasp and bootloadHID bootloaders to lowercase (qmk#14354)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Sep 10, 2021
1 parent 7eea780 commit d5cb7de
Show file tree
Hide file tree
Showing 107 changed files with 156 additions and 158 deletions.
28 changes: 14 additions & 14 deletions bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
# Current options:
#
# AVR:
# halfkay PJRC Teensy
# caterina Pro Micro (Sparkfun/generic)
# atmel-dfu Atmel factory DFU
# lufa-dfu LUFA DFU
# qmk-dfu QMK DFU (LUFA + blinkenlight)
# qmk-hid QMK HID (LUFA + blinkenlight)
# bootloadHID HIDBootFlash compatible (ATmega32A)
# USBasp USBaspLoader (ATmega328P)
# halfkay PJRC Teensy
# caterina Pro Micro (Sparkfun/generic)
# atmel-dfu Atmel factory DFU
# lufa-dfu LUFA DFU
# qmk-dfu QMK DFU (LUFA + blinkenlight)
# qmk-hid QMK HID (LUFA + blinkenlight)
# bootloadhid HIDBootFlash compatible (ATmega32A)
# usbasploader USBaspLoader (ATmega328P)
# ARM:
# kiibohd Input:Club Kiibohd bootloader (only used on their boards)
# stm32duino STM32Duino (STM32F103x8)
# stm32-dfu STM32 USB DFU in ROM
# apm32-dfu APM32 USB DFU in ROM
# kiibohd Input:Club Kiibohd bootloader (only used on their boards)
# stm32duino STM32Duino (STM32F103x8)
# stm32-dfu STM32 USB DFU in ROM
# apm32-dfu APM32 USB DFU in ROM
#
# BOOTLOADER_SIZE can still be defined manually, but it's recommended
# you add any possible configuration to this list
Expand Down Expand Up @@ -86,11 +86,11 @@ ifeq ($(strip $(BOOTLOADER)), caterina)
OPT_DEFS += -DBOOTLOADER_CATERINA
BOOTLOADER_SIZE = 4096
endif
ifeq ($(strip $(BOOTLOADER)), bootloadHID)
ifneq (,$(filter $(BOOTLOADER), bootloadhid bootloadHID))
OPT_DEFS += -DBOOTLOADER_BOOTLOADHID
BOOTLOADER_SIZE = 4096
endif
ifeq ($(strip $(BOOTLOADER)), USBasp)
ifneq (,$(filter $(BOOTLOADER), usbasploader USBasp))
OPT_DEFS += -DBOOTLOADER_USBASP
BOOTLOADER_SIZE = 4096
endif
Expand Down
2 changes: 1 addition & 1 deletion data/schemas/keyboard.jsonschema
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"bootloader": {
"type": "string",
"enum": ["atmel-dfu", "bootloadHID", "caterina", "halfkay", "kiibohd", "lufa-dfu", "lufa-ms", "micronucleus", "qmk-dfu", "qmk-hid", "stm32-dfu", "stm32duino", "unknown", "USBasp", "tinyuf2"],
"enum": ["atmel-dfu", "bootloadhid", "bootloadHID", "caterina", "halfkay", "kiibohd", "lufa-dfu", "lufa-ms", "micronucleus", "qmk-dfu", "qmk-hid", "stm32-dfu", "stm32duino", "unknown", "usbasploader", "USBasp", "tinyuf2"],
},
"bootloader_instructions": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion data/templates/ps2avrgb/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# Build Options
# change yes to no to disable
Expand Down
4 changes: 2 additions & 2 deletions docs/config_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ However, this will automatically disable the legacy TMK Macros and Functions fea
* `qmk-dfu`
* `halfkay`
* `caterina`
* `bootloadHID`
* `USBasp`
* `bootloadhid`
* `usbasploader`

## Feature Options :id=feature-options

Expand Down
56 changes: 28 additions & 28 deletions docs/driver_installation_zadig.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,31 +68,31 @@ This is a list of known bootloader devices and their USB vendor and product IDs,

The device name here is the name that appears in Zadig, and may not be what the Device Manager or QMK Toolbox displays.

|Bootloader |Device Name |VID/PID |Driver |
|-------------|------------------------------|--------------|-------|
|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |libusb0|
|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |libusb0|
|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |libusb0|
|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |libusb0|
|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |libusb0|
|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |libusb0|
|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|libusb0|
|`halfkay` |*none* |`16C0:0478` |HidUsb |
|`caterina` |Pro Micro 3.3V |`1B4F:9203` |usbser |
|`caterina` |Pro Micro 5V |`1B4F:9205` |usbser |
|`caterina` |LilyPadUSB |`1B4F:9207` |usbser |
|`caterina` |Pololu A-Star 32U4 Bootloader |`1FFB:0101` |usbser |
|`caterina` |Arduino Leonardo |`2341:0036` |usbser |
|`caterina` |Arduino Micro |`2341:0037` |usbser |
|`caterina` |Adafruit Feather 32u4 |`239A:000C` |usbser |
|`caterina` |Adafruit ItsyBitsy 32u4 3V |`239A:000D` |usbser |
|`caterina` |Adafruit ItsyBitsy 32u4 5V |`239A:000E` |usbser |
|`caterina` |Arduino Leonardo |`2A03:0036` |usbser |
|`caterina` |Arduino Micro |`2A03:0037` |usbser |
|`bootloadHID`|HIDBoot |`16C0:05DF` |HidUsb |
|`USBasp` |USBasp |`16C0:05DC` |libusbK|
|`apm32-dfu` |APM32 DFU ISP Mode |`314B:0106` |WinUSB |
|`stm32-dfu` |STM32 BOOTLOADER |`0483:DF11` |WinUSB |
|`kiibohd` |Kiibohd DFU Bootloader |`1C11:B007` |WinUSB |
|`stm32duino` |Maple 003 |`1EAF:0003` |WinUSB |
|`qmk-hid` |(keyboard name) Bootloader |`03EB:2067` |HidUsb |
|Bootloader |Device Name |VID/PID |Driver |
|--------------|------------------------------|--------------|-------|
|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |libusb0|
|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |libusb0|
|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |libusb0|
|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |libusb0|
|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |libusb0|
|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |libusb0|
|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|libusb0|
|`halfkay` |*none* |`16C0:0478` |HidUsb |
|`caterina` |Pro Micro 3.3V |`1B4F:9203` |usbser |
|`caterina` |Pro Micro 5V |`1B4F:9205` |usbser |
|`caterina` |LilyPadUSB |`1B4F:9207` |usbser |
|`caterina` |Pololu A-Star 32U4 Bootloader |`1FFB:0101` |usbser |
|`caterina` |Arduino Leonardo |`2341:0036` |usbser |
|`caterina` |Arduino Micro |`2341:0037` |usbser |
|`caterina` |Adafruit Feather 32u4 |`239A:000C` |usbser |
|`caterina` |Adafruit ItsyBitsy 32u4 3V |`239A:000D` |usbser |
|`caterina` |Adafruit ItsyBitsy 32u4 5V |`239A:000E` |usbser |
|`caterina` |Arduino Leonardo |`2A03:0036` |usbser |
|`caterina` |Arduino Micro |`2A03:0037` |usbser |
|`bootloadhid` |HIDBoot |`16C0:05DF` |HidUsb |
|`usbasploader`|USBasp |`16C0:05DC` |libusbK|
|`apm32-dfu` |APM32 DFU ISP Mode |`314B:0106` |WinUSB |
|`stm32-dfu` |STM32 BOOTLOADER |`0483:DF11` |WinUSB |
|`kiibohd` |Kiibohd DFU Bootloader |`1C11:B007` |WinUSB |
|`stm32duino` |Maple 003 |`1EAF:0003` |WinUSB |
|`qmk-hid` |(keyboard name) Bootloader |`03EB:2067` |HidUsb |
6 changes: 3 additions & 3 deletions docs/flashing.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ To ensure compatibility with the USBasploader bootloader, make sure this block i

```make
# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader
```

Compatible flashers:
Expand All @@ -153,13 +153,13 @@ To ensure compatibility with the bootloadHID bootloader, make sure this block is

```make
# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid
```

Compatible flashers:

* [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI)
* [bootloadHID CLI](https://www.obdev.at/products/vusb/bootloadhid.html) / `:bootloadHID` target in QMK (recommended command line)
* [bootloadHID CLI](https://www.obdev.at/products/vusb/bootloadhid.html) / `:bootloadhid` target in QMK (recommended command line)
* [HIDBootFlash](http://vusb.wikidot.com/project:hidbootflash)

Flashing sequence:
Expand Down
4 changes: 2 additions & 2 deletions docs/flashing_bootloadhid.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ General flashing sequence:

?> Using the QMK installation script, detailed [here](newbs_getting_started.md), the required bootloadHID tools should be automatically installed.

To flash via the command line, use the target `:bootloadHID` by executing the following command:
To flash via the command line, use the target `:bootloadhid` by executing the following command:

make <keyboard>:<keymap>:bootloadHID
make <keyboard>:<keymap>:bootloadhid

## GUI Flashing

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started_make_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The full syntax of the `make` command is `<keyboard_folder>:<keymap>:<target>`,
The `<target>` means the following
* If no target is given, then it's the same as `all` below
* `all` compiles as many keyboard/revision/keymap combinations as specified. For example, `make planck/rev4:default` will generate a single .hex, while `make planck/rev4:all` will generate a hex for every keymap available to the planck.
* `flash`, `dfu`, `teensy`, `avrdude`, `dfu-util`, or `bootloadHID` compile and upload the firmware to the keyboard. If the compilation fails, then nothing will be uploaded. The programmer to use depends on the keyboard. For most keyboards it's `dfu`, but for ChibiOS keyboards you should use `dfu-util`, and `teensy` for standard Teensys. To find out which command you should use for your keyboard, check the keyboard specific readme.
* `flash`, `dfu`, `teensy`, `avrdude`, `dfu-util`, or `bootloadhid` compile and upload the firmware to the keyboard. If the compilation fails, then nothing will be uploaded. The programmer to use depends on the keyboard. For most keyboards it's `dfu`, but for ChibiOS keyboards you should use `dfu-util`, and `teensy` for standard Teensys. To find out which command you should use for your keyboard, check the keyboard specific readme.
Visit the [Flashing Firmware](flashing.md) guide for more details of the available bootloaders.
* **Note**: some operating systems need privileged access for these commands to work. This means that you may need to setup [`udev rules`](faq_build.md#linux-udev-rules) to access these without root access, or to run the command with root access (`sudo make planck/rev4:default:flash`).
* `clean`, cleans the build output folders to make sure that everything is built from scratch. Run this before normal compilation if you have some unexplainable problems.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/0xcb/static/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
4 changes: 2 additions & 2 deletions keyboards/7c8/framework/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes
Expand All @@ -19,4 +19,4 @@ AUDIO_ENABLE = no
FAUXCLICKY_ENABLE = no
LAYOUTS_HAS_RGB = no
ENCODER_ENABLE = yes
LEADER_ENABLE = yes
LEADER_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/amag23/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ares/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/axolstudio/helpo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/barleycorn/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/basketweave/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/bfake/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# build options
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
Expand Down
2 changes: 1 addition & 1 deletion keyboards/chidori/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/coseyfannitutti/discipad/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/coseyfannitutti/discipline/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/coseyfannitutti/mysterium/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/coseyfannitutti/romeo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/db/db63/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# build options
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dm9records/plaid/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dm9records/tartan/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/donutcables/budget96/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# build options
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
Expand Down
2 changes: 1 addition & 1 deletion keyboards/draytronics/daisy/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega328p

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/draytronics/scarlet/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ericrlau/numdiscipline/rev1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MCU = atmega32a
F_CPU = 16000000

# Bootloader selection
BOOTLOADER = USBasp
BOOTLOADER = usbasploader

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/eve/meteor/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# build options
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
Expand Down
2 changes: 1 addition & 1 deletion keyboards/exclusive/e6v2/le_bmc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/exclusive/e6v2/oe_bmc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = atmega32a

# Bootloader selection
BOOTLOADER = bootloadHID
BOOTLOADER = bootloadhid

# Build Options
# change yes to no to disable
Expand Down
Loading

0 comments on commit d5cb7de

Please sign in to comment.