diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-09-21 15:06:32 +1000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-09-20 22:06:32 -0700 |
| commit | de4a47f1cc28c4ef66e7560eac2a50f717070ae2 (patch) | |
| tree | 541f612a0b7175f7f7b13311e1e28149a6142d4f /keyboards | |
| parent | beb4a12c9d06d30cc0f544ca52e618898fbb5302 (diff) | |
| download | qmk_firmware-de4a47f1cc28c4ef66e7560eac2a50f717070ae2.tar.gz qmk_firmware-de4a47f1cc28c4ef66e7560eac2a50f717070ae2.zip | |
Cleanup rules.mk for 32A and 328P keyboards (#6767)
Diffstat (limited to 'keyboards')
37 files changed, 268 insertions, 612 deletions
diff --git a/keyboards/ares/rules.mk b/keyboards/ares/rules.mk index cd8edc611..3ac90cf97 100644 --- a/keyboards/ares/rules.mk +++ b/keyboards/ares/rules.mk | |||
| @@ -15,18 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_SUSPEND_POWER_DOWN = yes | 20 | # Teensy halfkay |
| 22 | 21 | # Pro Micro caterina | |
| 23 | # processor frequency | 22 | # Atmel DFU atmel-dfu |
| 24 | F_CPU = 12000000 | 23 | # LUFA DFU lufa-dfu |
| 25 | 24 | # QMK DFU qmk-dfu | |
| 26 | # Bootloader | 25 | # ATmega32A bootloadHID |
| 27 | # This definition is optional, and if your keyboard supports multiple bootloaders of | 26 | # ATmega328P USBasp |
| 28 | # different sizes, comment this out, and the correct address will be loaded | ||
| 29 | # automatically (+60). See bootloader.mk for all options. | ||
| 30 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 31 | 28 | ||
| 32 | # build options | 29 | # build options |
| @@ -38,11 +35,7 @@ COMMAND_ENABLE = yes | |||
| 38 | BACKLIGHT_ENABLE = no | 35 | BACKLIGHT_ENABLE = no |
| 39 | RGBLIGHT_ENABLE = no | 36 | RGBLIGHT_ENABLE = no |
| 40 | RGBLIGHT_CUSTOM_DRIVER = yes | 37 | RGBLIGHT_CUSTOM_DRIVER = yes |
| 41 | NO_UART = yes | ||
| 42 | 38 | ||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | SRC += i2c_master.c | 41 | SRC += i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/bfake/rules.mk b/keyboards/bfake/rules.mk index 6577ea193..b5b3b852c 100644 --- a/keyboards/bfake/rules.mk +++ b/keyboards/bfake/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | CUSTOM_MATRIX = yes | 42 | CUSTOM_MATRIX = yes |
| 47 | SRC = matrix.c i2c.c | 43 | SRC = matrix.c i2c.c |
| 48 | |||
| 49 | # programming options | ||
| 50 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/canoe/rules.mk b/keyboards/canoe/rules.mk index 3d7bc0215..8cfc81056 100644 --- a/keyboards/canoe/rules.mk +++ b/keyboards/canoe/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | CUSTOM_MATRIX = yes | 42 | CUSTOM_MATRIX = yes |
| 47 | SRC = matrix.c i2c.c | 43 | SRC = matrix.c i2c.c |
| 48 | |||
| 49 | # programming options | ||
| 50 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/coseyfannitutti/discipline/rules.mk b/keyboards/coseyfannitutti/discipline/rules.mk index bc81342de..24b5969b7 100644 --- a/keyboards/coseyfannitutti/discipline/rules.mk +++ b/keyboards/coseyfannitutti/discipline/rules.mk | |||
| @@ -1,61 +1,19 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Processor frequency |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | 5 | F_CPU = 16000000 |
| 17 | 6 | ||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | # Bootloader selection | 7 | # Bootloader selection |
| 41 | # Teensy halfkay | 8 | # Teensy halfkay |
| 42 | # Pro Micro caterina | 9 | # Pro Micro caterina |
| 43 | # Atmel DFU atmel-dfu | 10 | # Atmel DFU atmel-dfu |
| 44 | # LUFA DFU lufa-dfu | 11 | # LUFA DFU lufa-dfu |
| 45 | # QMK DFU qmk-dfu | 12 | # QMK DFU qmk-dfu |
| 46 | # atmega32a bootloadHID | 13 | # ATmega32A bootloadHID |
| 47 | # | 14 | # ATmega328P USBasp |
| 48 | # This uses usbaspbootloader | ||
| 49 | BOOTLOADER = USBasp | 15 | BOOTLOADER = USBasp |
| 50 | 16 | ||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | |||
| 59 | # Flash program via avrdude, but default command is not suitable. | 17 | # Flash program via avrdude, but default command is not suitable. |
| 60 | # You can use plaid:default:program | 18 | # You can use plaid:default:program |
| 61 | PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex | 19 | PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex |
| @@ -84,8 +42,4 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 84 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 42 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 85 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 43 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 86 | 44 | ||
| 87 | # unsupported features for now | ||
| 88 | NO_UART = yes | ||
| 89 | NO_SUSPEND_POWER_DOWN = yes | ||
| 90 | |||
| 91 | LAYOUTS = 65_ansi | 45 | LAYOUTS = 65_ansi |
diff --git a/keyboards/donutcables/budget96/rules.mk b/keyboards/donutcables/budget96/rules.mk index 67697ac73..4f9e0e412 100644 --- a/keyboards/donutcables/budget96/rules.mk +++ b/keyboards/donutcables/budget96/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 44 | 40 | ||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | SRC = i2c_master.c | 42 | SRC = i2c_master.c |
| 47 | |||
| 48 | # programming options | ||
| 49 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/eve/meteor/rules.mk b/keyboards/eve/meteor/rules.mk index 10fc8cd03..e43baee5c 100644 --- a/keyboards/eve/meteor/rules.mk +++ b/keyboards/eve/meteor/rules.mk | |||
| @@ -16,10 +16,14 @@ | |||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | 18 | ||
| 19 | # Bootloader | 19 | # Bootloader selection |
| 20 | # This definition is optional, and if your keyboard supports multiple bootloaders of | 20 | # Teensy halfkay |
| 21 | # different sizes, comment this out, and the correct address will be loaded | 21 | # Pro Micro caterina |
| 22 | # automatically (+60). See bootloader.mk for all options. | 22 | # Atmel DFU atmel-dfu |
| 23 | # LUFA DFU lufa-dfu | ||
| 24 | # QMK DFU qmk-dfu | ||
| 25 | # ATmega32A bootloadHID | ||
| 26 | # ATmega328P USBasp | ||
| 23 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 24 | 28 | ||
| 25 | # build options | 29 | # build options |
diff --git a/keyboards/exclusive/e6v2/le_bmc/rules.mk b/keyboards/exclusive/e6v2/le_bmc/rules.mk index a9156adeb..13a5f1b89 100644 --- a/keyboards/exclusive/e6v2/le_bmc/rules.mk +++ b/keyboards/exclusive/e6v2/le_bmc/rules.mk | |||
| @@ -1,46 +1,5 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | |||
| 5 | NO_UART = yes | ||
| 6 | NO_SUSPEND_POWER_DOWN = yes | ||
| 7 | |||
| 8 | # Processor frequency. | ||
| 9 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 10 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 11 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 12 | # automatically to create a 32-bit value in your source code. | ||
| 13 | # | ||
| 14 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 15 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 16 | # does not *change* the processor frequency - it should merely be updated to | ||
| 17 | # reflect the processor speed set externally so that the code can use accurate | ||
| 18 | # software delays. | ||
| 19 | F_CPU = 12000000 | ||
| 20 | |||
| 21 | |||
| 22 | # | ||
| 23 | # LUFA specific | ||
| 24 | # | ||
| 25 | # Target architecture (see library "Board Types" documentation). | ||
| 26 | # ARCH = AVR8 | ||
| 27 | |||
| 28 | # Input clock frequency. | ||
| 29 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 30 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 31 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 32 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 33 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 34 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 35 | # source code. | ||
| 36 | # | ||
| 37 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 38 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 39 | # F_USB = $(F_CPU) | ||
| 40 | |||
| 41 | # Interrupt driven control endpoint task(+60) | ||
| 42 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||
| 43 | |||
| 44 | 3 | ||
| 45 | # Bootloader selection | 4 | # Bootloader selection |
| 46 | # Teensy halfkay | 5 | # Teensy halfkay |
| @@ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 48 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 49 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 50 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 51 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 52 | BOOTLOADER = bootloadHID | 12 | BOOTLOADER = bootloadHID |
| 53 | 13 | ||
| 54 | |||
| 55 | # If you don't know the bootloader type, then you can specify the | ||
| 56 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 57 | # Teensy halfKay 512 | ||
| 58 | # Teensy++ halfKay 1024 | ||
| 59 | # Atmel DFU loader 4096 | ||
| 60 | # LUFA bootloader 4096 | ||
| 61 | # USBaspLoader 2048 | ||
| 62 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 63 | |||
| 64 | |||
| 65 | # Build Options | 14 | # Build Options |
| 66 | # change yes to no to disable | 15 | # change yes to no to disable |
| 67 | # | 16 | # |
| @@ -84,6 +33,5 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 84 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 85 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 34 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 86 | 35 | ||
| 36 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||
| 87 | SRC += i2c_master.c | 37 | SRC += i2c_master.c |
| 88 | |||
| 89 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/exclusive/e6v2/oe_bmc/rules.mk b/keyboards/exclusive/e6v2/oe_bmc/rules.mk index a9156adeb..13a5f1b89 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/rules.mk +++ b/keyboards/exclusive/e6v2/oe_bmc/rules.mk | |||
| @@ -1,46 +1,5 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | |||
| 5 | NO_UART = yes | ||
| 6 | NO_SUSPEND_POWER_DOWN = yes | ||
| 7 | |||
| 8 | # Processor frequency. | ||
| 9 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 10 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 11 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 12 | # automatically to create a 32-bit value in your source code. | ||
| 13 | # | ||
| 14 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 15 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 16 | # does not *change* the processor frequency - it should merely be updated to | ||
| 17 | # reflect the processor speed set externally so that the code can use accurate | ||
| 18 | # software delays. | ||
| 19 | F_CPU = 12000000 | ||
| 20 | |||
| 21 | |||
| 22 | # | ||
| 23 | # LUFA specific | ||
| 24 | # | ||
| 25 | # Target architecture (see library "Board Types" documentation). | ||
| 26 | # ARCH = AVR8 | ||
| 27 | |||
| 28 | # Input clock frequency. | ||
| 29 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 30 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 31 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 32 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 33 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 34 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 35 | # source code. | ||
| 36 | # | ||
| 37 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 38 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 39 | # F_USB = $(F_CPU) | ||
| 40 | |||
| 41 | # Interrupt driven control endpoint task(+60) | ||
| 42 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||
| 43 | |||
| 44 | 3 | ||
| 45 | # Bootloader selection | 4 | # Bootloader selection |
| 46 | # Teensy halfkay | 5 | # Teensy halfkay |
| @@ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 48 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 49 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 50 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 51 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 52 | BOOTLOADER = bootloadHID | 12 | BOOTLOADER = bootloadHID |
| 53 | 13 | ||
| 54 | |||
| 55 | # If you don't know the bootloader type, then you can specify the | ||
| 56 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 57 | # Teensy halfKay 512 | ||
| 58 | # Teensy++ halfKay 1024 | ||
| 59 | # Atmel DFU loader 4096 | ||
| 60 | # LUFA bootloader 4096 | ||
| 61 | # USBaspLoader 2048 | ||
| 62 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 63 | |||
| 64 | |||
| 65 | # Build Options | 14 | # Build Options |
| 66 | # change yes to no to disable | 15 | # change yes to no to disable |
| 67 | # | 16 | # |
| @@ -84,6 +33,5 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 84 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 85 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 34 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 86 | 35 | ||
| 36 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||
| 87 | SRC += i2c_master.c | 37 | SRC += i2c_master.c |
| 88 | |||
| 89 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/facew/rules.mk b/keyboards/facew/rules.mk index b939b0fd2..c9942e369 100644 --- a/keyboards/facew/rules.mk +++ b/keyboards/facew/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | SRC = i2c_master.c | 42 | SRC = i2c_master.c |
| 47 | 43 | ||
| 48 | # programming options | ||
| 49 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 50 | |||
| 51 | LAYOUTS = 60_ansi | 44 | LAYOUTS = 60_ansi |
diff --git a/keyboards/ft/mars80/rules.mk b/keyboards/ft/mars80/rules.mk index 159307f8d..f1c79b196 100644 --- a/keyboards/ft/mars80/rules.mk +++ b/keyboards/ft/mars80/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 44 | 40 | ||
| 45 | SRC += i2c_master.c | 41 | SRC += i2c_master.c |
| 46 | 42 | ||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 49 | |||
| 50 | LAYOUTS = tkl_ansi tkl_iso | 43 | LAYOUTS = tkl_ansi tkl_iso |
diff --git a/keyboards/gingham/rules.mk b/keyboards/gingham/rules.mk index 9afbd0964..aa228c875 100644 --- a/keyboards/gingham/rules.mk +++ b/keyboards/gingham/rules.mk | |||
| @@ -10,9 +10,8 @@ MCU = atmega328p | |||
| 10 | # Atmel DFU atmel-dfu | 10 | # Atmel DFU atmel-dfu |
| 11 | # LUFA DFU lufa-dfu | 11 | # LUFA DFU lufa-dfu |
| 12 | # QMK DFU qmk-dfu | 12 | # QMK DFU qmk-dfu |
| 13 | # atmega32a bootloadHID | 13 | # ATmega32A bootloadHID |
| 14 | # | 14 | # ATmega328P USBasp |
| 15 | # This uses usbaspbootloader | ||
| 16 | BOOTLOADER = USBasp | 15 | BOOTLOADER = USBasp |
| 17 | 16 | ||
| 18 | # Flash program via avrdude, but default command is not suitable. | 17 | # Flash program via avrdude, but default command is not suitable. |
diff --git a/keyboards/gray_studio/hb85/rules.mk b/keyboards/gray_studio/hb85/rules.mk index c3e17e493..5339aad89 100644 --- a/keyboards/gray_studio/hb85/rules.mk +++ b/keyboards/gray_studio/hb85/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | SRC += i2c_master.c | 41 | SRC += i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/handwired/hnah40/rules.mk b/keyboards/handwired/hnah40/rules.mk index 341b8d03d..bbdf5176c 100644 --- a/keyboards/handwired/hnah40/rules.mk +++ b/keyboards/handwired/hnah40/rules.mk | |||
| @@ -1,7 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega328p | 2 | MCU = atmega328p |
| 3 | 3 | ||
| 4 | BOOTLOADER = bootloadHID | 4 | # Bootloader selection |
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = USBasp | ||
| 5 | 13 | ||
| 6 | # Flash program via avrdude, but default command is not suitable. | 14 | # Flash program via avrdude, but default command is not suitable. |
| 7 | # You can use hnah40:default:program | 15 | # You can use hnah40:default:program |
diff --git a/keyboards/jc65/v32a/rules.mk b/keyboards/jc65/v32a/rules.mk index fac85172e..ee6efb3fa 100644 --- a/keyboards/jc65/v32a/rules.mk +++ b/keyboards/jc65/v32a/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | CUSTOM_MATRIX = yes | 42 | CUSTOM_MATRIX = yes |
| 47 | SRC = matrix.c i2c.c | 43 | SRC = matrix.c i2c.c |
| 48 | |||
| 49 | # programming options | ||
| 50 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/jj40/rules.mk b/keyboards/jj40/rules.mk index 3e496f97e..b0bf574bd 100644 --- a/keyboards/jj40/rules.mk +++ b/keyboards/jj40/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # Build Options | 29 | # Build Options |
| @@ -54,7 +50,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
| 54 | 50 | ||
| 55 | SRC += i2c_master.c | 51 | SRC += i2c_master.c |
| 56 | 52 | ||
| 57 | # programming options | ||
| 58 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 59 | |||
| 60 | LAYOUTS = ortho_4x12 planck_mit | 53 | LAYOUTS = ortho_4x12 planck_mit |
diff --git a/keyboards/jj4x4/rules.mk b/keyboards/jj4x4/rules.mk index 3ac2cc043..fedc525f8 100644 --- a/keyboards/jj4x4/rules.mk +++ b/keyboards/jj4x4/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # Build Options | 29 | # Build Options |
| @@ -54,7 +50,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
| 54 | 50 | ||
| 55 | SRC += i2c_master.c | 51 | SRC += i2c_master.c |
| 56 | 52 | ||
| 57 | # programming options | ||
| 58 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 59 | |||
| 60 | LAYOUTS = ortho_4x4 | 53 | LAYOUTS = ortho_4x4 |
diff --git a/keyboards/jj50/keymaps/archetype/rules.mk b/keyboards/jj50/keymaps/archetype/rules.mk index e32e8ce74..1a63376be 100644 --- a/keyboards/jj50/keymaps/archetype/rules.mk +++ b/keyboards/jj50/keymaps/archetype/rules.mk | |||
| @@ -16,19 +16,15 @@ | |||
| 16 | 16 | ||
| 17 | # MCU name | 17 | # MCU name |
| 18 | MCU = atmega32a | 18 | MCU = atmega32a |
| 19 | PROTOCOL = VUSB | ||
| 20 | 19 | ||
| 21 | # unsupported features for now | 20 | # Bootloader selection |
| 22 | NO_UART = yes | 21 | # Teensy halfkay |
| 23 | NO_SUSPEND_POWER_DOWN = yes | 22 | # Pro Micro caterina |
| 24 | 23 | # Atmel DFU atmel-dfu | |
| 25 | # processor frequency | 24 | # LUFA DFU lufa-dfu |
| 26 | F_CPU = 12000000 | 25 | # QMK DFU qmk-dfu |
| 27 | 26 | # ATmega32A bootloadHID | |
| 28 | # Bootloader | 27 | # ATmega328P USBasp |
| 29 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 30 | # different sizes, comment this out, and the correct address will be loaded | ||
| 31 | # automatically (+60). See bootloader.mk for all options. | ||
| 32 | BOOTLOADER = bootloadHID | 28 | BOOTLOADER = bootloadHID |
| 33 | 29 | ||
| 34 | # build options | 30 | # build options |
| @@ -59,7 +55,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 59 | CUSTOM_MATRIX = yes | 55 | CUSTOM_MATRIX = yes |
| 60 | SRC = matrix.c i2c.c backlight.c | 56 | SRC = matrix.c i2c.c backlight.c |
| 61 | 57 | ||
| 62 | # programming options | ||
| 63 | PROGRAM_CMD = ./keyboards/ps2avrGB/program $(TARGET).hex | ||
| 64 | |||
| 65 | LAYOUTS = ortho_5x12 | 58 | LAYOUTS = ortho_5x12 |
diff --git a/keyboards/jj50/rules.mk b/keyboards/jj50/rules.mk index 2390d9631..b23b4becd 100644 --- a/keyboards/jj50/rules.mk +++ b/keyboards/jj50/rules.mk | |||
| @@ -16,14 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | # MCU name | 17 | # MCU name |
| 18 | MCU = atmega32a | 18 | MCU = atmega32a |
| 19 | PROTOCOL = VUSB | ||
| 20 | |||
| 21 | # unsupported features for now | ||
| 22 | NO_UART = yes | ||
| 23 | NO_SUSPEND_POWER_DOWN = yes | ||
| 24 | |||
| 25 | # processor frequency | ||
| 26 | F_CPU = 12000000 | ||
| 27 | 19 | ||
| 28 | # Bootloader selection | 20 | # Bootloader selection |
| 29 | # Teensy halfkay | 21 | # Teensy halfkay |
| @@ -31,7 +23,8 @@ F_CPU = 12000000 | |||
| 31 | # Atmel DFU atmel-dfu | 23 | # Atmel DFU atmel-dfu |
| 32 | # LUFA DFU lufa-dfu | 24 | # LUFA DFU lufa-dfu |
| 33 | # QMK DFU qmk-dfu | 25 | # QMK DFU qmk-dfu |
| 34 | # atmega32a bootloadHID | 26 | # ATmega32A bootloadHID |
| 27 | # ATmega328P USBasp | ||
| 35 | BOOTLOADER = bootloadHID | 28 | BOOTLOADER = bootloadHID |
| 36 | 29 | ||
| 37 | # build options | 30 | # build options |
| @@ -60,7 +53,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 60 | CUSTOM_MATRIX = yes | 53 | CUSTOM_MATRIX = yes |
| 61 | SRC = matrix.c i2c.c backlight.c | 54 | SRC = matrix.c i2c.c backlight.c |
| 62 | 55 | ||
| 63 | # programming options | ||
| 64 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 65 | |||
| 66 | LAYOUTS = ortho_5x12 | 56 | LAYOUTS = ortho_5x12 |
diff --git a/keyboards/kbdfans/kbdpad/mk1/rules.mk b/keyboards/kbdfans/kbdpad/mk1/rules.mk index 421b0cf32..e43baee5c 100644 --- a/keyboards/kbdfans/kbdpad/mk1/rules.mk +++ b/keyboards/kbdfans/kbdpad/mk1/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no | |||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | QUANTUM_LIB_SRC = i2c_master.c | 41 | QUANTUM_LIB_SRC = i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/mechmini/v1/rules.mk b/keyboards/mechmini/v1/rules.mk index 11bd8955f..3510ca6f3 100644 --- a/keyboards/mechmini/v1/rules.mk +++ b/keyboards/mechmini/v1/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = atmel-dfu | 27 | BOOTLOADER = atmel-dfu |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | CUSTOM_MATRIX = yes | 42 | CUSTOM_MATRIX = yes |
| 47 | SRC = matrix.c i2c.c | 43 | SRC = matrix.c i2c.c |
| 48 | |||
| 49 | # programming options | ||
| 50 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/mehkee96/rules.mk b/keyboards/mehkee96/rules.mk index f7fb397e2..244dd2141 100644 --- a/keyboards/mehkee96/rules.mk +++ b/keyboards/mehkee96/rules.mk | |||
| @@ -1,18 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | 3 | ||
| 5 | # unsupported features for now | 4 | # Bootloader selection |
| 6 | NO_UART = yes | 5 | # Teensy halfkay |
| 7 | NO_SUSPEND_POWER_DOWN = yes | 6 | # Pro Micro caterina |
| 8 | 7 | # Atmel DFU atmel-dfu | |
| 9 | # Processor frequency. | 8 | # LUFA DFU lufa-dfu |
| 10 | F_CPU = 12000000 | 9 | # QMK DFU qmk-dfu |
| 11 | 10 | # ATmega32A bootloadHID | |
| 12 | # Bootloader | 11 | # ATmega328P USBasp |
| 13 | BOOTLOADER = bootloadHID | 12 | BOOTLOADER = bootloadHID |
| 14 | 13 | ||
| 15 | |||
| 16 | # Build Options | 14 | # Build Options |
| 17 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 18 | # | 16 | # |
| @@ -30,6 +28,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 30 | # custom matrix setup | 28 | # custom matrix setup |
| 31 | CUSTOM_MATRIX = yes | 29 | CUSTOM_MATRIX = yes |
| 32 | SRC = matrix.c i2c.c | 30 | SRC = matrix.c i2c.c |
| 33 | |||
| 34 | # programming options | ||
| 35 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/mt40/rules.mk b/keyboards/mt40/rules.mk index db6ec93f5..19410bc6e 100644 --- a/keyboards/mt40/rules.mk +++ b/keyboards/mt40/rules.mk | |||
| @@ -1,18 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | 3 | ||
| 5 | # unsupported features for now | 4 | # Bootloader selection |
| 6 | NO_UART = yes | 5 | # Teensy halfkay |
| 7 | NO_SUSPEND_POWER_DOWN = yes | 6 | # Pro Micro caterina |
| 8 | 7 | # Atmel DFU atmel-dfu | |
| 9 | # processor frequency | 8 | # LUFA DFU lufa-dfu |
| 10 | F_CPU = 12000000 | 9 | # QMK DFU qmk-dfu |
| 11 | 10 | # ATmega32A bootloadHID | |
| 12 | # Bootloader | 11 | # ATmega328P USBasp |
| 13 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 14 | # different sizes, comment this out, and the correct address will be loaded | ||
| 15 | # automatically (+60). See bootloader.mk for all options. | ||
| 16 | BOOTLOADER = bootloadHID | 12 | BOOTLOADER = bootloadHID |
| 17 | 13 | ||
| 18 | # build options | 14 | # build options |
| @@ -37,8 +33,5 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 37 | CUSTOM_MATRIX = yes | 33 | CUSTOM_MATRIX = yes |
| 38 | SRC = matrix.c i2c.c | 34 | SRC = matrix.c i2c.c |
| 39 | 35 | ||
| 40 | # programming options | ||
| 41 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 42 | |||
| 43 | LAYOUTS = planck_mit | 36 | LAYOUTS = planck_mit |
| 44 | LAYOUTS_HAS_RGB = no | 37 | LAYOUTS_HAS_RGB = no |
diff --git a/keyboards/panc60/rules.mk b/keyboards/panc60/rules.mk index 5531807f1..6ca8d7b78 100644 --- a/keyboards/panc60/rules.mk +++ b/keyboards/panc60/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | SRC = i2c_master.c | 42 | SRC = i2c_master.c |
| 47 | 43 | ||
| 48 | # programming options | ||
| 49 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 50 | |||
| 51 | LAYOUTS = 60_ansi 60_hhkb | 44 | LAYOUTS = 60_ansi 60_hhkb |
diff --git a/keyboards/pearl/rules.mk b/keyboards/pearl/rules.mk index 4db92d121..eacf8bb2c 100644 --- a/keyboards/pearl/rules.mk +++ b/keyboards/pearl/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 44 | 40 | ||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | SRC = i2c_master.c | 42 | SRC = i2c_master.c |
| 47 | |||
| 48 | # programming options | ||
| 49 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/plaid/rules.mk b/keyboards/plaid/rules.mk index 755a4f899..5ac35ee7f 100644 --- a/keyboards/plaid/rules.mk +++ b/keyboards/plaid/rules.mk | |||
| @@ -7,21 +7,9 @@ MCU = atmega328p | |||
| 7 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 9 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 10 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # | 11 | # ATmega328P USBasp |
| 12 | # This uses usbaspbootloader | 12 | BOOTLOADER = USBasp |
| 13 | # BOOTLOADER = atmel-dfu | ||
| 14 | |||
| 15 | |||
| 16 | # If you don't know the bootloader type, then you can specify the | ||
| 17 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 18 | # Teensy halfKay 512 | ||
| 19 | # Teensy++ halfKay 1024 | ||
| 20 | # Atmel DFU loader 4096 | ||
| 21 | # LUFA bootloader 4096 | ||
| 22 | # USBaspLoader 2048 | ||
| 23 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 24 | OPT_DEFS += -DBOOTLOADER_SIZE=2048 | ||
| 25 | 13 | ||
| 26 | # Flash program via avrdude, but default command is not suitable. | 14 | # Flash program via avrdude, but default command is not suitable. |
| 27 | # You can use plaid:default:program | 15 | # You can use plaid:default:program |
diff --git a/keyboards/singa/rules.mk b/keyboards/singa/rules.mk index 7e4669689..df2a59e90 100644 --- a/keyboards/singa/rules.mk +++ b/keyboards/singa/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | SRC = i2c_master.c | 41 | SRC = i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/skog/rules.mk b/keyboards/skog/rules.mk index bce0c442a..b8439906b 100644 --- a/keyboards/skog/rules.mk +++ b/keyboards/skog/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -50,6 +46,3 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 50 | # custom matrix setup | 46 | # custom matrix setup |
| 51 | CUSTOM_MATRIX = yes | 47 | CUSTOM_MATRIX = yes |
| 52 | SRC = matrix.c i2c.c backlight.c | 48 | SRC = matrix.c i2c.c backlight.c |
| 53 | |||
| 54 | # programming options | ||
| 55 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/tgr/alice/rules.mk b/keyboards/tgr/alice/rules.mk index eecd38d7e..aa141f7c3 100644 --- a/keyboards/tgr/alice/rules.mk +++ b/keyboards/tgr/alice/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | SRC += i2c_master.c | 41 | SRC += i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/tgr/jane/rules.mk b/keyboards/tgr/jane/rules.mk index bf9aa79a8..f2b488306 100644 --- a/keyboards/tgr/jane/rules.mk +++ b/keyboards/tgr/jane/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 44 | 40 | ||
| 45 | QUANTUM_LIB_SRC = i2c_master.c | 41 | QUANTUM_LIB_SRC = i2c_master.c |
| 46 | 42 | ||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 49 | |||
| 50 | LAYOUTS = tkl_ansi tkl_iso | 43 | LAYOUTS = tkl_ansi tkl_iso |
diff --git a/keyboards/unikorn/rules.mk b/keyboards/unikorn/rules.mk index 7d6fa14e1..d4f4d2aaf 100644 --- a/keyboards/unikorn/rules.mk +++ b/keyboards/unikorn/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no | |||
| 43 | OPT_DEFS = -DDEBUG_LEVEL=0 | 39 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 44 | 40 | ||
| 45 | SRC = i2c_master.c | 41 | SRC = i2c_master.c |
| 46 | |||
| 47 | # programming options | ||
| 48 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/winkeyless/bface/rules.mk b/keyboards/winkeyless/bface/rules.mk index 4e016b47d..12b502785 100644 --- a/keyboards/winkeyless/bface/rules.mk +++ b/keyboards/winkeyless/bface/rules.mk | |||
| @@ -15,14 +15,16 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 25 | # ATmega32A bootloadHID | ||
| 26 | # ATmega328P USBasp | ||
| 27 | BOOTLOADER = bootloadHID | ||
| 26 | 28 | ||
| 27 | # build options | 29 | # build options |
| 28 | BOOTMAGIC_ENABLE = no | 30 | BOOTMAGIC_ENABLE = no |
| @@ -37,11 +39,6 @@ RGBLIGHT_ENABLE = yes | |||
| 37 | RGBLIGHT_CUSTOM_DRIVER = yes | 39 | RGBLIGHT_CUSTOM_DRIVER = yes |
| 38 | 40 | ||
| 39 | OPT_DEFS = -DDEBUG_LEVEL=0 | 41 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 40 | BOOTLOADER = bootloadHID | ||
| 41 | 42 | ||
| 42 | # custom matrix setup | 43 | # custom matrix setup |
| 43 | SRC = i2c_master.c | 44 | SRC = i2c_master.c |
| 44 | |||
| 45 | # programming options | ||
| 46 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
| 47 | |||
diff --git a/keyboards/winkeyless/bmini/rules.mk b/keyboards/winkeyless/bmini/rules.mk index 3d7bc0215..8cfc81056 100644 --- a/keyboards/winkeyless/bmini/rules.mk +++ b/keyboards/winkeyless/bmini/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 45 | # custom matrix setup | 41 | # custom matrix setup |
| 46 | CUSTOM_MATRIX = yes | 42 | CUSTOM_MATRIX = yes |
| 47 | SRC = matrix.c i2c.c | 43 | SRC = matrix.c i2c.c |
| 48 | |||
| 49 | # programming options | ||
| 50 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/winkeyless/bminiex/rules.mk b/keyboards/winkeyless/bminiex/rules.mk index e5d3a2a88..24e434879 100644 --- a/keyboards/winkeyless/bminiex/rules.mk +++ b/keyboards/winkeyless/bminiex/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -51,6 +47,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 51 | # custom matrix setup | 47 | # custom matrix setup |
| 52 | CUSTOM_MATRIX = yes | 48 | CUSTOM_MATRIX = yes |
| 53 | SRC = matrix.c i2c.c backlight.c | 49 | SRC = matrix.c i2c.c backlight.c |
| 54 | |||
| 55 | # programming options | ||
| 56 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/ymd75/rules.mk b/keyboards/ymd75/rules.mk index 9d09d3da9..7bee20173 100644 --- a/keyboards/ymd75/rules.mk +++ b/keyboards/ymd75/rules.mk | |||
| @@ -16,19 +16,15 @@ | |||
| 16 | 16 | ||
| 17 | # MCU name | 17 | # MCU name |
| 18 | MCU = atmega32a | 18 | MCU = atmega32a |
| 19 | PROTOCOL = VUSB | ||
| 20 | 19 | ||
| 21 | # unsupported features for now | 20 | # Bootloader selection |
| 22 | NO_UART = yes | 21 | # Teensy halfkay |
| 23 | NO_SUSPEND_POWER_DOWN = yes | 22 | # Pro Micro caterina |
| 24 | 23 | # Atmel DFU atmel-dfu | |
| 25 | # processor frequency | 24 | # LUFA DFU lufa-dfu |
| 26 | F_CPU = 12000000 | 25 | # QMK DFU qmk-dfu |
| 27 | 26 | # ATmega32A bootloadHID | |
| 28 | # Bootloader | 27 | # ATmega328P USBasp |
| 29 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 30 | # different sizes, comment this out, and the correct address will be loaded | ||
| 31 | # automatically (+60). See bootloader.mk for all options. | ||
| 32 | BOOTLOADER = bootloadHID | 28 | BOOTLOADER = bootloadHID |
| 33 | 29 | ||
| 34 | # build options | 30 | # build options |
| @@ -56,7 +52,3 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 56 | # custom matrix setup | 52 | # custom matrix setup |
| 57 | CUSTOM_MATRIX = yes | 53 | CUSTOM_MATRIX = yes |
| 58 | SRC = matrix.c i2c.c backlight.c | 54 | SRC = matrix.c i2c.c backlight.c |
| 59 | |||
| 60 | |||
| 61 | # programming options | ||
| 62 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/ymd96/rules.mk b/keyboards/ymd96/rules.mk index 1cc4060b0..96441e1b3 100644 --- a/keyboards/ymd96/rules.mk +++ b/keyboards/ymd96/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -53,6 +49,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 53 | # custom matrix setup | 49 | # custom matrix setup |
| 54 | CUSTOM_MATRIX = yes | 50 | CUSTOM_MATRIX = yes |
| 55 | SRC = matrix.c i2c.c backlight.c | 51 | SRC = matrix.c i2c.c backlight.c |
| 56 | |||
| 57 | # programming options | ||
| 58 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
diff --git a/keyboards/ymdk/bface/rules.mk b/keyboards/ymdk/bface/rules.mk index 8f1f83f78..7b829530b 100644 --- a/keyboards/ymdk/bface/rules.mk +++ b/keyboards/ymdk/bface/rules.mk | |||
| @@ -16,6 +16,16 @@ | |||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | 18 | ||
| 19 | # Bootloader selection | ||
| 20 | # Teensy halfkay | ||
| 21 | # Pro Micro caterina | ||
| 22 | # Atmel DFU atmel-dfu | ||
| 23 | # LUFA DFU lufa-dfu | ||
| 24 | # QMK DFU qmk-dfu | ||
| 25 | # ATmega32A bootloadHID | ||
| 26 | # ATmega328P USBasp | ||
| 27 | BOOTLOADER = bootloadHID | ||
| 28 | |||
| 19 | # build options | 29 | # build options |
| 20 | BOOTMAGIC_ENABLE = no | 30 | BOOTMAGIC_ENABLE = no |
| 21 | MOUSEKEY_ENABLE = yes | 31 | MOUSEKEY_ENABLE = yes |
| @@ -29,5 +39,3 @@ RGBLIGHT_ENABLE = no | |||
| 29 | RGBLIGHT_CUSTOM_DRIVER = no | 39 | RGBLIGHT_CUSTOM_DRIVER = no |
| 30 | 40 | ||
| 31 | OPT_DEFS = -DDEBUG_LEVEL=0 | 41 | OPT_DEFS = -DDEBUG_LEVEL=0 |
| 32 | BOOTLOADER = bootloadHID | ||
| 33 | |||
diff --git a/keyboards/ymdk_np21/rules.mk b/keyboards/ymdk_np21/rules.mk index 670967fbd..634b9c69c 100644 --- a/keyboards/ymdk_np21/rules.mk +++ b/keyboards/ymdk_np21/rules.mk | |||
| @@ -15,19 +15,15 @@ | |||
| 15 | 15 | ||
| 16 | # MCU name | 16 | # MCU name |
| 17 | MCU = atmega32a | 17 | MCU = atmega32a |
| 18 | PROTOCOL = VUSB | ||
| 19 | 18 | ||
| 20 | # unsupported features for now | 19 | # Bootloader selection |
| 21 | NO_UART = yes | 20 | # Teensy halfkay |
| 22 | NO_SUSPEND_POWER_DOWN = yes | 21 | # Pro Micro caterina |
| 23 | 22 | # Atmel DFU atmel-dfu | |
| 24 | # processor frequency | 23 | # LUFA DFU lufa-dfu |
| 25 | F_CPU = 12000000 | 24 | # QMK DFU qmk-dfu |
| 26 | 25 | # ATmega32A bootloadHID | |
| 27 | # Bootloader | 26 | # ATmega328P USBasp |
| 28 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 29 | # different sizes, comment this out, and the correct address will be loaded | ||
| 30 | # automatically (+60). See bootloader.mk for all options. | ||
| 31 | BOOTLOADER = bootloadHID | 27 | BOOTLOADER = bootloadHID |
| 32 | 28 | ||
| 33 | # build options | 29 | # build options |
| @@ -54,6 +50,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||
| 54 | # custom matrix setup | 50 | # custom matrix setup |
| 55 | CUSTOM_MATRIX = yes | 51 | CUSTOM_MATRIX = yes |
| 56 | SRC = matrix.c i2c.c backlight.c | 52 | SRC = matrix.c i2c.c backlight.c |
| 57 | |||
| 58 | # programming options | ||
| 59 | PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex | ||
