aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-30 15:27:25 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-29 21:27:25 -0700
commitb47c10bf6f152d7a5c35fc4f7478aa69e91fb081 (patch)
tree10831512c7cc44ef11083321e8f1f40be99fa4f9
parent3817ff7cc00910c0bd6f638064580a70f9b156c1 (diff)
downloadqmk_firmware-b47c10bf6f152d7a5c35fc4f7478aa69e91fb081.tar.gz
qmk_firmware-b47c10bf6f152d7a5c35fc4f7478aa69e91fb081.zip
Cleanup rules.mk for 32U4 keyboards, T-Z (#7190)
* Cleanup rules.mk for 32U4 keyboards, T-Z * Use atmel-dfu in place of lufa-ms until it exists
-rw-r--r--keyboards/gray_studio/cod67/rules.mk2
-rw-r--r--keyboards/standaside/rules.mk2
-rw-r--r--keyboards/tada68/keymaps/default/rules.mk18
-rwxr-xr-xkeyboards/tada68/rules.mk59
-rw-r--r--keyboards/tanuki/rules.mk56
-rw-r--r--keyboards/telophase/rules.mk63
-rwxr-xr-xkeyboards/tetris/rules.mk50
-rw-r--r--keyboards/tgr/jane/keymaps/default/rules.mk0
-rw-r--r--keyboards/the_ruler/keymaps/default/rules.mk0
-rw-r--r--keyboards/the_ruler/rules.mk17
-rw-r--r--keyboards/thevankeyboards/bananasplit/keymaps/default/rules.mk34
-rw-r--r--keyboards/thevankeyboards/bananasplit/rules.mk55
-rw-r--r--keyboards/thevankeyboards/caravan/rules.mk15
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/default/rules.mk18
-rw-r--r--keyboards/thevankeyboards/minivan/rules.mk56
-rw-r--r--keyboards/thevankeyboards/roadkit/keymaps/default/rules.mk18
-rw-r--r--keyboards/thevankeyboards/roadkit/rules.mk56
-rw-r--r--keyboards/tmo50/rules.mk43
-rw-r--r--keyboards/toad/rules.mk50
-rw-r--r--keyboards/tokyo60/rules.mk57
-rw-r--r--keyboards/touchpad/rules.mk51
-rw-r--r--keyboards/treadstone32/keymaps/default/rules.mk6
-rw-r--r--keyboards/treadstone32/rules.mk39
-rw-r--r--keyboards/treadstone48/keymaps/default/rules.mk18
-rw-r--r--keyboards/treadstone48/rules.mk55
-rw-r--r--keyboards/treasure/type9/rules.mk51
-rw-r--r--keyboards/uzu42/rev1/rules.mk21
-rw-r--r--keyboards/uzu42/rules.mk11
-rw-r--r--keyboards/v60_type_r/keymaps/default/rules.mk2
-rw-r--r--keyboards/v60_type_r/keymaps/iso/rules.mk2
-rw-r--r--keyboards/v60_type_r/rules.mk41
-rw-r--r--keyboards/vision_division/keymaps/default/rules.mk19
-rw-r--r--keyboards/vitamins_included/keymaps/default/rules.mk1
-rw-r--r--keyboards/vitamins_included/rev1/rules.mk11
-rw-r--r--keyboards/vitamins_included/rev2/rules.mk11
-rw-r--r--keyboards/vitamins_included/rules.mk2
-rw-r--r--keyboards/vn66/rules.mk15
-rw-r--r--keyboards/waldo/keymaps/default/rules.mk0
-rw-r--r--keyboards/waldo/keymaps/default_split_shft_bck/rules.mk0
-rw-r--r--keyboards/waldo/rules.mk15
-rw-r--r--keyboards/westfoxtrot/aanzee/rules.mk39
-rw-r--r--keyboards/westfoxtrot/cyclops/rules.mk53
-rw-r--r--keyboards/westfoxtrot/cypher/rules.mk51
-rw-r--r--keyboards/wilba_tech/rama_works_koyu/rules.mk14
-rw-r--r--keyboards/wilba_tech/rama_works_m10_b/rules.mk7
-rw-r--r--keyboards/wilba_tech/rama_works_m60_a/rules.mk16
-rw-r--r--keyboards/wilba_tech/rama_works_m6_a/rules.mk6
-rw-r--r--keyboards/wilba_tech/rama_works_m6_b/rules.mk14
-rw-r--r--keyboards/wilba_tech/rama_works_u80_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt60_a/rules.mk61
-rw-r--r--keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt60_d/rules.mk8
-rw-r--r--keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt65_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt65_b/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt69_a/rules.mk7
-rw-r--r--keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_b/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_c/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt80_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt8_a/rules.mk6
-rw-r--r--keyboards/wilba_tech/zeal60/rules.mk14
-rw-r--r--keyboards/wilba_tech/zeal65/rules.mk14
-rw-r--r--keyboards/xd60/rev2/rules.mk55
-rw-r--r--keyboards/xd60/rev3/rules.mk53
-rw-r--r--keyboards/xd75/keymaps/default/rules.mk15
-rw-r--r--keyboards/xd75/rules.mk53
-rw-r--r--keyboards/xd84/rules.mk51
-rwxr-xr-xkeyboards/xd87/keymaps/default_underglow/rules.mk2
-rw-r--r--keyboards/xd87/rules.mk51
-rw-r--r--keyboards/xd96/rules.mk51
-rw-r--r--keyboards/xmmx/rules.mk50
-rw-r--r--keyboards/xw60/rules.mk38
-rw-r--r--keyboards/yd60mq/rules.mk39
-rw-r--r--keyboards/yd68/rules.mk51
-rw-r--r--keyboards/yosino58/keymaps/default/rules.mk22
-rw-r--r--keyboards/yosino58/rules.mk58
-rw-r--r--keyboards/zinc/keymaps/default/rules.mk1
-rw-r--r--keyboards/zinc/rules.mk53
-rw-r--r--keyboards/zj68/rules.mk38
-rwxr-xr-xkeyboards/zlant/rules.mk48
88 files changed, 394 insertions, 1808 deletions
diff --git a/keyboards/gray_studio/cod67/rules.mk b/keyboards/gray_studio/cod67/rules.mk
index 1df4615eb..196dfb8c4 100644
--- a/keyboards/gray_studio/cod67/rules.mk
+++ b/keyboards/gray_studio/cod67/rules.mk
@@ -9,7 +9,7 @@ MCU = atmega32u4
9# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp 11# ATmega328P USBasp
12BOOTLOADER = lufa-ms 12BOOTLOADER = atmel-dfu # actually lufa-ms
13 13
14# Build Options 14# Build Options
15# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/standaside/rules.mk b/keyboards/standaside/rules.mk
index 993f0acdc..1d92c731c 100644
--- a/keyboards/standaside/rules.mk
+++ b/keyboards/standaside/rules.mk
@@ -9,7 +9,7 @@ MCU = atmega32u4
9# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp 11# ATmega328P USBasp
12BOOTLOADER = atmel_dfu 12BOOTLOADER = atmel-dfu
13 13
14# Build Options 14# Build Options
15# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/tada68/keymaps/default/rules.mk b/keyboards/tada68/keymaps/default/rules.mk
deleted file mode 100644
index 53644093d..000000000
--- a/keyboards/tada68/keymaps/default/rules.mk
+++ /dev/null
@@ -1,18 +0,0 @@
1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = yes # Commands for debug and configuration
10NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18
diff --git a/keyboards/tada68/rules.mk b/keyboards/tada68/rules.mk
index ceb6f96af..ec3991c31 100755
--- a/keyboards/tada68/rules.mk
+++ b/keyboards/tada68/rules.mk
@@ -1,61 +1,26 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu # actually lufa-ms
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48 13
49# Mass storage bootloader on the tada68 uses bin files 14# Mass storage bootloader on the tada68 uses bin files
50FIRMWARE_FORMAT=bin 15FIRMWARE_FORMAT = bin
51 16
52# Build Options 17# Build Options
53# comment out to disable the options. 18# comment out to disable the options.
54# 19#
55BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 20BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
56MOUSEKEY_ENABLE = no # Mouse keys(+4700) 21MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
57EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 22EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
58CONSOLE_ENABLE = yes # Console for debug(+400) 23CONSOLE_ENABLE = no # Console for debug(+400)
59COMMAND_ENABLE = yes # Commands for debug and configuration 24COMMAND_ENABLE = yes # Commands for debug and configuration
60NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 25NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
61RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870) 26RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870)
diff --git a/keyboards/tanuki/rules.mk b/keyboards/tanuki/rules.mk
index fd3c05830..516c3db5e 100644
--- a/keyboards/tanuki/rules.mk
+++ b/keyboards/tanuki/rules.mk
@@ -1,52 +1,15 @@
1
2
3# MCU name 1# MCU name
4MCU = atmega32u4 2MCU = atmega32u4
5 3
6# Processor frequency. 4# Bootloader selection
7# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
8# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
9# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
10# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
11# 9# QMK DFU qmk-dfu
12# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
13# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
14# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = caterina
15# reflect the processor speed set externally so that the code can use accurate
16# software delays.
17F_CPU = 16000000
18
19
20#
21# LUFA specific
22#
23# Target architecture (see library "Board Types" documentation).
24ARCH = AVR8
25
26# Input clock frequency.
27# This will define a symbol, F_USB, in all source code files equal to the
28# input clock frequency (before any prescaling is performed) in Hz. This value may
29# differ from F_CPU if prescaling is used on the latter, and is required as the
30# raw input clock is fed directly to the PLL sections of the AVR for high speed
31# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
32# at the end, this will be done automatically to create a 32-bit value in your
33# source code.
34#
35# If no clock division is performed on the input clock inside the AVR (via the
36# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
37F_USB = $(F_CPU)
38
39# Interrupt driven control endpoint task(+60)
40OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
41
42
43# Boot Section Size in *bytes*
44# Teensy halfKay 512
45# Teensy++ halfKay 1024
46# Atmel DFU loader 4096
47# LUFA bootloader 4096
48# USBaspLoader 2048
49BOOTLOADER=caterina
50 13
51# Build Options 14# Build Options
52# comment out to disable the options. 15# comment out to disable the options.
@@ -64,4 +27,3 @@ AUDIO_ENABLE = no
64UNICODE_ENABLE = no # Unicode 27UNICODE_ENABLE = no # Unicode
65BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 28BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
66TAP_DANCE_ENABLE = no 29TAP_DANCE_ENABLE = no
67
diff --git a/keyboards/telophase/rules.mk b/keyboards/telophase/rules.mk
index 3af91858f..2c8df3295 100644
--- a/keyboards/telophase/rules.mk
+++ b/keyboards/telophase/rules.mk
@@ -1,56 +1,16 @@
1
2OPT_DEFS += -DMITOSIS_PROMICRO
3MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
4 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
5
6# # project specific files
7SRC = matrix.c
8
9
10# MCU name 1# MCU name
11MCU = atmega32u4 2MCU = atmega32u4
12 3
13# Processor frequency. 4# Bootloader selection
14# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
15# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
16# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
17# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
18# 9# QMK DFU qmk-dfu
19# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
20# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
21# does not *change* the processor frequency - it should merely be updated to
22# reflect the processor speed set externally so that the code can use accurate
23# software delays.
24F_CPU = 16000000
25
26#
27# LUFA specific
28#
29# Target architecture (see library "Board Types" documentation).
30ARCH = AVR8
31
32# Input clock frequency.
33# This will define a symbol, F_USB, in all source code files equal to the
34# input clock frequency (before any prescaling is performed) in Hz. This value may
35# differ from F_CPU if prescaling is used on the latter, and is required as the
36# raw input clock is fed directly to the PLL sections of the AVR for high speed
37# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
38# at the end, this will be done automatically to create a 32-bit value in your
39# source code.
40#
41# If no clock division is performed on the input clock inside the AVR (via the
42# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
43F_USB = $(F_CPU)
44
45# Bootloader
46# This definition is optional, and if your keyboard supports multiple bootloaders of
47# different sizes, comment this out, and the correct address will be loaded
48# automatically (+60). See bootloader.mk for all options.
49BOOTLOADER = caterina 12BOOTLOADER = caterina
50 13
51# Interrupt driven control endpoint task(+60)
52OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
53
54# Build Options 14# Build Options
55# comment out to disable the options. 15# comment out to disable the options.
56# 16#
@@ -72,3 +32,10 @@ USB = /dev/ttyACM0
72 32
73# upload: build 33# upload: build
74# $(MITOSIS_UPLOAD_COMMAND) 34# $(MITOSIS_UPLOAD_COMMAND)
35
36OPT_DEFS += -DMITOSIS_PROMICRO
37MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
38 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
39
40# # project specific files
41SRC = matrix.c
diff --git a/keyboards/tetris/rules.mk b/keyboards/tetris/rules.mk
index c3e641c8f..15fcf5cf6 100755
--- a/keyboards/tetris/rules.mk
+++ b/keyboards/tetris/rules.mk
@@ -1,47 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = qmk-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41#OPT_DEFS += -DBOOTLOADER_SIZE=4096
42
43BOOTLOADER =qmk-dfu
44
45 13
46# Build Options 14# Build Options
47# comment out to disable the options. 15# comment out to disable the options.
diff --git a/keyboards/tgr/jane/keymaps/default/rules.mk b/keyboards/tgr/jane/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/tgr/jane/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/the_ruler/keymaps/default/rules.mk b/keyboards/the_ruler/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/the_ruler/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/the_ruler/rules.mk b/keyboards/the_ruler/rules.mk
index 33611c44b..bfcc09261 100644
--- a/keyboards/the_ruler/rules.mk
+++ b/keyboards/the_ruler/rules.mk
@@ -1,14 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Boot Section Size in *bytes* 4# Bootloader selection
5# Teensy halfKay 512 5# Teensy halfkay
6# Teensy++ halfKay 1024 6# Pro Micro caterina
7# Atmel DFU loader 4096 7# Atmel DFU atmel-dfu
8# LUFA bootloader 4096 8# LUFA DFU lufa-dfu
9# USBaspLoader 2048 9# QMK DFU qmk-dfu
10OPT_DEFS += -DBOOTLOADER_SIZE=4096 10# ATmega32A bootloadHID
11 11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
12 13
13# Build Options 14# Build Options
14# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/default/rules.mk b/keyboards/thevankeyboards/bananasplit/keymaps/default/rules.mk
deleted file mode 100644
index 9da4bf91a..000000000
--- a/keyboards/thevankeyboards/bananasplit/keymaps/default/rules.mk
+++ /dev/null
@@ -1,34 +0,0 @@
1# Copyright 2017 Balz Guenat
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16
17# QMK Build Options
18# change to "no" to disable the options, or define them in the Makefile in
19# the appropriate keymap folder that will get included automatically
20#
21# BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
22# MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
23# EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
24# CONSOLE_ENABLE = no # Console for debug(+400)
25# COMMAND_ENABLE = yes # Commands for debug and configuration
26# NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
27# BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
28# MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
29# AUDIO_ENABLE = no # Audio output on port C6
30# UNICODE_ENABLE = no # Unicode
31# BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
32# RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
33# SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
34
diff --git a/keyboards/thevankeyboards/bananasplit/rules.mk b/keyboards/thevankeyboards/bananasplit/rules.mk
index 81570c493..19f0e81f5 100644
--- a/keyboards/thevankeyboards/bananasplit/rules.mk
+++ b/keyboards/thevankeyboards/bananasplit/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48
49 13
50# Build Options 14# Build Options
51# comment out to disable the options. 15# comment out to disable the options.
@@ -59,7 +23,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
59NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA 23NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
60BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
61 25
62
63# Optimize size but this may cause error "relocation truncated to fit" 26# Optimize size but this may cause error "relocation truncated to fit"
64#EXTRALDFLAGS = -Wl,--relax 27#EXTRALDFLAGS = -Wl,--relax
65 28
diff --git a/keyboards/thevankeyboards/caravan/rules.mk b/keyboards/thevankeyboards/caravan/rules.mk
index 6143ed9a6..f21c31f6f 100644
--- a/keyboards/thevankeyboards/caravan/rules.mk
+++ b/keyboards/thevankeyboards/caravan/rules.mk
@@ -1,17 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4
5# Bootloader selection 4# Bootloader selection
6# Teensy halfkay 5# Teensy halfkay
7# Pro Micro caterina 6# Pro Micro caterina
8# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
9# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
10# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
11# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
13 13
14
15# Build Options 14# Build Options
16# change yes to no to disable 15# change yes to no to disable
17# 16#
diff --git a/keyboards/thevankeyboards/minivan/keymaps/default/rules.mk b/keyboards/thevankeyboards/minivan/keymaps/default/rules.mk
deleted file mode 100644
index 7a331cd53..000000000
--- a/keyboards/thevankeyboards/minivan/keymaps/default/rules.mk
+++ /dev/null
@@ -1,18 +0,0 @@
1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = yes # Commands for debug and configuration
10NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18
diff --git a/keyboards/thevankeyboards/minivan/rules.mk b/keyboards/thevankeyboards/minivan/rules.mk
index ea453e4b8..3a2b8ae58 100644
--- a/keyboards/thevankeyboards/minivan/rules.mk
+++ b/keyboards/thevankeyboards/minivan/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48
49 13
50# Build Options 14# Build Options
51# change yes to no to disable 15# change yes to no to disable
@@ -53,7 +17,7 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
53BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) 17BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
54MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 18MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
55EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 19EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
56CONSOLE_ENABLE = yes # Console for debug(+400) 20CONSOLE_ENABLE = no # Console for debug(+400)
57COMMAND_ENABLE = yes # Commands for debug and configuration 21COMMAND_ENABLE = yes # Commands for debug and configuration
58# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
59SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/thevankeyboards/roadkit/keymaps/default/rules.mk b/keyboards/thevankeyboards/roadkit/keymaps/default/rules.mk
deleted file mode 100644
index 7a331cd53..000000000
--- a/keyboards/thevankeyboards/roadkit/keymaps/default/rules.mk
+++ /dev/null
@@ -1,18 +0,0 @@
1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = yes # Commands for debug and configuration
10NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18
diff --git a/keyboards/thevankeyboards/roadkit/rules.mk b/keyboards/thevankeyboards/roadkit/rules.mk
index c2afaa85a..79cbec757 100644
--- a/keyboards/thevankeyboards/roadkit/rules.mk
+++ b/keyboards/thevankeyboards/roadkit/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48
49 13
50# Build Options 14# Build Options
51# change yes to no to disable 15# change yes to no to disable
@@ -53,7 +17,7 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
53BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) 17BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
54MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 18MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
55EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 19EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
56CONSOLE_ENABLE = yes # Console for debug(+400) 20CONSOLE_ENABLE = no # Console for debug(+400)
57COMMAND_ENABLE = yes # Commands for debug and configuration 21COMMAND_ENABLE = yes # Commands for debug and configuration
58# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
59SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/tmo50/rules.mk b/keyboards/tmo50/rules.mk
index f18bf73e8..84abd20e6 100644
--- a/keyboards/tmo50/rules.mk
+++ b/keyboards/tmo50/rules.mk
@@ -1,43 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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 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
41BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
42 13
43# Build Options 14# Build Options
diff --git a/keyboards/toad/rules.mk b/keyboards/toad/rules.mk
index ee87c6e8d..df45fa5df 100644
--- a/keyboards/toad/rules.mk
+++ b/keyboards/toad/rules.mk
@@ -1,45 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41OPT_DEFS += -DBOOTLOADER_SIZE=4096
42
43 13
44# Build Options 14# Build Options
45# comment out to disable the options. 15# comment out to disable the options.
@@ -53,4 +23,4 @@ SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
53NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 23NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
54BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality
55AUDIO_ENABLE ?= no 25AUDIO_ENABLE ?= no
56RGBLIGHT_ENABLE ?= no \ No newline at end of file 26RGBLIGHT_ENABLE ?= no
diff --git a/keyboards/tokyo60/rules.mk b/keyboards/tokyo60/rules.mk
index 3ec2e6150..644e6a541 100644
--- a/keyboards/tokyo60/rules.mk
+++ b/keyboards/tokyo60/rules.mk
@@ -1,55 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48
49# Bootloader
50# This definition is optional, and if your keyboard supports multiple bootloaders of
51# different sizes, comment this out, and the correct address will be loaded
52# automatically (+60). See bootloader.mk for all options.
53BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
54 13
55# Build Options 14# Build Options
diff --git a/keyboards/touchpad/rules.mk b/keyboards/touchpad/rules.mk
index e4fa2ac13..21642c3d2 100644
--- a/keyboards/touchpad/rules.mk
+++ b/keyboards/touchpad/rules.mk
@@ -1,49 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4SRC = matrix.c i2c_master.c 4# Bootloader selection
5 5# Teensy halfkay
6# Processor frequency. 6# Pro Micro caterina
7# This will define a symbol, F_CPU, in all source code files equal to the 7# Atmel DFU atmel-dfu
8# processor frequency in Hz. You can then use this symbol in your source code to 8# LUFA DFU lufa-dfu
9# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 9# QMK DFU qmk-dfu
10# automatically to create a 32-bit value in your source code. 10# ATmega32A bootloadHID
11# 11# ATmega328P USBasp
12# This will be an integer division of F_USB below, as it is sourced by
13# F_USB after it has run through any CPU prescalers. Note that this value
14# does not *change* the processor frequency - it should merely be updated to
15# reflect the processor speed set externally so that the code can use accurate
16# software delays.
17F_CPU = 16000000
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Bootloader
39# This definition is optional, and if your keyboard supports multiple bootloaders of
40# different sizes, comment this out, and the correct address will be loaded
41# automatically (+60). See bootloader.mk for all options.
42BOOTLOADER = caterina 12BOOTLOADER = caterina
43 13
44# Interrupt driven control endpoint task(+60)
45OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
46
47# Build Options 14# Build Options
48# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
49# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -65,3 +32,5 @@ CUSTOM_MATRIX = yes
65 32
66# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 33# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
67SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 34SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
35
36SRC += matrix.c i2c_master.c
diff --git a/keyboards/treadstone32/keymaps/default/rules.mk b/keyboards/treadstone32/keymaps/default/rules.mk
index 8c4541fa1..5ca4c5258 100644
--- a/keyboards/treadstone32/keymaps/default/rules.mk
+++ b/keyboards/treadstone32/keymaps/default/rules.mk
@@ -1,10 +1,7 @@
1
2# Build Options 1# Build Options
3# change to "no" to disable the options, or define them in the Makefile in 2# change to "no" to disable the options, or define them in the Makefile in
4# the appropriate keymap folder that will get included automatically 3# the appropriate keymap folder that will get included automatically
5# 4#
6TAP_DANCE_ENABLE = no
7
8# If your custom treadstone32 pcb, you can rewrite to yes. 5# If your custom treadstone32 pcb, you can rewrite to yes.
9RGBLIGHT_ENABLE = yes # LED underglow (Enable WS2812 RGB underlight.) 6RGBLIGHT_ENABLE = yes # LED underglow (Enable WS2812 RGB underlight.)
10LED_ANIMATIONS = yes # LED animations 7LED_ANIMATIONS = yes # LED animations
@@ -20,6 +17,3 @@ endif
20ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) 17ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
21 OPT_DEFS += -DIOS_DEVICE_ENABLE 18 OPT_DEFS += -DIOS_DEVICE_ENABLE
22endif 19endif
23
24# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
25SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/treadstone32/rules.mk b/keyboards/treadstone32/rules.mk
index 1d37dfc69..dbc46b403 100644
--- a/keyboards/treadstone32/rules.mk
+++ b/keyboards/treadstone32/rules.mk
@@ -1,50 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Bootloader selection 4# Bootloader selection
37# Teensy halfkay 5# Teensy halfkay
38# Pro Micro caterina 6# Pro Micro caterina
39# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
40# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
41# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
42# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
43BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
44 13
45# Interrupt driven control endpoint task(+60)
46OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
47
48# Build Options 14# Build Options
49# change yes to no to disable 15# change yes to no to disable
50# 16#
@@ -61,4 +27,3 @@ UNICODE_ENABLE = no # Unicode
61BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 27BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
62RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. 28RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
63LEADER_ENABLE = no 29LEADER_ENABLE = no
64
diff --git a/keyboards/treadstone48/keymaps/default/rules.mk b/keyboards/treadstone48/keymaps/default/rules.mk
index c53226431..38ef4cc9f 100644
--- a/keyboards/treadstone48/keymaps/default/rules.mk
+++ b/keyboards/treadstone48/keymaps/default/rules.mk
@@ -1,21 +1,3 @@
1
2# Build Options
3# change to "no" to disable the options, or define them in the Makefile in
4# the appropriate keymap folder that will get included automatically
5#
6BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
7MOUSEKEY_ENABLE = no # Mouse keys(+4700)
8EXTRAKEY_ENABLE = no # Audio control and System control(+450)
9CONSOLE_ENABLE = no # Console for debug(+400)
10COMMAND_ENABLE = no # Commands for debug and configuration
11NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
13MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = no # Audio output on port C6
15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
18SWAP_HANDS_ENABLE = no # Enable one-hand typing
19TAP_DANCE_ENABLE = yes 1TAP_DANCE_ENABLE = yes
20 2
21# If your custom treadstone48 pcb, you can rewrite to yes. 3# If your custom treadstone48 pcb, you can rewrite to yes.
diff --git a/keyboards/treadstone48/rules.mk b/keyboards/treadstone48/rules.mk
index 8b0d3cd30..fd3c6df57 100644
--- a/keyboards/treadstone48/rules.mk
+++ b/keyboards/treadstone48/rules.mk
@@ -1,51 +1,16 @@
1SRC += i2c.c
2SRC += serial.c
3SRC += ssd1306.c
4
5# MCU name 1# MCU name
6MCU = atmega32u4 2MCU = atmega32u4
7 3
8# Processor frequency. 4# Bootloader selection
9# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
10# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
11# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
12# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
13# 9# QMK DFU qmk-dfu
14# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
15# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
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 = 16000000
20
21#
22# LUFA specific
23#
24# Target architecture (see library "Board Types" documentation).
25ARCH = AVR8
26
27# Input clock frequency.
28# This will define a symbol, F_USB, in all source code files equal to the
29# input clock frequency (before any prescaling is performed) in Hz. This value may
30# differ from F_CPU if prescaling is used on the latter, and is required as the
31# raw input clock is fed directly to the PLL sections of the AVR for high speed
32# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
33# at the end, this will be done automatically to create a 32-bit value in your
34# source code.
35#
36# If no clock division is performed on the input clock inside the AVR (via the
37# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
38F_USB = $(F_CPU)
39
40# Bootloader
41# This definition is optional, and if your keyboard supports multiple bootloaders of
42# different sizes, comment this out, and the correct address will be loaded
43# automatically (+60). See bootloader.mk for all options.
44BOOTLOADER = caterina 12BOOTLOADER = caterina
45 13
46# Interrupt driven control endpoint task(+60)
47OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
48
49# Build Options 14# Build Options
50# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
51# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -70,3 +35,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
70CUSTOM_MATRIX = yes 35CUSTOM_MATRIX = yes
71 36
72DEFAULT_FOLDER = treadstone48/rev1 37DEFAULT_FOLDER = treadstone48/rev1
38
39SRC += i2c.c
40SRC += serial.c
41SRC += ssd1306.c
diff --git a/keyboards/treasure/type9/rules.mk b/keyboards/treasure/type9/rules.mk
index af90959e1..370c683a5 100644
--- a/keyboards/treasure/type9/rules.mk
+++ b/keyboards/treasure/type9/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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
58OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/uzu42/rev1/rules.mk b/keyboards/uzu42/rev1/rules.mk
index 9d0da7e0f..1e3cebb14 100644
--- a/keyboards/uzu42/rev1/rules.mk
+++ b/keyboards/uzu42/rev1/rules.mk
@@ -1,20 +1 @@
1# Build Options RGBLIGHT_ENABLE = yes
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = no # Mouse keys(+4700)
7EXTRAKEY_ENABLE = no # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = no # Commands for debug and configuration
10NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
17SWAP_HANDS_ENABLE = no # Enable one-hand typing
18
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/uzu42/rules.mk b/keyboards/uzu42/rules.mk
index ff69431d4..aea23f3cd 100644
--- a/keyboards/uzu42/rules.mk
+++ b/keyboards/uzu42/rules.mk
@@ -1,6 +1,3 @@
1# if firmware size over limit, try this option
2# CFLAGS += -flto
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -14,11 +11,6 @@ MCU = atmega32u4
14# ATmega328P USBasp 11# ATmega328P USBasp
15BOOTLOADER = caterina 12BOOTLOADER = caterina
16 13
17# Use split_common libraries
18SPLIT_KEYBOARD = yes
19
20DEFAULT_FOLDER = uzu42/rev1
21
22# Build Options 14# Build Options
23# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
24# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -38,3 +30,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
38# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 30# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
39SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 31SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
40OLED_DRIVER_ENABLE = no # OLED display 32OLED_DRIVER_ENABLE = no # OLED display
33SPLIT_KEYBOARD = yes
34
35DEFAULT_FOLDER = uzu42/rev1
diff --git a/keyboards/v60_type_r/keymaps/default/rules.mk b/keyboards/v60_type_r/keymaps/default/rules.mk
deleted file mode 100644
index b6c9a2580..000000000
--- a/keyboards/v60_type_r/keymaps/default/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1BACKLIGHT_ENABLE = no
2RGBLIGHT_ENABLE = no
diff --git a/keyboards/v60_type_r/keymaps/iso/rules.mk b/keyboards/v60_type_r/keymaps/iso/rules.mk
deleted file mode 100644
index b6c9a2580..000000000
--- a/keyboards/v60_type_r/keymaps/iso/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1BACKLIGHT_ENABLE = no
2RGBLIGHT_ENABLE = no
diff --git a/keyboards/v60_type_r/rules.mk b/keyboards/v60_type_r/rules.mk
index 35a79db16..7533dff3d 100644
--- a/keyboards/v60_type_r/rules.mk
+++ b/keyboards/v60_type_r/rules.mk
@@ -1,53 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
51# Build Options 14# Build Options
52# change yes to no to disable 15# change yes to no to disable
53# 16#
diff --git a/keyboards/vision_division/keymaps/default/rules.mk b/keyboards/vision_division/keymaps/default/rules.mk
index 69a3b2cd2..ef72559a0 100644
--- a/keyboards/vision_division/keymaps/default/rules.mk
+++ b/keyboards/vision_division/keymaps/default/rules.mk
@@ -1,18 +1 @@
1# Build Options AUDIO_ENABLE = yes
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = yes # Console for debug(+400)
9COMMAND_ENABLE = yes # Commands for debug and configuration
10NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = yes # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
17SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
18
diff --git a/keyboards/vitamins_included/keymaps/default/rules.mk b/keyboards/vitamins_included/keymaps/default/rules.mk
deleted file mode 100644
index 8b1378917..000000000
--- a/keyboards/vitamins_included/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1
diff --git a/keyboards/vitamins_included/rev1/rules.mk b/keyboards/vitamins_included/rev1/rules.mk
index 4b1454e15..8b96b5ca4 100644
--- a/keyboards/vitamins_included/rev1/rules.mk
+++ b/keyboards/vitamins_included/rev1/rules.mk
@@ -1,2 +1,11 @@
1SPLIT_KEYBOARD = yes 1# Bootloader selection
2# Teensy halfkay
3# Pro Micro caterina
4# Atmel DFU atmel-dfu
5# LUFA DFU lufa-dfu
6# QMK DFU qmk-dfu
7# ATmega32A bootloadHID
8# ATmega328P USBasp
2BOOTLOADER = caterina 9BOOTLOADER = caterina
10
11SPLIT_KEYBOARD = yes
diff --git a/keyboards/vitamins_included/rev2/rules.mk b/keyboards/vitamins_included/rev2/rules.mk
index 3d8bbe0f6..bacfbea39 100644
--- a/keyboards/vitamins_included/rev2/rules.mk
+++ b/keyboards/vitamins_included/rev2/rules.mk
@@ -1,2 +1,11 @@
1SPLIT_KEYBOARD = yes # Rev2 uses split_common 1# Bootloader selection
2# Teensy halfkay
3# Pro Micro caterina
4# Atmel DFU atmel-dfu
5# LUFA DFU lufa-dfu
6# QMK DFU qmk-dfu
7# ATmega32A bootloadHID
8# ATmega328P USBasp
2BOOTLOADER = qmk-dfu 9BOOTLOADER = qmk-dfu
10
11SPLIT_KEYBOARD = yes
diff --git a/keyboards/vitamins_included/rules.mk b/keyboards/vitamins_included/rules.mk
index 761df0357..d81b4a914 100644
--- a/keyboards/vitamins_included/rules.mk
+++ b/keyboards/vitamins_included/rules.mk
@@ -25,4 +25,4 @@ LAYOUTS = ortho_4x12
25 25
26DEFAULT_FOLDER = vitamins_included/rev2 26DEFAULT_FOLDER = vitamins_included/rev2
27 27
28LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file 28LINK_TIME_OPTIMIZATION_ENABLE = yes
diff --git a/keyboards/vn66/rules.mk b/keyboards/vn66/rules.mk
index ad8bb587c..37005c127 100644
--- a/keyboards/vn66/rules.mk
+++ b/keyboards/vn66/rules.mk
@@ -1,27 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4
5# Bootloader selection 4# Bootloader selection
6# Teensy halfkay 5# Teensy halfkay
7# Pro Micro caterina 6# Pro Micro caterina
8# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
9# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
10# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
11# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
13 13
14
15# If you don't know the bootloader type, then you can specify the
16# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
17# Teensy halfKay 512
18# Teensy++ halfKay 1024
19# Atmel DFU loader 4096
20# LUFA bootloader 4096
21# USBaspLoader 2048
22# OPT_DEFS += -DBOOTLOADER_SIZE=4096
23
24
25# Build Options 14# Build Options
26# change yes to no to disable 15# change yes to no to disable
27# 16#
diff --git a/keyboards/waldo/keymaps/default/rules.mk b/keyboards/waldo/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/waldo/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/waldo/keymaps/default_split_shft_bck/rules.mk b/keyboards/waldo/keymaps/default_split_shft_bck/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/waldo/keymaps/default_split_shft_bck/rules.mk
+++ /dev/null
diff --git a/keyboards/waldo/rules.mk b/keyboards/waldo/rules.mk
index 6b3a9b96c..c174a9eb9 100644
--- a/keyboards/waldo/rules.mk
+++ b/keyboards/waldo/rules.mk
@@ -1,15 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Bootloader 4# Bootloader selection
5# This definition is optional, and if your keyboard supports multiple bootloaders of 5# Teensy halfkay
6# different sizes, comment this out, and the correct address will be loaded 6# Pro Micro caterina
7# automatically (+60). See bootloader.mk for all options. 7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
8BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
9 13
10# Interrupt driven control endpoint task(+60)
11OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
12
13# Build Options 14# Build Options
14# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
15# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/westfoxtrot/aanzee/rules.mk b/keyboards/westfoxtrot/aanzee/rules.mk
index 4ba66a5f7..5032b0d29 100644
--- a/keyboards/westfoxtrot/aanzee/rules.mk
+++ b/keyboards/westfoxtrot/aanzee/rules.mk
@@ -1,49 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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 4# Bootloader selection
41# Teensy halfkay 5# Teensy halfkay
42# Pro Micro caterina 6# Pro Micro caterina
43# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
44# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
45# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
46# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
47BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
48 13
49# Build Options 14# Build Options
diff --git a/keyboards/westfoxtrot/cyclops/rules.mk b/keyboards/westfoxtrot/cyclops/rules.mk
index 10ea51391..04b2bc82f 100644
--- a/keyboards/westfoxtrot/cyclops/rules.mk
+++ b/keyboards/westfoxtrot/cyclops/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
@@ -77,4 +30,4 @@ UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 30BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6 31AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 32FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) \ No newline at end of file 33HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
diff --git a/keyboards/westfoxtrot/cypher/rules.mk b/keyboards/westfoxtrot/cypher/rules.mk
index 63cbd3675..4703282ff 100644
--- a/keyboards/westfoxtrot/cypher/rules.mk
+++ b/keyboards/westfoxtrot/cypher/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/wilba_tech/rama_works_koyu/rules.mk b/keyboards/wilba_tech/rama_works_koyu/rules.mk
index ebcb6a455..cf6a8a96a 100644
--- a/keyboards/wilba_tech/rama_works_koyu/rules.mk
+++ b/keyboards/wilba_tech/rama_works_koyu/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
4 quantum/color.c \
5 drivers/issi/is31fl3731.c \
6 drivers/avr/i2c_master.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -47,4 +40,9 @@ RAW_ENABLE = yes
47DYNAMIC_KEYMAP_ENABLE = yes 40DYNAMIC_KEYMAP_ENABLE = yes
48CIE1931_CURVE = yes 41CIE1931_CURVE = yes
49 42
50#LAYOUTS = ??? 43# project specific files
44SRC = keyboards/wilba_tech/wt_main.c \
45 keyboards/wilba_tech/wt_rgb_backlight.c \
46 quantum/color.c \
47 drivers/issi/is31fl3731.c \
48 drivers/avr/i2c_master.c
diff --git a/keyboards/wilba_tech/rama_works_m10_b/rules.mk b/keyboards/wilba_tech/rama_works_m10_b/rules.mk
index 99330021f..07372d0ac 100644
--- a/keyboards/wilba_tech/rama_works_m10_b/rules.mk
+++ b/keyboards/wilba_tech/rama_works_m10_b/rules.mk
@@ -1,6 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -14,7 +11,6 @@ MCU = atmega32u4
14# ATmega328P USBasp 11# ATmega328P USBasp
15BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
16 13
17
18# Build Options 14# Build Options
19# change yes to no to disable 15# change yes to no to disable
20# 16#
@@ -36,3 +32,6 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
36 32
37RAW_ENABLE = yes 33RAW_ENABLE = yes
38DYNAMIC_KEYMAP_ENABLE = yes 34DYNAMIC_KEYMAP_ENABLE = yes
35
36# project specific files
37SRC = keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/rama_works_m60_a/rules.mk b/keyboards/wilba_tech/rama_works_m60_a/rules.mk
index 4ce5dc54c..1dec6c074 100644
--- a/keyboards/wilba_tech/rama_works_m60_a/rules.mk
+++ b/keyboards/wilba_tech/rama_works_m60_a/rules.mk
@@ -1,12 +1,3 @@
1
2
3# project specific files
4SRC = keyboards/wilba_tech/wt_main.c \
5 keyboards/wilba_tech/wt_rgb_backlight.c \
6 quantum/color.c \
7 drivers/issi/is31fl3731.c \
8 drivers/avr/i2c_master.c
9
10# MCU name 1# MCU name
11MCU = atmega32u4 2MCU = atmega32u4
12 3
@@ -50,3 +41,10 @@ DYNAMIC_KEYMAP_ENABLE = yes
50CIE1931_CURVE = yes 41CIE1931_CURVE = yes
51 42
52LAYOUTS = 60_hhkb 43LAYOUTS = 60_hhkb
44
45# project specific files
46SRC = keyboards/wilba_tech/wt_main.c \
47 keyboards/wilba_tech/wt_rgb_backlight.c \
48 quantum/color.c \
49 drivers/issi/is31fl3731.c \
50 drivers/avr/i2c_master.c
diff --git a/keyboards/wilba_tech/rama_works_m6_a/rules.mk b/keyboards/wilba_tech/rama_works_m6_a/rules.mk
index 32f0e25de..5feee3112 100644
--- a/keyboards/wilba_tech/rama_works_m6_a/rules.mk
+++ b/keyboards/wilba_tech/rama_works_m6_a/rules.mk
@@ -1,6 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -19,7 +16,6 @@ BOOTLOADER = atmel-dfu
19# backlight effects. 16# backlight effects.
20OPT_DEFS += -DNO_SUSPEND_POWER_DOWN 17OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
21 18
22
23# Build Options 19# Build Options
24# change yes to no to disable 20# change yes to no to disable
25# 21#
@@ -43,3 +39,5 @@ RAW_ENABLE = yes
43DYNAMIC_KEYMAP_ENABLE = yes 39DYNAMIC_KEYMAP_ENABLE = yes
44CIE1931_CURVE = no 40CIE1931_CURVE = no
45 41
42# project specific files
43SRC = keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/rama_works_m6_b/rules.mk b/keyboards/wilba_tech/rama_works_m6_b/rules.mk
index c016fa344..4c14af06c 100644
--- a/keyboards/wilba_tech/rama_works_m6_b/rules.mk
+++ b/keyboards/wilba_tech/rama_works_m6_b/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
4 quantum/color.c \
5 drivers/issi/is31fl3218.c \
6 drivers/avr/i2c_master.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -23,7 +16,6 @@ BOOTLOADER = atmel-dfu
23# backlight effects. 16# backlight effects.
24OPT_DEFS += -DNO_SUSPEND_POWER_DOWN 17OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
25 18
26
27# Build Options 19# Build Options
28# change yes to no to disable 20# change yes to no to disable
29# 21#
@@ -47,3 +39,9 @@ RAW_ENABLE = yes
47DYNAMIC_KEYMAP_ENABLE = yes 39DYNAMIC_KEYMAP_ENABLE = yes
48CIE1931_CURVE = yes 40CIE1931_CURVE = yes
49 41
42# project specific files
43SRC = keyboards/wilba_tech/wt_main.c \
44 keyboards/wilba_tech/wt_rgb_backlight.c \
45 quantum/color.c \
46 drivers/issi/is31fl3218.c \
47 drivers/avr/i2c_master.c
diff --git a/keyboards/wilba_tech/rama_works_u80_a/rules.mk b/keyboards/wilba_tech/rama_works_u80_a/rules.mk
index caecaecbb..0f02cd04f 100644
--- a/keyboards/wilba_tech/rama_works_u80_a/rules.mk
+++ b/keyboards/wilba_tech/rama_works_u80_a/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
4 quantum/color.c \
5 drivers/issi/is31fl3731.c \
6 drivers/avr/i2c_master.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -41,3 +33,10 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
41RAW_ENABLE = yes 33RAW_ENABLE = yes
42DYNAMIC_KEYMAP_ENABLE = yes 34DYNAMIC_KEYMAP_ENABLE = yes
43CIE1931_CURVE = yes 35CIE1931_CURVE = yes
36
37# project specific files
38SRC = keyboards/wilba_tech/wt_main.c \
39 keyboards/wilba_tech/wt_rgb_backlight.c \
40 quantum/color.c \
41 drivers/issi/is31fl3731.c \
42 drivers/avr/i2c_master.c
diff --git a/keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk b/keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt60_a/rules.mk b/keyboards/wilba_tech/wt60_a/rules.mk
index 4f702fab4..111c94ee8 100644
--- a/keyboards/wilba_tech/wt60_a/rules.mk
+++ b/keyboards/wilba_tech/wt60_a/rules.mk
@@ -1,54 +1,16 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
11# Processor frequency. 4# Bootloader selection
12# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
13# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
14# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
15# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
16# 9# QMK DFU qmk-dfu
17# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
18# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
19# does not *change* the processor frequency - it should merely be updated to
20# reflect the processor speed set externally so that the code can use accurate
21# software delays.
22F_CPU = 16000000
23
24
25#
26# LUFA specific
27#
28# Target architecture (see library "Board Types" documentation).
29ARCH = AVR8
30
31# Input clock frequency.
32# This will define a symbol, F_USB, in all source code files equal to the
33# input clock frequency (before any prescaling is performed) in Hz. This value may
34# differ from F_CPU if prescaling is used on the latter, and is required as the
35# raw input clock is fed directly to the PLL sections of the AVR for high speed
36# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
37# at the end, this will be done automatically to create a 32-bit value in your
38# source code.
39#
40# If no clock division is performed on the input clock inside the AVR (via the
41# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
42F_USB = $(F_CPU)
43
44# Interrupt driven control endpoint task(+60)
45OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
46
47
48# Boot Section
49BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
50 13
51
52# Build Options 14# Build Options
53# change yes to no to disable 15# change yes to no to disable
54# 16#
@@ -67,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
68AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
69FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk b/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt60_d/rules.mk b/keyboards/wilba_tech/wt60_d/rules.mk
index 7ba0b9223..07372d0ac 100644
--- a/keyboards/wilba_tech/wt60_d/rules.mk
+++ b/keyboards/wilba_tech/wt60_d/rules.mk
@@ -1,6 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -34,4 +31,7 @@ AUDIO_ENABLE = no # Audio output on port C6
34FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
35 32
36RAW_ENABLE = yes 33RAW_ENABLE = yes
37DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 34DYNAMIC_KEYMAP_ENABLE = yes
35
36# project specific files
37SRC = keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk b/keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt65_a/rules.mk b/keyboards/wilba_tech/wt65_a/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt65_a/rules.mk
+++ b/keyboards/wilba_tech/wt65_a/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk b/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt65_b/rules.mk b/keyboards/wilba_tech/wt65_b/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt65_b/rules.mk
+++ b/keyboards/wilba_tech/wt65_b/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk b/keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt69_a/rules.mk b/keyboards/wilba_tech/wt69_a/rules.mk
index f349608cd..7d1c2aa1b 100644
--- a/keyboards/wilba_tech/wt69_a/rules.mk
+++ b/keyboards/wilba_tech/wt69_a/rules.mk
@@ -1,6 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -14,7 +11,6 @@ MCU = atmega32u4
14# ATmega328P USBasp 11# ATmega328P USBasp
15BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
16 13
17
18# Build Options 14# Build Options
19# change yes to no to disable 15# change yes to no to disable
20# 16#
@@ -33,3 +29,6 @@ UNICODE_ENABLE = no # Unicode
33BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
34AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
35FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk b/keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt75_a/rules.mk b/keyboards/wilba_tech/wt75_a/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt75_a/rules.mk
+++ b/keyboards/wilba_tech/wt75_a/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk b/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt75_b/rules.mk b/keyboards/wilba_tech/wt75_b/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt75_b/rules.mk
+++ b/keyboards/wilba_tech/wt75_b/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk b/keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt75_c/rules.mk b/keyboards/wilba_tech/wt75_c/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt75_c/rules.mk
+++ b/keyboards/wilba_tech/wt75_c/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk b/keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk
index 8834bf0c8..4880a57be 100644
--- a/keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk
+++ b/keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk
@@ -1,2 +1,2 @@
1RAW_ENABLE = yes 1RAW_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = yes \ No newline at end of file 2DYNAMIC_KEYMAP_ENABLE = yes
diff --git a/keyboards/wilba_tech/wt80_a/rules.mk b/keyboards/wilba_tech/wt80_a/rules.mk
index 9b5bd1e7f..111c94ee8 100644
--- a/keyboards/wilba_tech/wt80_a/rules.mk
+++ b/keyboards/wilba_tech/wt80_a/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = drivers/issi/is31fl3736.c \
3 drivers/avr/i2c_master.c \
4 quantum/color.c \
5 keyboards/wilba_tech/wt_mono_backlight.c \
6 keyboards/wilba_tech/wt_main.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -18,7 +11,6 @@ MCU = atmega32u4
18# ATmega328P USBasp 11# ATmega328P USBasp
19BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
20 13
21
22# Build Options 14# Build Options
23# change yes to no to disable 15# change yes to no to disable
24# 16#
@@ -37,3 +29,10 @@ UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
39FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = drivers/issi/is31fl3736.c \
35 drivers/avr/i2c_master.c \
36 quantum/color.c \
37 keyboards/wilba_tech/wt_mono_backlight.c \
38 keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/wt8_a/rules.mk b/keyboards/wilba_tech/wt8_a/rules.mk
index 5e87a2995..7d1c2aa1b 100644
--- a/keyboards/wilba_tech/wt8_a/rules.mk
+++ b/keyboards/wilba_tech/wt8_a/rules.mk
@@ -1,6 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
@@ -32,3 +29,6 @@ UNICODE_ENABLE = no # Unicode
32BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
33AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
34FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32
33# project specific files
34SRC = keyboards/wilba_tech/wt_main.c
diff --git a/keyboards/wilba_tech/zeal60/rules.mk b/keyboards/wilba_tech/zeal60/rules.mk
index b8d63050c..11f3867de 100644
--- a/keyboards/wilba_tech/zeal60/rules.mk
+++ b/keyboards/wilba_tech/zeal60/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
4 quantum/color.c \
5 drivers/issi/is31fl3731.c \
6 drivers/avr/i2c_master.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -48,3 +41,10 @@ DYNAMIC_KEYMAP_ENABLE = yes
48CIE1931_CURVE = yes 41CIE1931_CURVE = yes
49 42
50LAYOUTS = 60_ansi 60_iso 60_hhkb 60_ansi_split_bs_rshift 43LAYOUTS = 60_ansi 60_iso 60_hhkb 60_ansi_split_bs_rshift
44
45# project specific files
46SRC = keyboards/wilba_tech/wt_main.c \
47 keyboards/wilba_tech/wt_rgb_backlight.c \
48 quantum/color.c \
49 drivers/issi/is31fl3731.c \
50 drivers/avr/i2c_master.c
diff --git a/keyboards/wilba_tech/zeal65/rules.mk b/keyboards/wilba_tech/zeal65/rules.mk
index f0df99656..6c8783eb2 100644
--- a/keyboards/wilba_tech/zeal65/rules.mk
+++ b/keyboards/wilba_tech/zeal65/rules.mk
@@ -1,10 +1,3 @@
1# project specific files
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
4 quantum/color.c \
5 drivers/issi/is31fl3731.c \
6 drivers/avr/i2c_master.c
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
@@ -46,3 +39,10 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
46RAW_ENABLE = yes 39RAW_ENABLE = yes
47DYNAMIC_KEYMAP_ENABLE = yes 40DYNAMIC_KEYMAP_ENABLE = yes
48CIE1931_CURVE = yes 41CIE1931_CURVE = yes
42
43# project specific files
44SRC = keyboards/wilba_tech/wt_main.c \
45 keyboards/wilba_tech/wt_rgb_backlight.c \
46 quantum/color.c \
47 drivers/issi/is31fl3731.c \
48 drivers/avr/i2c_master.c
diff --git a/keyboards/xd60/rev2/rules.mk b/keyboards/xd60/rev2/rules.mk
index 42f9842af..37f281b0c 100644
--- a/keyboards/xd60/rev2/rules.mk
+++ b/keyboards/xd60/rev2/rules.mk
@@ -1,52 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4 4# Bootloader selection
5# Processor frequency. 5# Teensy halfkay
6# This will define a symbol, F_CPU, in all source code files equal to the 6# Pro Micro caterina
7# processor frequency in Hz. You can then use this symbol in your source code to 7# Atmel DFU atmel-dfu
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 8# LUFA DFU lufa-dfu
9# automatically to create a 32-bit value in your source code. 9# QMK DFU qmk-dfu
10# 10# ATmega32A bootloadHID
11# This will be an integer division of F_USB below, as it is sourced by 11# ATmega328P USBasp
12# F_USB after it has run through any CPU prescalers. Note that this value 12BOOTLOADER = atmel-dfu
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
17
18
19# LUFA specific
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
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
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48OPT_DEFS += -DBOOTLOADER_SIZE=4096
49
50 13
51# Build Options 14# Build Options
52BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) 15BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
diff --git a/keyboards/xd60/rev3/rules.mk b/keyboards/xd60/rev3/rules.mk
index 36f259e05..8e1fd415b 100644
--- a/keyboards/xd60/rev3/rules.mk
+++ b/keyboards/xd60/rev3/rules.mk
@@ -1,53 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4 4# Bootloader selection
5# Processor frequency. 5# Teensy halfkay
6# This will define a symbol, F_CPU, in all source code files equal to the 6# Pro Micro caterina
7# processor frequency in Hz. You can then use this symbol in your source code to 7# Atmel DFU atmel-dfu
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 8# LUFA DFU lufa-dfu
9# automatically to create a 32-bit value in your source code. 9# QMK DFU qmk-dfu
10# 10# ATmega32A bootloadHID
11# This will be an integer division of F_USB below, as it is sourced by 11# ATmega328P USBasp
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
17
18
19# LUFA specific
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
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
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
51# Build Options 14# Build Options
52BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) 15BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
53MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 16MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
diff --git a/keyboards/xd75/keymaps/default/rules.mk b/keyboards/xd75/keymaps/default/rules.mk
deleted file mode 100644
index 52a8f38d4..000000000
--- a/keyboards/xd75/keymaps/default/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
1# Copyright 2013 Jun Wako <wakojun@gmail.com>
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
diff --git a/keyboards/xd75/rules.mk b/keyboards/xd75/rules.mk
index 4b2682b19..9052c8c12 100644
--- a/keyboards/xd75/rules.mk
+++ b/keyboards/xd75/rules.mk
@@ -1,50 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Boot Section Size in *bytes*
42# Teensy halfKay 512
43# Teensy++ halfKay 1024
44# Atmel DFU loader 4096
45# LUFA bootloader 4096
46# USBaspLoader 2048
47OPT_DEFS += -DBOOTLOADER_SIZE=4096
48 13
49# QMK Build Options 14# QMK Build Options
50# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
diff --git a/keyboards/xd84/rules.mk b/keyboards/xd84/rules.mk
index 916645226..d9d316c13 100644
--- a/keyboards/xd84/rules.mk
+++ b/keyboards/xd84/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/xd87/keymaps/default_underglow/rules.mk b/keyboards/xd87/keymaps/default_underglow/rules.mk
index 390dad18d..5cf1edf60 100755
--- a/keyboards/xd87/keymaps/default_underglow/rules.mk
+++ b/keyboards/xd87/keymaps/default_underglow/rules.mk
@@ -1,3 +1,3 @@
1BOOTMAGIC_ENABLE = lite 1BOOTMAGIC_ENABLE = lite
2COMMAND_ENABLE = no 2COMMAND_ENABLE = no
3RGBLIGHT_ENABLE = yes \ No newline at end of file 3RGBLIGHT_ENABLE = yes
diff --git a/keyboards/xd87/rules.mk b/keyboards/xd87/rules.mk
index 1b1b6fdf2..3e8e4e1f5 100644
--- a/keyboards/xd87/rules.mk
+++ b/keyboards/xd87/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/xd96/rules.mk b/keyboards/xd96/rules.mk
index 3a97fe5f9..2079e436c 100644
--- a/keyboards/xd96/rules.mk
+++ b/keyboards/xd96/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/xmmx/rules.mk b/keyboards/xmmx/rules.mk
index ee87c6e8d..df45fa5df 100644
--- a/keyboards/xmmx/rules.mk
+++ b/keyboards/xmmx/rules.mk
@@ -1,45 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41OPT_DEFS += -DBOOTLOADER_SIZE=4096
42
43 13
44# Build Options 14# Build Options
45# comment out to disable the options. 15# comment out to disable the options.
@@ -53,4 +23,4 @@ SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
53NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 23NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
54BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality
55AUDIO_ENABLE ?= no 25AUDIO_ENABLE ?= no
56RGBLIGHT_ENABLE ?= no \ No newline at end of file 26RGBLIGHT_ENABLE ?= no
diff --git a/keyboards/xw60/rules.mk b/keyboards/xw60/rules.mk
index 01435ee54..913ac3c02 100644
--- a/keyboards/xw60/rules.mk
+++ b/keyboards/xw60/rules.mk
@@ -1,48 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39# Bootloader selection 4# Bootloader selection
40# Teensy halfkay 5# Teensy halfkay
41# Pro Micro caterina 6# Pro Micro caterina
42# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
43# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
44# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
45# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
46BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
47 13
48# Build Options 14# Build Options
diff --git a/keyboards/yd60mq/rules.mk b/keyboards/yd60mq/rules.mk
index 2a8963011..1e6d4bb7c 100644
--- a/keyboards/yd60mq/rules.mk
+++ b/keyboards/yd60mq/rules.mk
@@ -1,51 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39# Bootloader selection 4# Bootloader selection
40# Teensy halfkay 5# Teensy halfkay
41# Pro Micro caterina 6# Pro Micro caterina
42# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
43# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
44# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
45# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
46BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
47 13
48
49# Build Options 14# Build Options
50# comment out to disable the options. 15# comment out to disable the options.
51# 16#
diff --git a/keyboards/yd68/rules.mk b/keyboards/yd68/rules.mk
index 2a18c0015..420ab38bf 100644
--- a/keyboards/yd68/rules.mk
+++ b/keyboards/yd68/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
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
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
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# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/yosino58/keymaps/default/rules.mk b/keyboards/yosino58/keymaps/default/rules.mk
index 131f5e1f8..88c202edb 100644
--- a/keyboards/yosino58/keymaps/default/rules.mk
+++ b/keyboards/yosino58/keymaps/default/rules.mk
@@ -1,23 +1,5 @@
1# Build Options 1EXTRAKEY_ENABLE = yes
2# change to "no" to disable the options, or define them in the Makefile in 2RGBLIGHT_ENABLE = yes
3# the appropriate keymap folder that will get included automatically
4#
5BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
6MOUSEKEY_ENABLE = no # Mouse keys(+4700)
7EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
8CONSOLE_ENABLE = no # Console for debug(+400)
9COMMAND_ENABLE = no # Commands for debug and configuration
10NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
12MIDI_ENABLE = no # MIDI controls
13AUDIO_ENABLE = no # Audio output on port C6
14UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
16RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
17SWAP_HANDS_ENABLE = no # Enable one-hand typing
18
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
21 3
22# If you want to change the display of OLED, you need to change here 4# If you want to change the display of OLED, you need to change here
23SRC += ./lib/glcdfont.c \ 5SRC += ./lib/glcdfont.c \
diff --git a/keyboards/yosino58/rules.mk b/keyboards/yosino58/rules.mk
index 25f135a8e..5d3885fb2 100644
--- a/keyboards/yosino58/rules.mk
+++ b/keyboards/yosino58/rules.mk
@@ -1,54 +1,16 @@
1SRC += i2c.c
2SRC += serial.c
3SRC += ssd1306.c
4
5# if firmware size over limit, try this option
6# CFLAGS += -flto
7
8# MCU name 1# MCU name
9MCU = atmega32u4 2MCU = atmega32u4
10 3
11# Processor frequency. 4# Bootloader selection
12# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
13# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
14# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
15# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
16# 9# QMK DFU qmk-dfu
17# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
18# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
19# does not *change* the processor frequency - it should merely be updated to
20# reflect the processor speed set externally so that the code can use accurate
21# software delays.
22F_CPU = 16000000
23
24#
25# LUFA specific
26#
27# Target architecture (see library "Board Types" documentation).
28ARCH = AVR8
29
30# Input clock frequency.
31# This will define a symbol, F_USB, in all source code files equal to the
32# input clock frequency (before any prescaling is performed) in Hz. This value may
33# differ from F_CPU if prescaling is used on the latter, and is required as the
34# raw input clock is fed directly to the PLL sections of the AVR for high speed
35# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
36# at the end, this will be done automatically to create a 32-bit value in your
37# source code.
38#
39# If no clock division is performed on the input clock inside the AVR (via the
40# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
41F_USB = $(F_CPU)
42
43# Bootloader
44# This definition is optional, and if your keyboard supports multiple bootloaders of
45# different sizes, comment this out, and the correct address will be loaded
46# automatically (+60). See bootloader.mk for all options.
47BOOTLOADER = caterina 12BOOTLOADER = caterina
48 13
49# Interrupt driven control endpoint task(+60)
50OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
51
52# Build Options 14# Build Options
53# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
54# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -73,3 +35,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
73CUSTOM_MATRIX = yes 35CUSTOM_MATRIX = yes
74 36
75DEFAULT_FOLDER = yosino58/rev1 37DEFAULT_FOLDER = yosino58/rev1
38
39SRC += i2c.c
40SRC += serial.c
41SRC += ssd1306.c
diff --git a/keyboards/zinc/keymaps/default/rules.mk b/keyboards/zinc/keymaps/default/rules.mk
index 2dcefc001..d2bc96e3a 100644
--- a/keyboards/zinc/keymaps/default/rules.mk
+++ b/keyboards/zinc/keymaps/default/rules.mk
@@ -1,4 +1,3 @@
1
2# Build Options 1# Build Options
3# change to "no" to disable the options, or define them in the Makefile in 2# change to "no" to disable the options, or define them in the Makefile in
4# the appropriate keymap folder that will get included automatically 3# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/zinc/rules.mk b/keyboards/zinc/rules.mk
index 7574af387..d9d840c2d 100644
--- a/keyboards/zinc/rules.mk
+++ b/keyboards/zinc/rules.mk
@@ -1,50 +1,16 @@
1#SRC += i2c.c
2SRC += serial.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
7# Processor frequency. 4# Bootloader selection
8# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
9# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
11# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
12# 9# QMK DFU qmk-dfu
13# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
14# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
15# does not *change* the processor frequency - it should merely be updated to
16# reflect the processor speed set externally so that the code can use accurate
17# software delays.
18F_CPU = 16000000
19
20#
21# LUFA specific
22#
23# Target architecture (see library "Board Types" documentation).
24ARCH = AVR8
25
26# Input clock frequency.
27# This will define a symbol, F_USB, in all source code files equal to the
28# input clock frequency (before any prescaling is performed) in Hz. This value may
29# differ from F_CPU if prescaling is used on the latter, and is required as the
30# raw input clock is fed directly to the PLL sections of the AVR for high speed
31# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
32# at the end, this will be done automatically to create a 32-bit value in your
33# source code.
34#
35# If no clock division is performed on the input clock inside the AVR (via the
36# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
37F_USB = $(F_CPU)
38
39# Bootloader
40# This definition is optional, and if your keyboard supports multiple bootloaders of
41# different sizes, comment this out, and the correct address will be loaded
42# automatically (+60). See bootloader.mk for all options.
43BOOTLOADER = caterina 12BOOTLOADER = caterina
44 13
45# Interrupt driven control endpoint task(+60)
46OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
47
48# Build Options 14# Build Options
49# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
50# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -69,3 +35,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
69CUSTOM_MATRIX = yes 35CUSTOM_MATRIX = yes
70 36
71DEFAULT_FOLDER = zinc/rev1 37DEFAULT_FOLDER = zinc/rev1
38
39#SRC += i2c.c
40SRC += serial.c
diff --git a/keyboards/zj68/rules.mk b/keyboards/zj68/rules.mk
index 79860ed7a..648553cc4 100644
--- a/keyboards/zj68/rules.mk
+++ b/keyboards/zj68/rules.mk
@@ -1,48 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39# Bootloader selection 4# Bootloader selection
40# Teensy halfkay 5# Teensy halfkay
41# Pro Micro caterina 6# Pro Micro caterina
42# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
43# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
44# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
45# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
46BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
47 13
48# Build Options 14# Build Options
diff --git a/keyboards/zlant/rules.mk b/keyboards/zlant/rules.mk
index 0bc5c8aae..82bc13c60 100755
--- a/keyboards/zlant/rules.mk
+++ b/keyboards/zlant/rules.mk
@@ -1,45 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41OPT_DEFS += -DBOOTLOADER_SIZE=4096
42
43 13
44# Build Options 14# Build Options
45# comment out to disable the options. 15# comment out to disable the options.