aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-21 15:06:32 +1000
committerDrashna Jaelre <drashna@live.com>2019-09-20 22:06:32 -0700
commitde4a47f1cc28c4ef66e7560eac2a50f717070ae2 (patch)
tree541f612a0b7175f7f7b13311e1e28149a6142d4f /keyboards
parentbeb4a12c9d06d30cc0f544ca52e618898fbb5302 (diff)
downloadqmk_firmware-de4a47f1cc28c4ef66e7560eac2a50f717070ae2.tar.gz
qmk_firmware-de4a47f1cc28c4ef66e7560eac2a50f717070ae2.zip
Cleanup rules.mk for 32A and 328P keyboards (#6767)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ares/rules.mk23
-rw-r--r--keyboards/bfake/rules.mk23
-rw-r--r--keyboards/canoe/rules.mk23
-rw-r--r--keyboards/coseyfannitutti/discipline/rules.mk52
-rw-r--r--keyboards/donutcables/budget96/rules.mk23
-rw-r--r--keyboards/eve/meteor/rules.mk12
-rw-r--r--keyboards/exclusive/e6v2/le_bmc/rules.mk58
-rw-r--r--keyboards/exclusive/e6v2/oe_bmc/rules.mk58
-rw-r--r--keyboards/facew/rules.mk23
-rw-r--r--keyboards/ft/mars80/rules.mk23
-rw-r--r--keyboards/gingham/rules.mk5
-rw-r--r--keyboards/gray_studio/hb85/rules.mk23
-rw-r--r--keyboards/handwired/hnah40/rules.mk10
-rw-r--r--keyboards/jc65/v32a/rules.mk23
-rw-r--r--keyboards/jj40/rules.mk23
-rw-r--r--keyboards/jj4x4/rules.mk23
-rw-r--r--keyboards/jj50/keymaps/archetype/rules.mk23
-rw-r--r--keyboards/jj50/rules.mk14
-rw-r--r--keyboards/kbdfans/kbdpad/mk1/rules.mk23
-rw-r--r--keyboards/mechmini/v1/rules.mk23
-rw-r--r--keyboards/mehkee96/rules.mk21
-rw-r--r--keyboards/mt40/rules.mk23
-rw-r--r--keyboards/panc60/rules.mk23
-rw-r--r--keyboards/pearl/rules.mk23
-rw-r--r--keyboards/plaid/rules.mk18
-rw-r--r--keyboards/singa/rules.mk23
-rw-r--r--keyboards/skog/rules.mk23
-rw-r--r--keyboards/tgr/alice/rules.mk23
-rw-r--r--keyboards/tgr/jane/rules.mk23
-rw-r--r--keyboards/unikorn/rules.mk23
-rw-r--r--keyboards/winkeyless/bface/rules.mk21
-rw-r--r--keyboards/winkeyless/bmini/rules.mk23
-rw-r--r--keyboards/winkeyless/bminiex/rules.mk23
-rw-r--r--keyboards/ymd75/rules.mk24
-rw-r--r--keyboards/ymd96/rules.mk23
-rw-r--r--keyboards/ymdk/bface/rules.mk12
-rw-r--r--keyboards/ymdk_np21/rules.mk23
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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_SUSPEND_POWER_DOWN = yes 20# Teensy halfkay
22 21# Pro Micro caterina
23# processor frequency 22# Atmel DFU atmel-dfu
24F_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.
30BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
31 28
32# build options 29# build options
@@ -38,11 +35,7 @@ COMMAND_ENABLE = yes
38BACKLIGHT_ENABLE = no 35BACKLIGHT_ENABLE = no
39RGBLIGHT_ENABLE = no 36RGBLIGHT_ENABLE = no
40RGBLIGHT_CUSTOM_DRIVER = yes 37RGBLIGHT_CUSTOM_DRIVER = yes
41NO_UART = yes
42 38
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC += i2c_master.c 41SRC += i2c_master.c
46
47# programming options
48PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46CUSTOM_MATRIX = yes 42CUSTOM_MATRIX = yes
47SRC = matrix.c i2c.c 43SRC = matrix.c i2c.c
48
49# programming options
50PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46CUSTOM_MATRIX = yes 42CUSTOM_MATRIX = yes
47SRC = matrix.c i2c.c 43SRC = matrix.c i2c.c
48
49# programming options
50PROGRAM_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
2MCU = atmega32a 2MCU = atmega32a
3PROTOCOL = 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.
16F_CPU = 16000000 5F_CPU = 16000000
17 6
18#
19# LUFA specific
20#
21# Target architecture (see library "Board Types" documentation).
22ARCH = 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.
35F_USB = $(F_CPU)
36
37# Interrupt driven control endpoint task(+60)
38OPT_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
49BOOTLOADER = USBasp 15BOOTLOADER = 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
61PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex 19PROGRAM_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
84FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 42FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
85HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 43HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
86 44
87# unsupported features for now
88NO_UART = yes
89NO_SUSPEND_POWER_DOWN = yes
90
91LAYOUTS = 65_ansi 45LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46SRC = i2c_master.c 42SRC = i2c_master.c
47
48# programming options
49PROGRAM_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
17MCU = atmega32a 17MCU = 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
23BOOTLOADER = bootloadHID 27BOOTLOADER = 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
2MCU = atmega32a 2MCU = atmega32a
3PROTOCOL = VUSB
4
5NO_UART = yes
6NO_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.
19F_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)
42OPT_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
52BOOTLOADER = bootloadHID 12BOOTLOADER = 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
84FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 33FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
85HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 34HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
86 35
36OPT_DEFS = -DDEBUG_LEVEL=0
87SRC += i2c_master.c 37SRC += i2c_master.c
88
89PROGRAM_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
2MCU = atmega32a 2MCU = atmega32a
3PROTOCOL = VUSB
4
5NO_UART = yes
6NO_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.
19F_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)
42OPT_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
52BOOTLOADER = bootloadHID 12BOOTLOADER = 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
84FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 33FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
85HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 34HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
86 35
36OPT_DEFS = -DDEBUG_LEVEL=0
87SRC += i2c_master.c 37SRC += i2c_master.c
88
89PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46SRC = i2c_master.c 42SRC = i2c_master.c
47 43
48# programming options
49PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
50
51LAYOUTS = 60_ansi 44LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC += i2c_master.c 41SRC += i2c_master.c
46 42
47# programming options
48PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
49
50LAYOUTS = tkl_ansi tkl_iso 43LAYOUTS = 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
16BOOTLOADER = USBasp 15BOOTLOADER = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC += i2c_master.c 41SRC += i2c_master.c
46
47# programming options
48PROGRAM_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
2MCU = atmega328p 2MCU = atmega328p
3 3
4BOOTLOADER = 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
12BOOTLOADER = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46CUSTOM_MATRIX = yes 42CUSTOM_MATRIX = yes
47SRC = matrix.c i2c.c 43SRC = matrix.c i2c.c
48
49# programming options
50PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
55SRC += i2c_master.c 51SRC += i2c_master.c
56 52
57# programming options
58PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
59
60LAYOUTS = ortho_4x12 planck_mit 53LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
55SRC += i2c_master.c 51SRC += i2c_master.c
56 52
57# programming options
58PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
59
60LAYOUTS = ortho_4x4 53LAYOUTS = 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
18MCU = atmega32a 18MCU = atmega32a
19PROTOCOL = VUSB
20 19
21# unsupported features for now 20# Bootloader selection
22NO_UART = yes 21# Teensy halfkay
23NO_SUSPEND_POWER_DOWN = yes 22# Pro Micro caterina
24 23# Atmel DFU atmel-dfu
25# processor frequency 24# LUFA DFU lufa-dfu
26F_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.
32BOOTLOADER = bootloadHID 28BOOTLOADER = bootloadHID
33 29
34# build options 30# build options
@@ -59,7 +55,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
59CUSTOM_MATRIX = yes 55CUSTOM_MATRIX = yes
60SRC = matrix.c i2c.c backlight.c 56SRC = matrix.c i2c.c backlight.c
61 57
62# programming options
63PROGRAM_CMD = ./keyboards/ps2avrGB/program $(TARGET).hex
64
65LAYOUTS = ortho_5x12 58LAYOUTS = 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
18MCU = atmega32a 18MCU = atmega32a
19PROTOCOL = VUSB
20
21# unsupported features for now
22NO_UART = yes
23NO_SUSPEND_POWER_DOWN = yes
24
25# processor frequency
26F_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
35BOOTLOADER = bootloadHID 28BOOTLOADER = bootloadHID
36 29
37# build options 30# build options
@@ -60,7 +53,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
60CUSTOM_MATRIX = yes 53CUSTOM_MATRIX = yes
61SRC = matrix.c i2c.c backlight.c 54SRC = matrix.c i2c.c backlight.c
62 55
63# programming options
64PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
65
66LAYOUTS = ortho_5x12 56LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45QUANTUM_LIB_SRC = i2c_master.c 41QUANTUM_LIB_SRC = i2c_master.c
46
47# programming options
48PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = atmel-dfu 27BOOTLOADER = 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
46CUSTOM_MATRIX = yes 42CUSTOM_MATRIX = yes
47SRC = matrix.c i2c.c 43SRC = matrix.c i2c.c
48
49# programming options
50PROGRAM_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
2MCU = atmega32a 2MCU = atmega32a
3PROTOCOL = VUSB
4 3
5# unsupported features for now 4# Bootloader selection
6NO_UART = yes 5# Teensy halfkay
7NO_SUSPEND_POWER_DOWN = yes 6# Pro Micro caterina
8 7# Atmel DFU atmel-dfu
9# Processor frequency. 8# LUFA DFU lufa-dfu
10F_CPU = 12000000 9# QMK DFU qmk-dfu
11 10# ATmega32A bootloadHID
12# Bootloader 11# ATmega328P USBasp
13BOOTLOADER = bootloadHID 12BOOTLOADER = 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
31CUSTOM_MATRIX = yes 29CUSTOM_MATRIX = yes
32SRC = matrix.c i2c.c 30SRC = matrix.c i2c.c
33
34# programming options
35PROGRAM_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
2MCU = atmega32a 2MCU = atmega32a
3PROTOCOL = VUSB
4 3
5# unsupported features for now 4# Bootloader selection
6NO_UART = yes 5# Teensy halfkay
7NO_SUSPEND_POWER_DOWN = yes 6# Pro Micro caterina
8 7# Atmel DFU atmel-dfu
9# processor frequency 8# LUFA DFU lufa-dfu
10F_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.
16BOOTLOADER = bootloadHID 12BOOTLOADER = bootloadHID
17 13
18# build options 14# build options
@@ -37,8 +33,5 @@ OPT_DEFS = -DDEBUG_LEVEL=0
37CUSTOM_MATRIX = yes 33CUSTOM_MATRIX = yes
38SRC = matrix.c i2c.c 34SRC = matrix.c i2c.c
39 35
40# programming options
41PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
42
43LAYOUTS = planck_mit 36LAYOUTS = planck_mit
44LAYOUTS_HAS_RGB = no 37LAYOUTS_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46SRC = i2c_master.c 42SRC = i2c_master.c
47 43
48# programming options
49PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
50
51LAYOUTS = 60_ansi 60_hhkb 44LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46SRC = i2c_master.c 42SRC = i2c_master.c
47
48# programming options
49PROGRAM_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 12BOOTLOADER = 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
24OPT_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC = i2c_master.c 41SRC = i2c_master.c
46
47# programming options
48PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
51CUSTOM_MATRIX = yes 47CUSTOM_MATRIX = yes
52SRC = matrix.c i2c.c backlight.c 48SRC = matrix.c i2c.c backlight.c
53
54# programming options
55PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC += i2c_master.c 41SRC += i2c_master.c
46
47# programming options
48PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45QUANTUM_LIB_SRC = i2c_master.c 41QUANTUM_LIB_SRC = i2c_master.c
46 42
47# programming options
48PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
49
50LAYOUTS = tkl_ansi tkl_iso 43LAYOUTS = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = bootloadHID
32 28
33# build options 29# build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no
43OPT_DEFS = -DDEBUG_LEVEL=0 39OPT_DEFS = -DDEBUG_LEVEL=0
44 40
45SRC = i2c_master.c 41SRC = i2c_master.c
46
47# programming options
48PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_CPU = 12000000 24# QMK DFU qmk-dfu
25# ATmega32A bootloadHID
26# ATmega328P USBasp
27BOOTLOADER = bootloadHID
26 28
27# build options 29# build options
28BOOTMAGIC_ENABLE = no 30BOOTMAGIC_ENABLE = no
@@ -37,11 +39,6 @@ RGBLIGHT_ENABLE = yes
37RGBLIGHT_CUSTOM_DRIVER = yes 39RGBLIGHT_CUSTOM_DRIVER = yes
38 40
39OPT_DEFS = -DDEBUG_LEVEL=0 41OPT_DEFS = -DDEBUG_LEVEL=0
40BOOTLOADER = bootloadHID
41 42
42# custom matrix setup 43# custom matrix setup
43SRC = i2c_master.c 44SRC = i2c_master.c
44
45# programming options
46PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
46CUSTOM_MATRIX = yes 42CUSTOM_MATRIX = yes
47SRC = matrix.c i2c.c 43SRC = matrix.c i2c.c
48
49# programming options
50PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
52CUSTOM_MATRIX = yes 48CUSTOM_MATRIX = yes
53SRC = matrix.c i2c.c backlight.c 49SRC = matrix.c i2c.c backlight.c
54
55# programming options
56PROGRAM_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
18MCU = atmega32a 18MCU = atmega32a
19PROTOCOL = VUSB
20 19
21# unsupported features for now 20# Bootloader selection
22NO_UART = yes 21# Teensy halfkay
23NO_SUSPEND_POWER_DOWN = yes 22# Pro Micro caterina
24 23# Atmel DFU atmel-dfu
25# processor frequency 24# LUFA DFU lufa-dfu
26F_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.
32BOOTLOADER = bootloadHID 28BOOTLOADER = 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
57CUSTOM_MATRIX = yes 53CUSTOM_MATRIX = yes
58SRC = matrix.c i2c.c backlight.c 54SRC = matrix.c i2c.c backlight.c
59
60
61# programming options
62PROGRAM_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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
54CUSTOM_MATRIX = yes 50CUSTOM_MATRIX = yes
55SRC = matrix.c i2c.c backlight.c 51SRC = matrix.c i2c.c backlight.c
56
57# programming options
58PROGRAM_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
17MCU = atmega32a 17MCU = 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
27BOOTLOADER = bootloadHID
28
19# build options 29# build options
20BOOTMAGIC_ENABLE = no 30BOOTMAGIC_ENABLE = no
21MOUSEKEY_ENABLE = yes 31MOUSEKEY_ENABLE = yes
@@ -29,5 +39,3 @@ RGBLIGHT_ENABLE = no
29RGBLIGHT_CUSTOM_DRIVER = no 39RGBLIGHT_CUSTOM_DRIVER = no
30 40
31OPT_DEFS = -DDEBUG_LEVEL=0 41OPT_DEFS = -DDEBUG_LEVEL=0
32BOOTLOADER = 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
17MCU = atmega32a 17MCU = atmega32a
18PROTOCOL = VUSB
19 18
20# unsupported features for now 19# Bootloader selection
21NO_UART = yes 20# Teensy halfkay
22NO_SUSPEND_POWER_DOWN = yes 21# Pro Micro caterina
23 22# Atmel DFU atmel-dfu
24# processor frequency 23# LUFA DFU lufa-dfu
25F_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.
31BOOTLOADER = bootloadHID 27BOOTLOADER = 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
55CUSTOM_MATRIX = yes 51CUSTOM_MATRIX = yes
56SRC = matrix.c i2c.c backlight.c 52SRC = matrix.c i2c.c backlight.c
57
58# programming options
59PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex