aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-29 06:08:00 +1100
committerJoel Challis <git@zvecr.com>2019-10-28 19:08:00 +0000
commit6d7c6d4fd6a4af8e0355b5d10c68db3274c1a7f8 (patch)
treead3f2a66072e215b06f73a165c0dd0662fbc9b81
parent8bc90ee20c79e5166283cd2df738ea8ec63e4c69 (diff)
downloadqmk_firmware-6d7c6d4fd6a4af8e0355b5d10c68db3274c1a7f8.tar.gz
qmk_firmware-6d7c6d4fd6a4af8e0355b5d10c68db3274c1a7f8.zip
Cleanup rules.mk for 32U4 keyboards, R-S (#7182)
-rw-r--r--keyboards/rabbit/rabbit68/rules.mk4
-rw-r--r--keyboards/redox/keymaps/default/rules.mk2
-rw-r--r--keyboards/redox/rev1/rules.mk1
-rw-r--r--keyboards/redox/rules.mk54
-rw-r--r--keyboards/redox_w/rules.mk64
-rwxr-xr-xkeyboards/redscarf_iiplus/verb/rules.mk51
-rwxr-xr-xkeyboards/redscarf_iiplus/verc/rules.mk53
-rwxr-xr-xkeyboards/reviung34/rules.mk16
-rw-r--r--keyboards/reviung39/keymaps/default/rules.mk2
-rw-r--r--keyboards/reviung39/keymaps/default_s/rules.mk2
-rw-r--r--keyboards/reviung39/rules.mk15
-rw-r--r--keyboards/rgbkb/sol/keymaps/default/rules.mk5
-rw-r--r--keyboards/rgbkb/sol/rules.mk21
-rw-r--r--keyboards/rgbkb/zen/rules.mk18
-rw-r--r--keyboards/rgbkb/zygomorph/rules.mk47
-rw-r--r--keyboards/runner3680/3x6/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/3x7/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/3x8/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/4x6/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/4x7/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/4x8/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/5x6/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/5x7/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/5x8/keymaps/JIS/rules.mk1
-rw-r--r--keyboards/runner3680/5x8/keymaps/default/rules.mk1
-rw-r--r--keyboards/runner3680/rules.mk27
-rw-r--r--keyboards/s7_elephant/rules.mk43
-rw-r--r--keyboards/scarletbandana/rules.mk52
-rw-r--r--keyboards/sck/osa/rules.mk4
-rw-r--r--keyboards/scythe/rules.mk51
-rw-r--r--keyboards/sentraq/number_pad/rules.mk51
-rw-r--r--keyboards/sentraq/s60_x/default/rules.mk53
-rw-r--r--keyboards/sentraq/s60_x/rgb/rules.mk53
-rw-r--r--keyboards/sentraq/s65_plus/rules.mk56
-rw-r--r--keyboards/sentraq/s65_x/rules.mk54
-rw-r--r--keyboards/shiro/rules.mk51
-rw-r--r--keyboards/signum/3_0/elitec/rules.mk50
-rw-r--r--keyboards/singa/keymaps/default/rules.mk0
-rw-r--r--keyboards/singa/keymaps/test/rules.mk0
-rw-r--r--keyboards/sirius/unigo66/rules.mk17
-rw-r--r--keyboards/sixkeyboard/rules.mk4
-rw-r--r--keyboards/smk60/rules.mk59
-rw-r--r--keyboards/snagpad/rules.mk42
-rw-r--r--keyboards/snampad/rules.mk51
-rw-r--r--keyboards/southpole/rules.mk50
-rw-r--r--keyboards/spacetime/rules.mk51
-rw-r--r--keyboards/speedo/rules.mk54
-rw-r--r--keyboards/standaside/rules.mk56
-rw-r--r--keyboards/stella/rules.mk7
-rw-r--r--keyboards/suihankey/alpha/rules.mk83
-rw-r--r--keyboards/suihankey/rev1/rules.mk83
-rw-r--r--keyboards/suihankey/rules.mk51
-rw-r--r--keyboards/suihankey/split/alpha/rules.mk83
-rw-r--r--keyboards/suihankey/split/rev1/rules.mk83
-rw-r--r--keyboards/sx60/keymaps/default/rules.mk0
-rwxr-xr-xkeyboards/sx60/rules.mk56
56 files changed, 203 insertions, 1537 deletions
diff --git a/keyboards/rabbit/rabbit68/rules.mk b/keyboards/rabbit/rabbit68/rules.mk
index cd08d2319..1bf19e4e1 100644
--- a/keyboards/rabbit/rabbit68/rules.mk
+++ b/keyboards/rabbit/rabbit68/rules.mk
@@ -1,14 +1,14 @@
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 = halfkay 12BOOTLOADER = halfkay
13 13
14# Build Options 14# Build Options
diff --git a/keyboards/redox/keymaps/default/rules.mk b/keyboards/redox/keymaps/default/rules.mk
deleted file mode 100644
index a81250cdf..000000000
--- a/keyboards/redox/keymaps/default/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1RGBLIGHT_ENABLE = yes
2
diff --git a/keyboards/redox/rev1/rules.mk b/keyboards/redox/rev1/rules.mk
index f84561674..e69de29bb 100644
--- a/keyboards/redox/rev1/rules.mk
+++ b/keyboards/redox/rev1/rules.mk
@@ -1 +0,0 @@
1BACKLIGHT_ENABLE = no \ No newline at end of file
diff --git a/keyboards/redox/rules.mk b/keyboards/redox/rules.mk
index 81c0694e0..165008f1f 100644
--- a/keyboards/redox/rules.mk
+++ b/keyboards/redox/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 = caterina
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/redox_w/rules.mk b/keyboards/redox_w/rules.mk
index eb4bad194..22e8cb6b3 100644
--- a/keyboards/redox_w/rules.mk
+++ b/keyboards/redox_w/rules.mk
@@ -1,57 +1,16 @@
1
2OPT_DEFS += -DREDOX_W_PROMICRO
3INTERPHASE_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
4 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
5
6# # project specific files
7SRC = matrix.c
8
9
10# MCU name 1# MCU name
11MCU = atmega32u4 2MCU = atmega32u4
12 3
13# Processor frequency. 4# Bootloader selection
14# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
15# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
16# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
17# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
18# 9# QMK DFU qmk-dfu
19# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
20# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
21# does not *change* the processor frequency - it should merely be updated to
22# reflect the processor speed set externally so that the code can use accurate
23# software delays.
24F_CPU = 16000000
25
26
27#
28# LUFA specific
29#
30# Target architecture (see library "Board Types" documentation).
31ARCH = AVR8
32
33# Input clock frequency.
34# This will define a symbol, F_USB, in all source code files equal to the
35# input clock frequency (before any prescaling is performed) in Hz. This value may
36# differ from F_CPU if prescaling is used on the latter, and is required as the
37# raw input clock is fed directly to the PLL sections of the AVR for high speed
38# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
39# at the end, this will be done automatically to create a 32-bit value in your
40# source code.
41#
42# If no clock division is performed on the input clock inside the AVR (via the
43# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
44F_USB = $(F_CPU)
45
46# Bootloader
47# This definition is optional, and if your keyboard supports multiple bootloaders of
48# different sizes, comment this out, and the correct address will be loaded
49# automatically (+60). See bootloader.mk for all options.
50BOOTLOADER = caterina 12BOOTLOADER = caterina
51 13
52# Interrupt driven control endpoint task(+60)
53OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
54
55# Build Options 14# Build Options
56# comment out to disable the options. 15# comment out to disable the options.
57# 16#
@@ -71,5 +30,12 @@ UNICODE_ENABLE = YES # Unicode
71 30
72USB = /dev/ttyACM0 31USB = /dev/ttyACM0
73 32
33OPT_DEFS += -DREDOX_W_PROMICRO
34INTERPHASE_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
35 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
36
37# # project specific files
38SRC = matrix.c
39
74# upload: build 40# upload: build
75# $(REDOX_W_UPLOAD_COMMAND) 41# $(REDOX_W_UPLOAD_COMMAND)
diff --git a/keyboards/redscarf_iiplus/verb/rules.mk b/keyboards/redscarf_iiplus/verb/rules.mk
index 6ee7fe438..169e69d39 100755
--- a/keyboards/redscarf_iiplus/verb/rules.mk
+++ b/keyboards/redscarf_iiplus/verb/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 = qmk-dfu 12BOOTLOADER = qmk-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/redscarf_iiplus/verc/rules.mk b/keyboards/redscarf_iiplus/verc/rules.mk
index 5a7706b48..e62b78dc6 100755
--- a/keyboards/redscarf_iiplus/verc/rules.mk
+++ b/keyboards/redscarf_iiplus/verc/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 = qmk-dfu 12BOOTLOADER = qmk-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#
@@ -82,4 +35,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
82CUSTOM_MATRIX = yes 35CUSTOM_MATRIX = yes
83SRC += matrix.c 36SRC += matrix.c
84 37
85LAYOUTS = 65_ansi \ No newline at end of file 38LAYOUTS = 65_ansi
diff --git a/keyboards/reviung34/rules.mk b/keyboards/reviung34/rules.mk
index 7c3d5f391..67f2386e0 100755
--- a/keyboards/reviung34/rules.mk
+++ b/keyboards/reviung34/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#
@@ -42,4 +31,3 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
42AUDIO_ENABLE = no # Audio output on port C6 31AUDIO_ENABLE = no # Audio output on port C6
43FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 32FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
44HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 33HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
45
diff --git a/keyboards/reviung39/keymaps/default/rules.mk b/keyboards/reviung39/keymaps/default/rules.mk
index 7ad666d1a..1e3cebb14 100644
--- a/keyboards/reviung39/keymaps/default/rules.mk
+++ b/keyboards/reviung39/keymaps/default/rules.mk
@@ -1 +1 @@
RGBLIGHT_ENABLE = yes \ No newline at end of file RGBLIGHT_ENABLE = yes
diff --git a/keyboards/reviung39/keymaps/default_s/rules.mk b/keyboards/reviung39/keymaps/default_s/rules.mk
index 7ad666d1a..1e3cebb14 100644
--- a/keyboards/reviung39/keymaps/default_s/rules.mk
+++ b/keyboards/reviung39/keymaps/default_s/rules.mk
@@ -1 +1 @@
RGBLIGHT_ENABLE = yes \ No newline at end of file RGBLIGHT_ENABLE = yes
diff --git a/keyboards/reviung39/rules.mk b/keyboards/reviung39/rules.mk
index 965556736..67f2386e0 100644
--- a/keyboards/reviung39/rules.mk
+++ b/keyboards/reviung39/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/rgbkb/sol/keymaps/default/rules.mk b/keyboards/rgbkb/sol/keymaps/default/rules.mk
index 203d59c6a..269cf2027 100644
--- a/keyboards/rgbkb/sol/keymaps/default/rules.mk
+++ b/keyboards/rgbkb/sol/keymaps/default/rules.mk
@@ -7,10 +7,5 @@
7# To keep things clean and tidy, as well as make upgrades easier, only place overrides from the defaults in this file. 7# To keep things clean and tidy, as well as make upgrades easier, only place overrides from the defaults in this file.
8 8
9 9
10
11
12
13# Do not edit past here 10# Do not edit past here
14
15include keyboards/$(KEYBOARD)/post_rules.mk 11include keyboards/$(KEYBOARD)/post_rules.mk
16
diff --git a/keyboards/rgbkb/sol/rules.mk b/keyboards/rgbkb/sol/rules.mk
index 3be8f0b22..e3d3953df 100644
--- a/keyboards/rgbkb/sol/rules.mk
+++ b/keyboards/rgbkb/sol/rules.mk
@@ -1,21 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5F_CPU = 16000000 5# Teensy halfkay
6 6# Pro Micro caterina
7# Target architecture (see library "Board Types" documentation). 7# Atmel DFU atmel-dfu
8ARCH = AVR8 8# LUFA DFU lufa-dfu
9 9# QMK DFU qmk-dfu
10# Input clock frequency. 10# ATmega32A bootloadHID
11F_USB = $(F_CPU) 11# ATmega328P USBasp
12
13# Bootloader
14BOOTLOADER = qmk-dfu 12BOOTLOADER = qmk-dfu
15 13
16# Interrupt driven control endpoint task(+60)
17OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
18
19# Custom local font file 14# Custom local font file
20OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" 15OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
21 16
diff --git a/keyboards/rgbkb/zen/rules.mk b/keyboards/rgbkb/zen/rules.mk
index 7473b61cf..4193d23e0 100644
--- a/keyboards/rgbkb/zen/rules.mk
+++ b/keyboards/rgbkb/zen/rules.mk
@@ -1,11 +1,15 @@
1# Pro Micro or Elite-C 1# MCU name
2# Automagically converted to Proton-C
3MCU = atmega32u4 2MCU = atmega32u4
4F_CPU = 16000000 3
5ARCH = AVR8 4# Bootloader selection
6F_USB = $(F_CPU) 5# Teensy halfkay
7BOOTLOADER = dfu 6# Pro Micro caterina
8OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 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
10ifeq ($(strip $(CTPC)), yes) 14ifeq ($(strip $(CTPC)), yes)
11 CONVERT_TO_PROTON_C=yes 15 CONVERT_TO_PROTON_C=yes
diff --git a/keyboards/rgbkb/zygomorph/rules.mk b/keyboards/rgbkb/zygomorph/rules.mk
index 9bafc7b1d..955221fdf 100644
--- a/keyboards/rgbkb/zygomorph/rules.mk
+++ b/keyboards/rgbkb/zygomorph/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 = qmk-dfu 12BOOTLOADER = qmk-dfu
41 13
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45# Build Options 14# Build Options
46# change yes to no to disable 15# change yes to no to disable
47# 16#
diff --git a/keyboards/runner3680/3x6/keymaps/default/rules.mk b/keyboards/runner3680/3x6/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/3x6/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/3x7/keymaps/default/rules.mk b/keyboards/runner3680/3x7/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/3x7/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/3x8/keymaps/default/rules.mk b/keyboards/runner3680/3x8/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/3x8/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/4x6/keymaps/default/rules.mk b/keyboards/runner3680/4x6/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/4x6/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/4x7/keymaps/default/rules.mk b/keyboards/runner3680/4x7/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/4x7/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/4x8/keymaps/default/rules.mk b/keyboards/runner3680/4x8/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/4x8/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/5x6/keymaps/default/rules.mk b/keyboards/runner3680/5x6/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/5x6/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/5x7/keymaps/default/rules.mk b/keyboards/runner3680/5x7/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/5x7/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/5x8/keymaps/JIS/rules.mk b/keyboards/runner3680/5x8/keymaps/JIS/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/5x8/keymaps/JIS/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/5x8/keymaps/default/rules.mk b/keyboards/runner3680/5x8/keymaps/default/rules.mk
deleted file mode 100644
index 9104ce244..000000000
--- a/keyboards/runner3680/5x8/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
diff --git a/keyboards/runner3680/rules.mk b/keyboards/runner3680/rules.mk
index 624dd2e50..3a0b190ae 100644
--- a/keyboards/runner3680/rules.mk
+++ b/keyboards/runner3680/rules.mk
@@ -1,39 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5F_CPU = 16000000
6
7# Target architecture (see library "Board Types" documentation).
8ARCH = AVR8
9
10# Input clock frequency.
11F_USB = $(F_CPU)
12
13# Interrupt driven control endpoint task(+60)
14OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
15
16
17# Bootloader selection 4# Bootloader selection
18# Teensy halfkay 5# Teensy halfkay
19# Pro Micro caterina 6# Pro Micro caterina
20# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
21# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
22# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
23# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
24BOOTLOADER = caterina 12BOOTLOADER = caterina
25 13
26
27# If you don't know the bootloader type, then you can specify the
28# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
29# Teensy halfKay 512
30# Teensy++ halfKay 1024
31# Atmel DFU loader 4096
32# LUFA bootloader 4096
33# USBaspLoader 2048
34# OPT_DEFS += -DBOOTLOADER_SIZE=4096
35
36
37# Build Options 14# Build Options
38# change yes to no to disable 15# change yes to no to disable
39# 16#
diff --git a/keyboards/s7_elephant/rules.mk b/keyboards/s7_elephant/rules.mk
index 7f0ad6d3c..6cbcb56ae 100644
--- a/keyboards/s7_elephant/rules.mk
+++ b/keyboards/s7_elephant/rules.mk
@@ -1,41 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# 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
39BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
40 13
41# Build Options 14# Build Options
diff --git a/keyboards/scarletbandana/rules.mk b/keyboards/scarletbandana/rules.mk
index de3ac9518..a3461f314 100644
--- a/keyboards/scarletbandana/rules.mk
+++ b/keyboards/scarletbandana/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/sck/osa/rules.mk b/keyboards/sck/osa/rules.mk
index 3538c25ba..2d4a95c9e 100644
--- a/keyboards/sck/osa/rules.mk
+++ b/keyboards/sck/osa/rules.mk
@@ -1,8 +1,6 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4
5
6# Bootloader selection 4# Bootloader selection
7# Teensy halfkay 5# Teensy halfkay
8# Pro Micro caterina 6# Pro Micro caterina
@@ -13,8 +11,6 @@ MCU = atmega32u4
13# ATmega328P USBasp 11# ATmega328P USBasp
14BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
15 13
16
17
18# Build Options 14# Build Options
19# change yes to no to disable 15# change yes to no to disable
20# 16#
diff --git a/keyboards/scythe/rules.mk b/keyboards/scythe/rules.mk
index f0beca71e..54f2f7a52 100644
--- a/keyboards/scythe/rules.mk
+++ b/keyboards/scythe/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/sentraq/number_pad/rules.mk b/keyboards/sentraq/number_pad/rules.mk
index 8678b7f88..8df6c4c7c 100644
--- a/keyboards/sentraq/number_pad/rules.mk
+++ b/keyboards/sentraq/number_pad/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17
18#
19# LUFA specific
20#
21# Target architecture (see library "Board Types" documentation).
22ARCH = AVR8
23
24# Input clock frequency.
25# This will define a symbol, F_USB, in all source code files equal to the
26# input clock frequency (before any prescaling is performed) in Hz. This value may
27# differ from F_CPU if prescaling is used on the latter, and is required as the
28# raw input clock is fed directly to the PLL sections of the AVR for high speed
29# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
30# at the end, this will be done automatically to create a 32-bit value in your
31# source code.
32#
33# If no clock division is performed on the input clock inside the AVR (via the
34# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
35F_USB = $(F_CPU)
36
37# Interrupt driven control endpoint task(+60)
38OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
39
40
41# Bootloader selection 4# Bootloader selection
42# Teensy halfkay 5# Teensy halfkay
43# Pro Micro caterina 6# Pro Micro caterina
44# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
47# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
48BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
49 13
50
51# If you don't know the bootloader type, then you can specify the
52# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
53# Teensy halfKay 512
54# Teensy++ halfKay 1024
55# Atmel DFU loader 4096
56# LUFA bootloader 4096
57# USBaspLoader 2048
58OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options 14# Build Options
62# change yes to no to disable 15# change yes to no to disable
63# 16#
diff --git a/keyboards/sentraq/s60_x/default/rules.mk b/keyboards/sentraq/s60_x/default/rules.mk
index b3fb86179..8b3674cd8 100644
--- a/keyboards/sentraq/s60_x/default/rules.mk
+++ b/keyboards/sentraq/s60_x/default/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#
@@ -61,5 +25,4 @@ UNICODE_ENABLE = no # Unicode
61BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 25BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
62AUDIO_ENABLE = no # Audio output on port C6 26AUDIO_ENABLE = no # Audio output on port C6
63 27
64
65LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_hhkb 28LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_hhkb
diff --git a/keyboards/sentraq/s60_x/rgb/rules.mk b/keyboards/sentraq/s60_x/rgb/rules.mk
index 39bbc5d28..efd66a1ba 100644
--- a/keyboards/sentraq/s60_x/rgb/rules.mk
+++ b/keyboards/sentraq/s60_x/rgb/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#
@@ -66,5 +30,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here:
66BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality 30BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
67RGBLIGHT_ENABLE = yes # Enable RGB light 31RGBLIGHT_ENABLE = yes # Enable RGB light
68 32
69
70LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_hhkb 33LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_hhkb
diff --git a/keyboards/sentraq/s65_plus/rules.mk b/keyboards/sentraq/s65_plus/rules.mk
index 08dd2d93c..f4da10aa1 100644
--- a/keyboards/sentraq/s65_plus/rules.mk
+++ b/keyboards/sentraq/s65_plus/rules.mk
@@ -1,53 +1,15 @@
1
2
3# MCU name 1# MCU name
4MCU = atmega32u4 2MCU = atmega32u4
5 3
6# Processor frequency. 4# Bootloader selection
7# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
8# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
9# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
10# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
11# 9# QMK DFU qmk-dfu
12# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
13# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
14# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
15# reflect the processor speed set externally so that the code can use accurate
16# software delays.
17F_CPU = 16000000
18
19
20#
21# LUFA specific
22#
23# Target architecture (see library "Board Types" documentation).
24ARCH = AVR8
25
26# Input clock frequency.
27# This will define a symbol, F_USB, in all source code files equal to the
28# input clock frequency (before any prescaling is performed) in Hz. This value may
29# differ from F_CPU if prescaling is used on the latter, and is required as the
30# raw input clock is fed directly to the PLL sections of the AVR for high speed
31# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
32# at the end, this will be done automatically to create a 32-bit value in your
33# source code.
34#
35# If no clock division is performed on the input clock inside the AVR (via the
36# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
37F_USB = $(F_CPU)
38
39# Interrupt driven control endpoint task(+60)
40OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
41
42
43# Boot Section Size in *bytes*
44# Teensy halfKay 512
45# Teensy++ halfKay 1024
46# Atmel DFU loader 4096
47# LUFA bootloader 4096
48# USBaspLoader 2048
49OPT_DEFS += -DBOOTLOADER_SIZE=4096
50
51 13
52# Build Options 14# Build Options
53# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/sentraq/s65_x/rules.mk b/keyboards/sentraq/s65_x/rules.mk
index 6ab268dee..a6a2319c2 100644
--- a/keyboards/sentraq/s65_x/rules.mk
+++ b/keyboards/sentraq/s65_x/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/shiro/rules.mk b/keyboards/shiro/rules.mk
index 3ea1516fc..03c1bc8f8 100644
--- a/keyboards/shiro/rules.mk
+++ b/keyboards/shiro/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 = caterina 12BOOTLOADER = caterina
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/signum/3_0/elitec/rules.mk b/keyboards/signum/3_0/elitec/rules.mk
index 6a68eb443..6393e0f93 100644
--- a/keyboards/signum/3_0/elitec/rules.mk
+++ b/keyboards/signum/3_0/elitec/rules.mk
@@ -1,48 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# 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# Boot Section Size in *bytes*
40OPT_DEFS += -DBOOTLOADER_SIZE=4096
41
42# Bootloader
43# This definition is optional, and if your keyboard supports multiple bootloaders of
44# different sizes, comment this out, and the correct address will be loaded
45# automatically (+60). See bootloader.mk for all options.
46BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
47 13
48# Build Options 14# Build Options
diff --git a/keyboards/singa/keymaps/default/rules.mk b/keyboards/singa/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/singa/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/singa/keymaps/test/rules.mk b/keyboards/singa/keymaps/test/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/singa/keymaps/test/rules.mk
+++ /dev/null
diff --git a/keyboards/sirius/unigo66/rules.mk b/keyboards/sirius/unigo66/rules.mk
index c35487b18..53cf934c4 100644
--- a/keyboards/sirius/unigo66/rules.mk
+++ b/keyboards/sirius/unigo66/rules.mk
@@ -1,17 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4F_CPU = 16000000 4# Bootloader selection
5 5# Teensy halfkay
6ARCH = AVR8 6# Pro Micro caterina
7 7# Atmel DFU atmel-dfu
8F_USB = $(F_CPU) 8# LUFA DFU lufa-dfu
9 9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
10BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
11 13
12# Interrupt driven control endpoint task
13OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
14
15# Build Options 14# Build Options
16# comment out to disable the options. 15# comment out to disable the options.
17# 16#
diff --git a/keyboards/sixkeyboard/rules.mk b/keyboards/sixkeyboard/rules.mk
index 2befe17d8..5b89ff4e6 100644
--- a/keyboards/sixkeyboard/rules.mk
+++ b/keyboards/sixkeyboard/rules.mk
@@ -1,5 +1,3 @@
1SRC = matrix.c
2
3# MCU name 1# MCU name
4MCU = atmega16u2 2MCU = atmega16u2
5 3
@@ -29,3 +27,5 @@ AUDIO_ENABLE = no
29UNICODE_ENABLE = no # Unicode 27UNICODE_ENABLE = no # Unicode
30BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 28BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
31CUSTOM_MATRIX = yes 29CUSTOM_MATRIX = yes
30
31SRC = matrix.c
diff --git a/keyboards/smk60/rules.mk b/keyboards/smk60/rules.mk
index 751dbec84..cbb1c8b74 100644
--- a/keyboards/smk60/rules.mk
+++ b/keyboards/smk60/rules.mk
@@ -1,58 +1,15 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# project specific files 4# Bootloader selection
5#SRC = 5# Teensy halfkay
6 6# Pro Micro caterina
7# Processor frequency. 7# Atmel DFU atmel-dfu
8# This will define a symbol, F_CPU, in all source code files equal to the 8# LUFA DFU lufa-dfu
9# processor frequency in Hz. You can then use this symbol in your source code to 9# QMK DFU qmk-dfu
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 10# ATmega32A bootloadHID
11# automatically to create a 32-bit value in your source code. 11# ATmega328P USBasp
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 = 16000000
19
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# Boot Section Size in *bytes*
44# Teensy halfKay 512
45# Teensy++ halfKay 1024
46# Atmel DFU loader 4096
47# LUFA bootloader 4096
48# USBaspLoader 2048
49BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
50#OPT_DEFS += -DBOOTLOADER_SIZE=4096
51
52# Do not put the microcontroller into power saving mode
53# when we get USB suspend event. We want it to keep updating
54# backlight effects.
55#OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
56 13
57# Build Options 14# Build Options
58# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/snagpad/rules.mk b/keyboards/snagpad/rules.mk
index 624ed262e..9256eaed1 100644
--- a/keyboards/snagpad/rules.mk
+++ b/keyboards/snagpad/rules.mk
@@ -1,54 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency.
5# This will define a symbol, F_CPU, in all source code files equal to the
6# processor frequency in Hz. You can then use this symbol in your source code to
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
8# automatically to create a 32-bit value in your source code.
9#
10# This will be an integer division of F_USB below, as it is sourced by
11# F_USB after it has run through any CPU prescalers. Note that this value
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39# Bootloader selection 4# Bootloader selection
40# Teensy halfkay 5# Teensy halfkay
41# Pro Micro caterina 6# Pro Micro caterina
42# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
43# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
44# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
45# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
46BOOTLOADER = caterina 12BOOTLOADER = caterina
47 13
48# Boot Section Size in *bytes*
49# OPT_DEFS += -DBOOTLOADER_SIZE=4096
50
51
52# Build Options 14# Build Options
53# comment out to disable the options. 15# comment out to disable the options.
54# 16#
diff --git a/keyboards/snampad/rules.mk b/keyboards/snampad/rules.mk
index ec3208fd0..1a1fbe6bc 100644
--- a/keyboards/snampad/rules.mk
+++ b/keyboards/snampad/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 = caterina 12BOOTLOADER = caterina
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/southpole/rules.mk b/keyboards/southpole/rules.mk
index 356b75bb6..d6b65e960 100644
--- a/keyboards/southpole/rules.mk
+++ b/keyboards/southpole/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 = halfkay
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41OPT_DEFS += -DBOOTLOADER_SIZE=4096
42
43 13
44# Build Options 14# Build Options
45# comment out to disable the options. 15# comment out to disable the options.
@@ -53,4 +23,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
53NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 23NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
54BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
55#AUDIO_ENABLE = no 25#AUDIO_ENABLE = no
56RGBLIGHT_ENABLE = no \ No newline at end of file 26RGBLIGHT_ENABLE = no
diff --git a/keyboards/spacetime/rules.mk b/keyboards/spacetime/rules.mk
index 62e8f9955..aa1a88925 100644
--- a/keyboards/spacetime/rules.mk
+++ b/keyboards/spacetime/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 = caterina 12BOOTLOADER = caterina
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/speedo/rules.mk b/keyboards/speedo/rules.mk
index 6cba6b6b8..4295e2ad7 100644
--- a/keyboards/speedo/rules.mk
+++ b/keyboards/speedo/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 = halfkay
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/standaside/rules.mk b/keyboards/standaside/rules.mk
index a7ebc21fa..993f0acdc 100644
--- a/keyboards/standaside/rules.mk
+++ b/keyboards/standaside/rules.mk
@@ -1,53 +1,14 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# 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# Boot Section Size in *bytes*
40# Teensy halfKay 512
41# Teensy++ halfKay 1024
42# Atmel DFU loader 4096
43# LUFA bootloader 4096
44# USBaspLoader 2048
45# OPT_DEFS += -DBOOTLOADER_SIZE=4096
46
47# Bootloader
48# This definition is optional, and if your keyboard supports multiple bootloaders of
49# different sizes, comment this out, and the correct address will be loaded
50# automatically (+60). See bootloader.mk for all options.
51BOOTLOADER = atmel_dfu 12BOOTLOADER = atmel_dfu
52 13
53# Build Options 14# Build Options
@@ -70,4 +31,3 @@ AUDIO_ENABLE = no # Audio output on port C6
70FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
71HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 32HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
72RGBLIGHT_ENABLE = yes # Enable RGB underlighting support 33RGBLIGHT_ENABLE = yes # Enable RGB underlighting support
73
diff --git a/keyboards/stella/rules.mk b/keyboards/stella/rules.mk
index 2618abf4f..b6b8f8841 100644
--- a/keyboards/stella/rules.mk
+++ b/keyboards/stella/rules.mk
@@ -1,17 +1,16 @@
1# MCU name 1# MCU name
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4
5# Bootloader selection 4# Bootloader selection
6# Teensy halfkay 5# Teensy halfkay
7# Pro Micro caterina 6# Pro Micro caterina
8# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
9# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
10# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
11# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
13 13
14
15# Build Options 14# Build Options
16# change yes to no to disable 15# change yes to no to disable
17# 16#
@@ -34,4 +33,4 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
34HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) 33HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
35 34
36# Supported layouts 35# Supported layouts
37LAYOUTS = tkl_ansi tkl_iso \ No newline at end of file 36LAYOUTS = tkl_ansi tkl_iso
diff --git a/keyboards/suihankey/alpha/rules.mk b/keyboards/suihankey/alpha/rules.mk
index d4580058e..1e3cebb14 100644
--- a/keyboards/suihankey/alpha/rules.mk
+++ b/keyboards/suihankey/alpha/rules.mk
@@ -1,82 +1 @@
1# MCU name RGBLIGHT_ENABLE = yes
2MCU = atmega32u4
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
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
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
62# change yes to no to disable
63#
64BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
65MOUSEKEY_ENABLE = no # Mouse keys(+4700)
66EXTRAKEY_ENABLE = no # Audio control and System control(+450)
67CONSOLE_ENABLE = no # Console for debug(+400)
68COMMAND_ENABLE = no # Commands for debug and configuration
69# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
70SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
71# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
72NKRO_ENABLE = no # USB Nkey Rollover
73BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
74RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
75MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
76UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
81OLED_DRIVER_ENABLE = yes
82SPLIT_KEYBOARD = no
diff --git a/keyboards/suihankey/rev1/rules.mk b/keyboards/suihankey/rev1/rules.mk
index d4580058e..1e3cebb14 100644
--- a/keyboards/suihankey/rev1/rules.mk
+++ b/keyboards/suihankey/rev1/rules.mk
@@ -1,82 +1 @@
1# MCU name RGBLIGHT_ENABLE = yes
2MCU = atmega32u4
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
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
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
62# change yes to no to disable
63#
64BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
65MOUSEKEY_ENABLE = no # Mouse keys(+4700)
66EXTRAKEY_ENABLE = no # Audio control and System control(+450)
67CONSOLE_ENABLE = no # Console for debug(+400)
68COMMAND_ENABLE = no # Commands for debug and configuration
69# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
70SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
71# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
72NKRO_ENABLE = no # USB Nkey Rollover
73BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
74RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
75MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
76UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
81OLED_DRIVER_ENABLE = yes
82SPLIT_KEYBOARD = no
diff --git a/keyboards/suihankey/rules.mk b/keyboards/suihankey/rules.mk
index dbba5b93c..d4c2e54b1 100644
--- a/keyboards/suihankey/rules.mk
+++ b/keyboards/suihankey/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/suihankey/split/alpha/rules.mk b/keyboards/suihankey/split/alpha/rules.mk
index 974450a69..1e3cebb14 100644
--- a/keyboards/suihankey/split/alpha/rules.mk
+++ b/keyboards/suihankey/split/alpha/rules.mk
@@ -1,82 +1 @@
1# MCU name RGBLIGHT_ENABLE = yes
2MCU = atmega32u4
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
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
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
62# change yes to no to disable
63#
64BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
65MOUSEKEY_ENABLE = no # Mouse keys(+4700)
66EXTRAKEY_ENABLE = no # Audio control and System control(+450)
67CONSOLE_ENABLE = no # Console for debug(+400)
68COMMAND_ENABLE = no # Commands for debug and configuration
69# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
70SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
71# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
72NKRO_ENABLE = no # USB Nkey Rollover
73BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
74RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
75MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
76UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
81OLED_DRIVER_ENABLE = no
82SPLIT_KEYBOARD = yes
diff --git a/keyboards/suihankey/split/rev1/rules.mk b/keyboards/suihankey/split/rev1/rules.mk
index 974450a69..1e3cebb14 100644
--- a/keyboards/suihankey/split/rev1/rules.mk
+++ b/keyboards/suihankey/split/rev1/rules.mk
@@ -1,82 +1 @@
1# MCU name RGBLIGHT_ENABLE = yes
2MCU = atmega32u4
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
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
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
62# change yes to no to disable
63#
64BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
65MOUSEKEY_ENABLE = no # Mouse keys(+4700)
66EXTRAKEY_ENABLE = no # Audio control and System control(+450)
67CONSOLE_ENABLE = no # Console for debug(+400)
68COMMAND_ENABLE = no # Commands for debug and configuration
69# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
70SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
71# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
72NKRO_ENABLE = no # USB Nkey Rollover
73BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
74RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
75MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
76UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
81OLED_DRIVER_ENABLE = no
82SPLIT_KEYBOARD = yes
diff --git a/keyboards/sx60/keymaps/default/rules.mk b/keyboards/sx60/keymaps/default/rules.mk
deleted file mode 100644
index e69de29bb..000000000
--- a/keyboards/sx60/keymaps/default/rules.mk
+++ /dev/null
diff --git a/keyboards/sx60/rules.mk b/keyboards/sx60/rules.mk
index 0381293ce..4c711dc88 100755
--- a/keyboards/sx60/rules.mk
+++ b/keyboards/sx60/rules.mk
@@ -1,49 +1,15 @@
1# # project specific files
2SRC = twimaster.c \
3 matrix.c
4
5# MCU name 1# MCU name
6MCU = atmega32u4 2MCU = atmega32u4
7 3
8# Processor frequency. 4# Bootloader selection
9# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
10# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
11# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
12# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
13# 9# QMK DFU qmk-dfu
14# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
15# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
16# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
17# reflect the processor speed set externally so that the code can use accurate
18# software delays.
19F_CPU = 16000000
20
21#
22# LUFA specific
23#
24# Target architecture (see library "Board Types" documentation).
25ARCH = AVR8
26
27# Input clock frequency.
28# This will define a symbol, F_USB, in all source code files equal to the
29# input clock frequency (before any prescaling is performed) in Hz. This value may
30# differ from F_CPU if prescaling is used on the latter, and is required as the
31# raw input clock is fed directly to the PLL sections of the AVR for high speed
32# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
33# at the end, this will be done automatically to create a 32-bit value in your
34# source code.
35#
36# If no clock division is performed on the input clock inside the AVR (via the
37# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
38F_USB = $(F_CPU)
39
40# Interrupt driven control endpoint task(+60)
41OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
42
43
44# Boot Section Size in *bytes*
45OPT_DEFS += -DBOOTLOADER_SIZE=4096
46
47 13
48# Build Options 14# Build Options
49# comment out to disable the options. 15# comment out to disable the options.
@@ -59,3 +25,7 @@ BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
59AUDIO_ENABLE ?= no 25AUDIO_ENABLE ?= no
60RGBLIGHT_ENABLE ?= no 26RGBLIGHT_ENABLE ?= no
61CUSTOM_MATRIX ?= yes 27CUSTOM_MATRIX ?= yes
28
29# project specific files
30SRC = twimaster.c \
31 matrix.c