diff options
| author | Ryan <fauxpark@gmail.com> | 2020-09-27 20:33:03 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-27 20:33:03 +1000 |
| commit | 70fce6564fe691912387d09344efa1d1ce5b949e (patch) | |
| tree | 42d9b87a3c1c2f22ca2722645c946a96bcad4795 /bootloader.mk | |
| parent | 28ff51175b6d45ce5a8dbfe7ed6e7a12df3bc8a8 (diff) | |
| download | qmk_firmware-70fce6564fe691912387d09344efa1d1ce5b949e.tar.gz qmk_firmware-70fce6564fe691912387d09344efa1d1ce5b949e.zip | |
Add logic for AT90USBxx7 where needed (#10203)
Diffstat (limited to 'bootloader.mk')
| -rw-r--r-- | bootloader.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bootloader.mk b/bootloader.mk index d5f803f89..a7e596e47 100644 --- a/bootloader.mk +++ b/bootloader.mk | |||
| @@ -35,30 +35,30 @@ | |||
| 35 | ifeq ($(strip $(BOOTLOADER)), atmel-dfu) | 35 | ifeq ($(strip $(BOOTLOADER)), atmel-dfu) |
| 36 | OPT_DEFS += -DBOOTLOADER_ATMEL_DFU | 36 | OPT_DEFS += -DBOOTLOADER_ATMEL_DFU |
| 37 | OPT_DEFS += -DBOOTLOADER_DFU | 37 | OPT_DEFS += -DBOOTLOADER_DFU |
| 38 | ifneq (,$(filter $(MCU), at90usb646 atmega16u2 atmega16u4 atmega32u2 atmega32u4)) | 38 | ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 atmega16u4 atmega32u4 at90usb646 at90usb647)) |
| 39 | BOOTLOADER_SIZE = 4096 | 39 | BOOTLOADER_SIZE = 4096 |
| 40 | endif | 40 | endif |
| 41 | ifeq ($(strip $(MCU)), at90usb1286) | 41 | ifneq (,$(filter $(MCU), at90usb1286 at90usb1287)) |
| 42 | BOOTLOADER_SIZE = 8192 | 42 | BOOTLOADER_SIZE = 8192 |
| 43 | endif | 43 | endif |
| 44 | endif | 44 | endif |
| 45 | ifeq ($(strip $(BOOTLOADER)), lufa-dfu) | 45 | ifeq ($(strip $(BOOTLOADER)), lufa-dfu) |
| 46 | OPT_DEFS += -DBOOTLOADER_LUFA_DFU | 46 | OPT_DEFS += -DBOOTLOADER_LUFA_DFU |
| 47 | OPT_DEFS += -DBOOTLOADER_DFU | 47 | OPT_DEFS += -DBOOTLOADER_DFU |
| 48 | ifneq (,$(filter $(MCU), at90usb646 atmega16u2 atmega16u4 atmega32u2 atmega32u4)) | 48 | ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 atmega16u4 atmega32u4 at90usb646 at90usb647)) |
| 49 | BOOTLOADER_SIZE = 4096 | 49 | BOOTLOADER_SIZE = 4096 |
| 50 | endif | 50 | endif |
| 51 | ifeq ($(strip $(MCU)), at90usb1286) | 51 | ifneq (,$(filter $(MCU), at90usb1286 at90usb1287)) |
| 52 | BOOTLOADER_SIZE = 8192 | 52 | BOOTLOADER_SIZE = 8192 |
| 53 | endif | 53 | endif |
| 54 | endif | 54 | endif |
| 55 | ifeq ($(strip $(BOOTLOADER)), qmk-dfu) | 55 | ifeq ($(strip $(BOOTLOADER)), qmk-dfu) |
| 56 | OPT_DEFS += -DBOOTLOADER_QMK_DFU | 56 | OPT_DEFS += -DBOOTLOADER_QMK_DFU |
| 57 | OPT_DEFS += -DBOOTLOADER_DFU | 57 | OPT_DEFS += -DBOOTLOADER_DFU |
| 58 | ifneq (,$(filter $(MCU), at90usb646 atmega16u2 atmega16u4 atmega32u2 atmega32u4)) | 58 | ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 atmega16u4 atmega32u4 at90usb646 at90usb647)) |
| 59 | BOOTLOADER_SIZE = 4096 | 59 | BOOTLOADER_SIZE = 4096 |
| 60 | endif | 60 | endif |
| 61 | ifeq ($(strip $(MCU)), at90usb1286) | 61 | ifneq (,$(filter $(MCU), at90usb1286 at90usb1287)) |
| 62 | BOOTLOADER_SIZE = 8192 | 62 | BOOTLOADER_SIZE = 8192 |
| 63 | endif | 63 | endif |
| 64 | endif | 64 | endif |
