aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/idobo/keymaps/default75/rules.mk14
-rw-r--r--keyboards/idobo/rules.mk51
-rw-r--r--keyboards/ivy/keymaps/default/rules.mk22
-rw-r--r--keyboards/ivy/rev1/rules.mk3
-rw-r--r--keyboards/ivy/rules.mk51
-rw-r--r--keyboards/jc65/v32u4/keymaps/default/rules.mk0
-rw-r--r--keyboards/jc65/v32u4/rules.mk54
-rw-r--r--keyboards/jd40/rules.mk54
-rw-r--r--keyboards/jd45/rules.mk54
-rw-r--r--keyboards/jnao/rules.mk15
-rw-r--r--keyboards/kagamidget/rules.mk51
-rw-r--r--keyboards/katana60/rules.mk54
-rw-r--r--keyboards/kbdfans/kbd19x/rules.mk51
-rw-r--r--keyboards/kbdfans/kbd4x/rules.mk51
-rw-r--r--keyboards/kbdfans/kbd66/rules.mk54
-rw-r--r--keyboards/kbdfans/kbd67/hotswap/rules.mk51
-rw-r--r--keyboards/kbdfans/kbd67/rev1/rules.mk51
-rw-r--r--keyboards/kbdfans/kbd67/rev2/rules.mk51
-rw-r--r--keyboards/kbdfans/kbd6x/rules.mk54
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rules.mk8
-rw-r--r--keyboards/kbdfans/kbd75/rev2/rules.mk8
-rw-r--r--keyboards/kbdfans/kbd8x/keymaps/default_backlighting/rules.mk1
-rw-r--r--keyboards/kbdfans/kbd8x/rules.mk52
-rw-r--r--keyboards/kbdfans/kbd8x_mk2/rules.mk51
-rw-r--r--keyboards/kc60/rules.mk54
-rw-r--r--keyboards/kc60se/rules.mk53
-rw-r--r--keyboards/keebio/bdn9/rules.mk22
-rw-r--r--keyboards/keebio/bfo9000/rules.mk47
-rw-r--r--keyboards/keebio/chocopad/keymaps/default/rules.mk2
-rw-r--r--keyboards/keebio/chocopad/rules.mk48
-rw-r--r--keyboards/keebio/dilly/rules.mk48
-rw-r--r--keyboards/keebio/ergodicity/rules.mk51
-rw-r--r--keyboards/keebio/fourier/keymaps/default/rules.mk0
-rw-r--r--keyboards/keebio/fourier/rules.mk47
-rw-r--r--keyboards/keebio/iris/rules.mk19
-rw-r--r--keyboards/keebio/laplace/keymaps/default/rules.mk0
-rw-r--r--keyboards/keebio/laplace/rules.mk52
-rw-r--r--keyboards/keebio/levinson/rules.mk16
-rw-r--r--keyboards/keebio/nyquist/rules.mk47
-rw-r--r--keyboards/keebio/quefrency/keymaps/default/rules.mk0
-rw-r--r--keyboards/keebio/quefrency/keymaps/default65/rules.mk0
-rw-r--r--keyboards/keebio/quefrency/rules.mk16
-rw-r--r--keyboards/keebio/rorschach/rules.mk13
-rw-r--r--keyboards/keebio/tragicforce68/rules.mk16
-rw-r--r--keyboards/keebio/tukey/rules.mk15
-rw-r--r--keyboards/keebio/viterbi/rules.mk16
-rw-r--r--keyboards/keebio/wavelet/rules.mk16
-rw-r--r--keyboards/keycapsss/o4l_5x12/rules.mk50
-rw-r--r--keyboards/keyhive/maypad/rules.mk51
-rw-r--r--keyboards/kinesis/alvicstep/rules.mk6
-rw-r--r--keyboards/kinesis/stapelberg/rules.mk5
-rw-r--r--keyboards/kingly_keys/little_foot/rules.mk3
-rw-r--r--keyboards/kingly_keys/romac/rules.mk3
-rw-r--r--keyboards/kingly_keys/romac_plus/rules.mk9
-rw-r--r--keyboards/kingly_keys/ropro/rules.mk2
-rw-r--r--keyboards/kingly_keys/soap/rules.mk1
-rw-r--r--keyboards/kira75/rules.mk54
-rw-r--r--keyboards/kmac/rules.mk52
-rwxr-xr-xkeyboards/kmini/rules.mk59
-rw-r--r--keyboards/knops/mini/rules.mk54
-rw-r--r--keyboards/kona_classic/rules.mk55
-rw-r--r--keyboards/kudox/keymaps/default/rules.mk0
-rw-r--r--keyboards/kudox/rules.mk41
-rw-r--r--keyboards/kudox_game/keymaps/default/rules.mk0
-rw-r--r--keyboards/kudox_game/rules.mk40
65 files changed, 317 insertions, 1672 deletions
diff --git a/keyboards/idobo/keymaps/default75/rules.mk b/keyboards/idobo/keymaps/default75/rules.mk
deleted file mode 100644
index 7efceba50..000000000
--- a/keyboards/idobo/keymaps/default75/rules.mk
+++ /dev/null
@@ -1,14 +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/>.
diff --git a/keyboards/idobo/rules.mk b/keyboards/idobo/rules.mk
index a5a86cc6a..421a4eaae 100644
--- a/keyboards/idobo/rules.mk
+++ b/keyboards/idobo/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/ivy/keymaps/default/rules.mk b/keyboards/ivy/keymaps/default/rules.mk
deleted file mode 100644
index cd169fbfd..000000000
--- a/keyboards/ivy/keymaps/default/rules.mk
+++ /dev/null
@@ -1,22 +0,0 @@
1
2
3# Build Options
4# change to "no" to disable the options, or define them in the Makefile in
5# the appropriate keymap folder that will get included automatically
6#
7BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
8MOUSEKEY_ENABLE = no # Mouse keys(+4700)
9EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
10CONSOLE_ENABLE = no # Console for debug(+400)
11COMMAND_ENABLE = no # Commands for debug and configuration
12NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
13BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
14MIDI_ENABLE = no # MIDI controls
15AUDIO_ENABLE = no # Audio output on port C6
16UNICODE_ENABLE = no # Unicode
17BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
18RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
19
20# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
21SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
22
diff --git a/keyboards/ivy/rev1/rules.mk b/keyboards/ivy/rev1/rules.mk
index f4043e2b7..e69de29bb 100644
--- a/keyboards/ivy/rev1/rules.mk
+++ b/keyboards/ivy/rev1/rules.mk
@@ -1,3 +0,0 @@
1BACKLIGHT_ENABLE = yes
2RGBLIGHT_ENABLE = no
3AUDIO_ENABLE = no \ No newline at end of file
diff --git a/keyboards/ivy/rules.mk b/keyboards/ivy/rules.mk
index b27739644..ae94bd3fb 100644
--- a/keyboards/ivy/rules.mk
+++ b/keyboards/ivy/rules.mk
@@ -1,47 +1,16 @@
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# 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
37# This definition is optional, and if your keyboard supports multiple bootloaders of
38# different sizes, comment this out, and the correct address will be loaded
39# automatically (+60). See bootloader.mk for all options.
40BOOTLOADER = caterina 12BOOTLOADER = caterina
41 13
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45# Build Options 14# Build Options
46# 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
47# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
@@ -50,9 +19,9 @@ BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
50MOUSEKEY_ENABLE = no # Mouse keys(+4700) 19MOUSEKEY_ENABLE = no # Mouse keys(+4700)
51EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 20EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
52CONSOLE_ENABLE = no # Console for debug(+400) 21CONSOLE_ENABLE = no # Console for debug(+400)
53COMMAND_ENABLE = yes # Commands for debug and configuration 22COMMAND_ENABLE = no # Commands for debug and configuration
54NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 23NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
55BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
56MIDI_ENABLE = no # MIDI controls 25MIDI_ENABLE = no # MIDI controls
57AUDIO_ENABLE = no # Audio output on port C6 26AUDIO_ENABLE = no # Audio output on port C6
58UNICODE_ENABLE = no # Unicode 27UNICODE_ENABLE = no # Unicode
diff --git a/keyboards/jc65/v32u4/keymaps/default/rules.mk b/keyboards/jc65/v32u4/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/jc65/v32u4/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/jc65/v32u4/rules.mk b/keyboards/jc65/v32u4/rules.mk
index cc905fb18..e1498325c 100644
--- a/keyboards/jc65/v32u4/rules.mk
+++ b/keyboards/jc65/v32u4/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
diff --git a/keyboards/jd40/rules.mk b/keyboards/jd40/rules.mk
index 5fc0a45e4..439f885fe 100644
--- a/keyboards/jd40/rules.mk
+++ b/keyboards/jd40/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.
diff --git a/keyboards/jd45/rules.mk b/keyboards/jd45/rules.mk
index e7ccb6325..9ec5048ae 100644
--- a/keyboards/jd45/rules.mk
+++ b/keyboards/jd45/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.
diff --git a/keyboards/jnao/rules.mk b/keyboards/jnao/rules.mk
index 396983bc0..913ba4d1e 100644
--- a/keyboards/jnao/rules.mk
+++ b/keyboards/jnao/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/kagamidget/rules.mk b/keyboards/kagamidget/rules.mk
index e7445a6fa..93c64e735 100644
--- a/keyboards/kagamidget/rules.mk
+++ b/keyboards/kagamidget/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/katana60/rules.mk b/keyboards/katana60/rules.mk
index d4ed1d08d..ef5ef0685 100644
--- a/keyboards/katana60/rules.mk
+++ b/keyboards/katana60/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
diff --git a/keyboards/kbdfans/kbd19x/rules.mk b/keyboards/kbdfans/kbd19x/rules.mk
index b7a08f241..0f6a80f8c 100644
--- a/keyboards/kbdfans/kbd19x/rules.mk
+++ b/keyboards/kbdfans/kbd19x/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/kbdfans/kbd4x/rules.mk b/keyboards/kbdfans/kbd4x/rules.mk
index 7e9ea7912..c5a10bce8 100644
--- a/keyboards/kbdfans/kbd4x/rules.mk
+++ b/keyboards/kbdfans/kbd4x/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/kbdfans/kbd66/rules.mk b/keyboards/kbdfans/kbd66/rules.mk
index ffefc4bc8..7484ca9e7 100644
--- a/keyboards/kbdfans/kbd66/rules.mk
+++ b/keyboards/kbdfans/kbd66/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
diff --git a/keyboards/kbdfans/kbd67/hotswap/rules.mk b/keyboards/kbdfans/kbd67/hotswap/rules.mk
index f8667d280..4b51619da 100644
--- a/keyboards/kbdfans/kbd67/hotswap/rules.mk
+++ b/keyboards/kbdfans/kbd67/hotswap/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/kbdfans/kbd67/rev1/rules.mk b/keyboards/kbdfans/kbd67/rev1/rules.mk
index 0d7c14ad4..d71446caf 100644
--- a/keyboards/kbdfans/kbd67/rev1/rules.mk
+++ b/keyboards/kbdfans/kbd67/rev1/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/kbdfans/kbd67/rev2/rules.mk b/keyboards/kbdfans/kbd67/rev2/rules.mk
index 5e874a041..431ff194e 100644
--- a/keyboards/kbdfans/kbd67/rev2/rules.mk
+++ b/keyboards/kbdfans/kbd67/rev2/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/kbdfans/kbd6x/rules.mk b/keyboards/kbdfans/kbd6x/rules.mk
index 72c52d3c6..efdbdbb53 100644
--- a/keyboards/kbdfans/kbd6x/rules.mk
+++ b/keyboards/kbdfans/kbd6x/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
diff --git a/keyboards/kbdfans/kbd75/rev1/rules.mk b/keyboards/kbdfans/kbd75/rev1/rules.mk
index 421894a38..de0af62b8 100644
--- a/keyboards/kbdfans/kbd75/rev1/rules.mk
+++ b/keyboards/kbdfans/kbd75/rev1/rules.mk
@@ -2,9 +2,15 @@
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# 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
5BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
6 13
7
8# Build Options 14# Build Options
9# comment out to disable the options. 15# comment out to disable the options.
10# 16#
diff --git a/keyboards/kbdfans/kbd75/rev2/rules.mk b/keyboards/kbdfans/kbd75/rev2/rules.mk
index 421894a38..de0af62b8 100644
--- a/keyboards/kbdfans/kbd75/rev2/rules.mk
+++ b/keyboards/kbdfans/kbd75/rev2/rules.mk
@@ -2,9 +2,15 @@
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# 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
5BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
6 13
7
8# Build Options 14# Build Options
9# comment out to disable the options. 15# comment out to disable the options.
10# 16#
diff --git a/keyboards/kbdfans/kbd8x/keymaps/default_backlighting/rules.mk b/keyboards/kbdfans/kbd8x/keymaps/default_backlighting/rules.mk
deleted file mode 100644
index d98bb1cb1..000000000
--- a/keyboards/kbdfans/kbd8x/keymaps/default_backlighting/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1#Build Options
diff --git a/keyboards/kbdfans/kbd8x/rules.mk b/keyboards/kbdfans/kbd8x/rules.mk
index f6ed7729c..f0a4689fe 100644
--- a/keyboards/kbdfans/kbd8x/rules.mk
+++ b/keyboards/kbdfans/kbd8x/rules.mk
@@ -1,52 +1,16 @@
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
47BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
48 13
49
50# Build Options 14# Build Options
51# change yes to no to disable 15# change yes to no to disable
52# 16#
diff --git a/keyboards/kbdfans/kbd8x_mk2/rules.mk b/keyboards/kbdfans/kbd8x_mk2/rules.mk
index 43e0dcf40..ba8b8ee87 100644
--- a/keyboards/kbdfans/kbd8x_mk2/rules.mk
+++ b/keyboards/kbdfans/kbd8x_mk2/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/kc60/rules.mk b/keyboards/kc60/rules.mk
index 05cfe88da..3e7e4797c 100644
--- a/keyboards/kc60/rules.mk
+++ b/keyboards/kc60/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
diff --git a/keyboards/kc60se/rules.mk b/keyboards/kc60se/rules.mk
index f090f3ecb..1685cb742 100644
--- a/keyboards/kc60se/rules.mk
+++ b/keyboards/kc60se/rules.mk
@@ -1,52 +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
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
47BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
48OPT_DEFS += -DBOOTLOADER_SIZE=4096
49
50 13
51# Build Options 14# Build Options
52# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/keebio/bdn9/rules.mk b/keyboards/keebio/bdn9/rules.mk
index 3ab849108..8b4bb334e 100644
--- a/keyboards/keebio/bdn9/rules.mk
+++ b/keyboards/keebio/bdn9/rules.mk
@@ -1,11 +1,5 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5
6# Interrupt driven control endpoint task(+60)
7OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
8
9 3
10# Bootloader selection 4# Bootloader selection
11# Teensy halfkay 5# Teensy halfkay
@@ -13,20 +7,10 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
13# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
14# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
15# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
16# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
17BOOTLOADER = caterina 12BOOTLOADER = caterina
18 13
19
20# If you don't know the bootloader type, then you can specify the
21# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
22# Teensy halfKay 512
23# Teensy++ halfKay 1024
24# Atmel DFU loader 4096
25# LUFA bootloader 4096
26# USBaspLoader 2048
27# OPT_DEFS += -DBOOTLOADER_SIZE=4096
28
29
30# Build Options 14# Build Options
31# change yes to no to disable 15# change yes to no to disable
32# 16#
diff --git a/keyboards/keebio/bfo9000/rules.mk b/keyboards/keebio/bfo9000/rules.mk
index 931a0f5e9..c0f4ed42d 100644
--- a/keyboards/keebio/bfo9000/rules.mk
+++ b/keyboards/keebio/bfo9000/rules.mk
@@ -1,47 +1,16 @@
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# 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
37# This definition is optional, and if your keyboard supports multiple bootloaders of
38# different sizes, comment this out, and the correct address will be loaded
39# automatically (+60). See bootloader.mk for all options.
40BOOTLOADER = caterina 12BOOTLOADER = caterina
41 13
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45# Build Options 14# Build Options
46# 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
47# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/keebio/chocopad/keymaps/default/rules.mk b/keyboards/keebio/chocopad/keymaps/default/rules.mk
deleted file mode 100644
index a81250cdf..000000000
--- a/keyboards/keebio/chocopad/keymaps/default/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1RGBLIGHT_ENABLE = yes
2
diff --git a/keyboards/keebio/chocopad/rules.mk b/keyboards/keebio/chocopad/rules.mk
index 39ce38e10..ac68b6652 100644
--- a/keyboards/keebio/chocopad/rules.mk
+++ b/keyboards/keebio/chocopad/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 = caterina
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.
diff --git a/keyboards/keebio/dilly/rules.mk b/keyboards/keebio/dilly/rules.mk
index 812362567..14f62bd8f 100644
--- a/keyboards/keebio/dilly/rules.mk
+++ b/keyboards/keebio/dilly/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 = caterina
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.
diff --git a/keyboards/keebio/ergodicity/rules.mk b/keyboards/keebio/ergodicity/rules.mk
index 974f75afd..0c794fb75 100644
--- a/keyboards/keebio/ergodicity/rules.mk
+++ b/keyboards/keebio/ergodicity/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/keebio/fourier/keymaps/default/rules.mk b/keyboards/keebio/fourier/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/keebio/fourier/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/keebio/fourier/rules.mk b/keyboards/keebio/fourier/rules.mk
index 9512c0f64..9bd9e1dcc 100644
--- a/keyboards/keebio/fourier/rules.mk
+++ b/keyboards/keebio/fourier/rules.mk
@@ -1,47 +1,16 @@
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# 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
37# This definition is optional, and if your keyboard supports multiple bootloaders of
38# different sizes, comment this out, and the correct address will be loaded
39# automatically (+60). See bootloader.mk for all options.
40BOOTLOADER = caterina 12BOOTLOADER = caterina
41 13
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45# Build Options 14# Build Options
46# 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
47# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/keebio/iris/rules.mk b/keyboards/keebio/iris/rules.mk
index 83b13b160..ed730b02b 100644
--- a/keyboards/keebio/iris/rules.mk
+++ b/keyboards/keebio/iris/rules.mk
@@ -1,12 +1,14 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5 3
6# Bootloader 4# Bootloader selection
7# This definition is optional, and if your keyboard supports multiple bootloaders of 5# Teensy halfkay
8# different sizes, comment this out, and the correct address will be loaded 6# Pro Micro caterina
9# 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
10ifneq (, $(findstring rev3, $(KEYBOARD))) 12ifneq (, $(findstring rev3, $(KEYBOARD)))
11 BOOTLOADER = qmk-dfu 13 BOOTLOADER = qmk-dfu
12else ifneq (, $(findstring rev4, $(KEYBOARD))) 14else ifneq (, $(findstring rev4, $(KEYBOARD)))
@@ -15,9 +17,6 @@ else
15 BOOTLOADER = caterina 17 BOOTLOADER = caterina
16endif 18endif
17 19
18# Interrupt driven control endpoint task(+60)
19OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
20
21# Build Options 20# Build Options
22# change to "no" to disable the options, or define them in the Makefile in 21# change to "no" to disable the options, or define them in the Makefile in
23# the appropriate keymap folder that will get included automatically 22# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/keebio/laplace/keymaps/default/rules.mk b/keyboards/keebio/laplace/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/keebio/laplace/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/keebio/laplace/rules.mk b/keyboards/keebio/laplace/rules.mk
index 7f896e1bd..01efe96f6 100644
--- a/keyboards/keebio/laplace/rules.mk
+++ b/keyboards/keebio/laplace/rules.mk
@@ -1,49 +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 = caterina
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# Teensy halfKay 512
42# Teensy++ halfKay 1024
43# Atmel DFU loader 4096
44# LUFA bootloader 4096
45# USBaspLoader 2048
46OPT_DEFS += -DBOOTLOADER_SIZE=4096
47 13
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
diff --git a/keyboards/keebio/levinson/rules.mk b/keyboards/keebio/levinson/rules.mk
index cdaef4889..c7446445f 100644
--- a/keyboards/keebio/levinson/rules.mk
+++ b/keyboards/keebio/levinson/rules.mk
@@ -1,11 +1,15 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5BOOTLOADER = caterina
6 3
7# Interrupt driven control endpoint task(+60) 4# Bootloader selection
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
9 13
10# Build Options 14# Build Options
11# 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/keebio/nyquist/rules.mk b/keyboards/keebio/nyquist/rules.mk
index ea4053763..bf3b67621 100644
--- a/keyboards/keebio/nyquist/rules.mk
+++ b/keyboards/keebio/nyquist/rules.mk
@@ -1,51 +1,20 @@
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# 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
37# This definition is optional, and if your keyboard supports multiple bootloaders of
38# different sizes, comment this out, and the correct address will be loaded
39# automatically (+60). See bootloader.mk for all options.
40ifneq (, $(findstring rev3, $(KEYBOARD))) 12ifneq (, $(findstring rev3, $(KEYBOARD)))
41 BOOTLOADER = qmk-dfu 13 BOOTLOADER = qmk-dfu
42else 14else
43 BOOTLOADER = caterina 15 BOOTLOADER = caterina
44endif 16endif
45 17
46# Interrupt driven control endpoint task(+60)
47OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
48
49# Build Options 18# Build Options
50# change to "no" to disable the options, or define them in the Makefile in 19# change to "no" to disable the options, or define them in the Makefile in
51# the appropriate keymap folder that will get included automatically 20# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/keebio/quefrency/keymaps/default/rules.mk b/keyboards/keebio/quefrency/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/keebio/quefrency/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/keebio/quefrency/keymaps/default65/rules.mk b/keyboards/keebio/quefrency/keymaps/default65/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/keebio/quefrency/keymaps/default65/rules.mk
+++ /dev/null
diff --git a/keyboards/keebio/quefrency/rules.mk b/keyboards/keebio/quefrency/rules.mk
index c28696c08..284a0def3 100644
--- a/keyboards/keebio/quefrency/rules.mk
+++ b/keyboards/keebio/quefrency/rules.mk
@@ -1,11 +1,15 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5BOOTLOADER = caterina
6 3
7# Interrupt driven control endpoint task(+60) 4# Bootloader selection
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
9 13
10# Build Options 14# Build Options
11# 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/keebio/rorschach/rules.mk b/keyboards/keebio/rorschach/rules.mk
index b50074052..f6007e442 100644
--- a/keyboards/keebio/rorschach/rules.mk
+++ b/keyboards/keebio/rorschach/rules.mk
@@ -1,10 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3F_CPU = 16000000 3
4ARCH = AVR8 4# Bootloader selection
5F_USB = $(F_CPU) 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
6BOOTLOADER = caterina 12BOOTLOADER = caterina
7OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
8 13
9BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 14BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
10MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 15MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
diff --git a/keyboards/keebio/tragicforce68/rules.mk b/keyboards/keebio/tragicforce68/rules.mk
index a652f1fac..2118d3fc2 100644
--- a/keyboards/keebio/tragicforce68/rules.mk
+++ b/keyboards/keebio/tragicforce68/rules.mk
@@ -1,11 +1,15 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5BOOTLOADER = caterina
6 3
7# Interrupt driven control endpoint task(+60) 4# Bootloader selection
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
9 13
10# Build Options 14# Build Options
11# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/keebio/tukey/rules.mk b/keyboards/keebio/tukey/rules.mk
index ab860459d..c74f16996 100644
--- a/keyboards/keebio/tukey/rules.mk
+++ b/keyboards/keebio/tukey/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 = caterina 12BOOTLOADER = caterina
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/keebio/viterbi/rules.mk b/keyboards/keebio/viterbi/rules.mk
index 811f57fdb..0759ab925 100644
--- a/keyboards/keebio/viterbi/rules.mk
+++ b/keyboards/keebio/viterbi/rules.mk
@@ -1,11 +1,15 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5BOOTLOADER = caterina
6 3
7# Interrupt driven control endpoint task(+60) 4# Bootloader selection
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
9 13
10# Build Options 14# Build Options
11# 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/keebio/wavelet/rules.mk b/keyboards/keebio/wavelet/rules.mk
index cfff50a41..f924db62b 100644
--- a/keyboards/keebio/wavelet/rules.mk
+++ b/keyboards/keebio/wavelet/rules.mk
@@ -1,11 +1,15 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2F_CPU = 16000000
3ARCH = AVR8
4F_USB = $(F_CPU)
5BOOTLOADER = caterina
6 3
7# Interrupt driven control endpoint task(+60) 4# Bootloader selection
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
9 13
10# Build Options 14# Build Options
11# 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/keycapsss/o4l_5x12/rules.mk b/keyboards/keycapsss/o4l_5x12/rules.mk
index 36c30f309..070353537 100644
--- a/keyboards/keycapsss/o4l_5x12/rules.mk
+++ b/keyboards/keycapsss/o4l_5x12/rules.mk
@@ -1,62 +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
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 = caterina 12BOOTLOADER = caterina
48 13
49
50# If you don't know the bootloader type, then you can specify the
51# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
52# Teensy halfKay 512
53# Teensy++ halfKay 1024
54# Atmel DFU loader 4096
55# LUFA bootloader 4096
56# USBaspLoader 2048
57# OPT_DEFS += -DBOOTLOADER_SIZE=4096
58
59
60BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 14BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
61MOUSEKEY_ENABLE = no # Mouse keys(+4700) 15MOUSEKEY_ENABLE = no # Mouse keys(+4700)
62EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 16EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
diff --git a/keyboards/keyhive/maypad/rules.mk b/keyboards/keyhive/maypad/rules.mk
index d34236a16..f76179af6 100644
--- a/keyboards/keyhive/maypad/rules.mk
+++ b/keyboards/keyhive/maypad/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/kinesis/alvicstep/rules.mk b/keyboards/kinesis/alvicstep/rules.mk
index 76e69d027..e69de29bb 100644
--- a/keyboards/kinesis/alvicstep/rules.mk
+++ b/keyboards/kinesis/alvicstep/rules.mk
@@ -1,6 +0,0 @@
1# just silently stop, since we need to upload with teensy uploader
2# upload: build
3
4
5
6
diff --git a/keyboards/kinesis/stapelberg/rules.mk b/keyboards/kinesis/stapelberg/rules.mk
index 3f2ff2d6c..e69de29bb 100644
--- a/keyboards/kinesis/stapelberg/rules.mk
+++ b/keyboards/kinesis/stapelberg/rules.mk
@@ -1,5 +0,0 @@
1
2
3
4
5
diff --git a/keyboards/kingly_keys/little_foot/rules.mk b/keyboards/kingly_keys/little_foot/rules.mk
index 0c3011db9..d360340c5 100644
--- a/keyboards/kingly_keys/little_foot/rules.mk
+++ b/keyboards/kingly_keys/little_foot/rules.mk
@@ -7,7 +7,8 @@ MCU = atmega32u4
7# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
10# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
11BOOTLOADER = caterina 12BOOTLOADER = caterina
12 13
13# Build Options 14# Build Options
diff --git a/keyboards/kingly_keys/romac/rules.mk b/keyboards/kingly_keys/romac/rules.mk
index 1dd9bd658..a3da8aa83 100644
--- a/keyboards/kingly_keys/romac/rules.mk
+++ b/keyboards/kingly_keys/romac/rules.mk
@@ -7,7 +7,8 @@ MCU = atmega32u4
7# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
10# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
11BOOTLOADER = caterina 12BOOTLOADER = caterina
12 13
13# Build Options 14# Build Options
diff --git a/keyboards/kingly_keys/romac_plus/rules.mk b/keyboards/kingly_keys/romac_plus/rules.mk
index d0aab2dd1..ce00f6166 100644
--- a/keyboards/kingly_keys/romac_plus/rules.mk
+++ b/keyboards/kingly_keys/romac_plus/rules.mk
@@ -1,5 +1,14 @@
1# MCU name
1MCU = atmega32u4 2MCU = atmega32u4
2 3
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
3BOOTLOADER = caterina 12BOOTLOADER = caterina
4 13
5# Build Options 14# Build Options
diff --git a/keyboards/kingly_keys/ropro/rules.mk b/keyboards/kingly_keys/ropro/rules.mk
index 0819dbafa..69774ec35 100644
--- a/keyboards/kingly_keys/ropro/rules.mk
+++ b/keyboards/kingly_keys/ropro/rules.mk
@@ -1,7 +1,6 @@
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
@@ -12,7 +11,6 @@ MCU = atmega32u4
12# ATmega328P USBasp 11# ATmega328P USBasp
13BOOTLOADER = caterina 12BOOTLOADER = caterina
14 13
15
16# Build Options 14# Build Options
17# change yes to no to disable 15# change yes to no to disable
18# 16#
diff --git a/keyboards/kingly_keys/soap/rules.mk b/keyboards/kingly_keys/soap/rules.mk
index 7e98ab6eb..27e315847 100644
--- a/keyboards/kingly_keys/soap/rules.mk
+++ b/keyboards/kingly_keys/soap/rules.mk
@@ -11,7 +11,6 @@ MCU = atmega32u4
11# ATmega328P USBasp 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/kira75/rules.mk b/keyboards/kira75/rules.mk
index 218221092..0f29718cc 100644
--- a/keyboards/kira75/rules.mk
+++ b/keyboards/kira75/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
diff --git a/keyboards/kmac/rules.mk b/keyboards/kmac/rules.mk
index 33e5e43f7..8f53f26cd 100644
--- a/keyboards/kmac/rules.mk
+++ b/keyboards/kmac/rules.mk
@@ -1,59 +1,19 @@
1# Project specific files
2SRC += matrix.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
7# Processor frequency. 4# Processor frequency
8# This will define a symbol, F_CPU, in all source code files equal to the
9# processor frequency in Hz. You can then use this symbol in your source code to
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
11# automatically to create a 32-bit value in your source code.
12#
13# This will be an integer division of F_USB below, as it is sourced by
14# F_USB after it has run through any CPU prescalers. Note that this value
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 = 8000000 5F_CPU = 8000000
19 6
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# Interrupt driven control endpoint task(+60)
41OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
42
43
44# Bootloader selection 7# Bootloader selection
45# Teensy halfkay 8# Teensy halfkay
46# Pro Micro caterina 9# Pro Micro caterina
47# Atmel DFU atmel-dfu 10# Atmel DFU atmel-dfu
48# LUFA DFU lufa-dfu 11# LUFA DFU lufa-dfu
49# QMK DFU qmk-dfu 12# QMK DFU qmk-dfu
50# atmega32a bootloadHID 13# ATmega32A bootloadHID
14# ATmega328P USBasp
51BOOTLOADER = atmel-dfu 15BOOTLOADER = atmel-dfu
52 16
53
54# Supported layouts
55LAYOUTS = tkl_ansi
56
57# Build Options 17# Build Options
58# change yes to no to disable 18# change yes to no to disable
59# 19#
@@ -73,3 +33,9 @@ UNICODE_ENABLE = no # Unicode
73BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 33BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
74AUDIO_ENABLE = no # Audio output on port C6 34AUDIO_ENABLE = no # Audio output on port C6
75FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 35FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
36
37# Project specific files
38SRC += matrix.c
39
40# Supported layouts
41LAYOUTS = tkl_ansi
diff --git a/keyboards/kmini/rules.mk b/keyboards/kmini/rules.mk
index a4183870c..0406c3232 100755
--- a/keyboards/kmini/rules.mk
+++ b/keyboards/kmini/rules.mk
@@ -1,54 +1,18 @@
1# Project specific files
2SRC = matrix.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
7# Processor frequency. 4# Processor frequency
8# This will define a symbol, F_CPU, in all source code files equal to the
9# processor frequency in Hz. You can then use this symbol in your source code to
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
11# automatically to create a 32-bit value in your source code.
12#
13# This will be an integer division of F_USB below, as it is sourced by
14# F_USB after it has run through any CPU prescalers. Note that this value
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 = 8000000 5F_CPU = 8000000
19 6
20 7# Bootloader selection
21# 8# Teensy halfkay
22# LUFA specific 9# Pro Micro caterina
23# 10# Atmel DFU atmel-dfu
24# Target architecture (see library "Board Types" documentation). 11# LUFA DFU lufa-dfu
25ARCH = AVR8 12# QMK DFU qmk-dfu
26 13# ATmega32A bootloadHID
27# Input clock frequency. 14# ATmega328P USBasp
28# This will define a symbol, F_USB, in all source code files equal to the 15BOOTLOADER = atmel-dfu
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# Interrupt driven control endpoint task(+60)
41OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
42
43
44# Boot Section Size in *bytes*
45# Teensy halfKay 512
46# Teensy++ halfKay 1024
47# Atmel DFU loader 4096
48# LUFA bootloader 4096
49# USBaspLoader 2048
50OPT_DEFS += -DBOOTLOADER_SIZE=4096
51
52 16
53# Build Options 17# Build Options
54# change yes to no to disable 18# change yes to no to disable
@@ -69,3 +33,6 @@ UNICODE_ENABLE = no # Unicode
69BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 33BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
70AUDIO_ENABLE = no # Audio output on port C6 34AUDIO_ENABLE = no # Audio output on port C6
71FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 35FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
36
37# Project specific files
38SRC = matrix.c
diff --git a/keyboards/knops/mini/rules.mk b/keyboards/knops/mini/rules.mk
index d4ed1d08d..ef5ef0685 100644
--- a/keyboards/knops/mini/rules.mk
+++ b/keyboards/knops/mini/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
diff --git a/keyboards/kona_classic/rules.mk b/keyboards/kona_classic/rules.mk
index 8b4179e39..0a7df029c 100644
--- a/keyboards/kona_classic/rules.mk
+++ b/keyboards/kona_classic/rules.mk
@@ -1,52 +1,15 @@
1
2# MCU name 1# MCU name
3MCU = atmega32u4 2MCU = atmega32u4
4 3
5# Processor frequency. 4# Bootloader selection
6# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
7# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
9# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
10# 9# QMK DFU qmk-dfu
11# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
12# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
13# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = halfkay
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
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# 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=512
49
50 13
51# Build Options 14# Build Options
52# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/kudox/keymaps/default/rules.mk b/keyboards/kudox/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/kudox/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/kudox/rules.mk b/keyboards/kudox/rules.mk
index ca954bec3..68a434feb 100644
--- a/keyboards/kudox/rules.mk
+++ b/keyboards/kudox/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 = caterina 12BOOTLOADER = caterina
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/kudox_game/keymaps/default/rules.mk b/keyboards/kudox_game/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/kudox_game/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/kudox_game/rules.mk b/keyboards/kudox_game/rules.mk
index d564eddf9..71d7cf270 100644
--- a/keyboards/kudox_game/rules.mk
+++ b/keyboards/kudox_game/rules.mk
@@ -1,50 +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
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 = caterina 12BOOTLOADER = caterina
49 13
50# Build Options 14# Build Options