aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-20 02:55:03 +1000
committerDrashna Jaelre <drashna@live.com>2019-09-19 09:55:03 -0700
commitf34299efd7c5be439b0991d46c26de6c8709a2d9 (patch)
tree16f0ad27a74857fc0bca45e0c8f17e34303360a2 /keyboards
parent911b8915cc89c040db3c6075a1a547003b0ab37f (diff)
downloadqmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.tar.gz
qmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.zip
Cleanup rules.mk for USB64 and USB128 keyboards (#6769)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/clueboard/2x1800/rules.mk16
-rw-r--r--keyboards/converter/modelm101/rules.mk51
-rw-r--r--keyboards/donutcables/scrabblepad/rules.mk54
-rw-r--r--keyboards/handwired/108key_trackpoint/rules.mk50
-rw-r--r--keyboards/handwired/aek64/rules.mk20
-rw-r--r--keyboards/handwired/daishi/rules.mk53
-rw-r--r--keyboards/handwired/datahand/rules.mk49
-rw-r--r--keyboards/handwired/downbubble/rules.mk51
-rw-r--r--keyboards/handwired/hacked_motospeed/rules.mk51
-rw-r--r--keyboards/handwired/ibm122m/rules.mk54
-rw-r--r--keyboards/handwired/magicforce61/rules.mk55
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/rules.mk51
-rw-r--r--keyboards/handwired/onekey/teensy_2pp/rules.mk50
-rw-r--r--keyboards/kinesis/rules.mk62
-rw-r--r--keyboards/lfkeyboards/lfk78/rules.mk4
-rw-r--r--keyboards/lfkeyboards/lfk87/rules.mk7
-rw-r--r--keyboards/lfkeyboards/mini1800/rules.mk7
-rw-r--r--keyboards/lfkeyboards/smk65/rules.mk12
-rw-r--r--keyboards/m0lly/rules.mk42
-rw-r--r--keyboards/omnikey_blackheart/rules.mk50
-rw-r--r--keyboards/omnikeyish/rules.mk48
-rw-r--r--keyboards/planck/light/rules.mk15
-rw-r--r--keyboards/subatomic/rules.mk56
-rw-r--r--keyboards/tkc1800/rules.mk55
-rw-r--r--keyboards/uk78/rules.mk50
-rw-r--r--keyboards/vision_division/rules.mk54
-rw-r--r--keyboards/z150_blackheart/rules.mk48
27 files changed, 196 insertions, 919 deletions
diff --git a/keyboards/clueboard/2x1800/rules.mk b/keyboards/clueboard/2x1800/rules.mk
index eb679b9fb..f5a41ff14 100644
--- a/keyboards/clueboard/2x1800/rules.mk
+++ b/keyboards/clueboard/2x1800/rules.mk
@@ -1,11 +1,15 @@
1# MCU details 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
3F_CPU = 16000000
4ARCH = AVR8
5F_USB = $(F_CPU)
6OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
7OPT_DEFS += -DBOOTLOADER_SIZE=1024
8 3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = halfkay
9 13
10# Build Options 14# Build Options
11BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 15BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
diff --git a/keyboards/converter/modelm101/rules.mk b/keyboards/converter/modelm101/rules.mk
index 4c05d9b85..dada3f22d 100644
--- a/keyboards/converter/modelm101/rules.mk
+++ b/keyboards/converter/modelm101/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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 = halfkay 12BOOTLOADER = halfkay
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=1024
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/donutcables/scrabblepad/rules.mk b/keyboards/donutcables/scrabblepad/rules.mk
index 20f532af4..be6c7d9ac 100644
--- a/keyboards/donutcables/scrabblepad/rules.mk
+++ b/keyboards/donutcables/scrabblepad/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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/handwired/108key_trackpoint/rules.mk b/keyboards/handwired/108key_trackpoint/rules.mk
index 47d94671c..2a8ed6af1 100644
--- a/keyboards/handwired/108key_trackpoint/rules.mk
+++ b/keyboards/handwired/108key_trackpoint/rules.mk
@@ -1,62 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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 = halfkay 12BOOTLOADER = halfkay
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# Build Options 14# Build Options
61# change yes to no to disable 15# change yes to no to disable
62# 16#
diff --git a/keyboards/handwired/aek64/rules.mk b/keyboards/handwired/aek64/rules.mk
index 5fe5a9bae..c02af3dd6 100644
--- a/keyboards/handwired/aek64/rules.mk
+++ b/keyboards/handwired/aek64/rules.mk
@@ -1,17 +1,15 @@
1# Target file name (without extension).
2
3# project specific files
4
5# MCU name 1# MCU name
6MCU = at90usb1286 2MCU = at90usb1286
7 3
8# Boot Section Size in *bytes* 4# Bootloader selection
9# Teensy halfKay 512 5# Teensy halfkay
10# Teensy++ halfKay 1024 6# Pro Micro caterina
11# Atmel DFU loader 4096 7# Atmel DFU atmel-dfu
12# LUFA bootloader 4096 8# LUFA DFU lufa-dfu
13# USBaspLoader 2048 9# QMK DFU qmk-dfu
14BOOTLOADER = halfKay 10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = halfkay
15 13
16# Build Options 14# Build Options
17# change to no to disable the options. 15# change to no to disable the options.
diff --git a/keyboards/handwired/daishi/rules.mk b/keyboards/handwired/daishi/rules.mk
index ece1eaaac..dacecfb0b 100644
--- a/keyboards/handwired/daishi/rules.mk
+++ b/keyboards/handwired/daishi/rules.mk
@@ -1,49 +1,14 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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# QMK Build Options 14# QMK Build Options
@@ -63,4 +28,4 @@ UNICODE_ENABLE = no # Unicode
63BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 28BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
64RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. 29RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
65SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 30SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
66ENCODER_ENABLE = yes # Add rotary encoder support \ No newline at end of file 31ENCODER_ENABLE = yes # Add rotary encoder support
diff --git a/keyboards/handwired/datahand/rules.mk b/keyboards/handwired/datahand/rules.mk
index 59f14e17a..a46dcedb1 100644
--- a/keyboards/handwired/datahand/rules.mk
+++ b/keyboards/handwired/datahand/rules.mk
@@ -1,44 +1,14 @@
1# Project-specific includes
2SRC = matrix.c
3
4# MCU name 1# MCU name
5MCU = at90usb1286 2MCU = at90usb1286
6 3
7# Processor frequency. 4# Bootloader selection
8# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
9# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
11# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
12# 9# QMK DFU qmk-dfu
13# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
14# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
15# does not *change* the processor frequency - it should merely be updated to
16# reflect the processor speed set externally so that the code can use accurate
17# software delays.
18F_CPU = 16000000
19
20#
21# LUFA specific
22#
23# Target architecture (see library "Board Types" documentation).
24ARCH = AVR8
25
26# Input clock frequency.
27# This will define a symbol, F_USB, in all source code files equal to the
28# input clock frequency (before any prescaling is performed) in Hz. This value may
29# differ from F_CPU if prescaling is used on the latter, and is required as the
30# raw input clock is fed directly to the PLL sections of the AVR for high speed
31# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
32# at the end, this will be done automatically to create a 32-bit value in your
33# source code.
34#
35# If no clock division is performed on the input clock inside the AVR (via the
36# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
37F_USB = $(F_CPU)
38
39# Interrupt driven control endpoint task(+60)
40OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
41
42BOOTLOADER = halfkay 12BOOTLOADER = halfkay
43 13
44# Build Options 14# Build Options
@@ -57,3 +27,6 @@ CUSTOM_MATRIX = yes # We definitely have a nonstandard matrix
57 27
58# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 28# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
59SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 29SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
30
31# Project specific files
32SRC = matrix.c
diff --git a/keyboards/handwired/downbubble/rules.mk b/keyboards/handwired/downbubble/rules.mk
index c751d9d4a..189b82720 100644
--- a/keyboards/handwired/downbubble/rules.mk
+++ b/keyboards/handwired/downbubble/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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/handwired/hacked_motospeed/rules.mk b/keyboards/handwired/hacked_motospeed/rules.mk
index 17d71ada4..a2ad5adc0 100644
--- a/keyboards/handwired/hacked_motospeed/rules.mk
+++ b/keyboards/handwired/hacked_motospeed/rules.mk
@@ -1,63 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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 = halfkay 12BOOTLOADER = halfkay
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=1024
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/handwired/ibm122m/rules.mk b/keyboards/handwired/ibm122m/rules.mk
index ba4be6766..f775fa03b 100644
--- a/keyboards/handwired/ibm122m/rules.mk
+++ b/keyboards/handwired/ibm122m/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
3BOOTLOADER = halfKay
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48 3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = halfkay
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/handwired/magicforce61/rules.mk b/keyboards/handwired/magicforce61/rules.mk
index 91147ab4f..d1ed63f65 100644
--- a/keyboards/handwired/magicforce61/rules.mk
+++ b/keyboards/handwired/magicforce61/rules.mk
@@ -1,52 +1,15 @@
1
2# MCU name 1# MCU name
3MCU = at90usb1286 2MCU = at90usb1286
4 3
5# Processor frequency. 4# Bootloader selection
6# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
7# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
9# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
10# 9# QMK DFU qmk-dfu
11# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
12# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
13# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = halfkay
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48OPT_DEFS += -DBOOTLOADER_SIZE=1024
49
50 13
51# Build Options 14# Build Options
52# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/handwired/ms_sculpt_mobile/rules.mk b/keyboards/handwired/ms_sculpt_mobile/rules.mk
index 680c057d3..d38138bbb 100644
--- a/keyboards/handwired/ms_sculpt_mobile/rules.mk
+++ b/keyboards/handwired/ms_sculpt_mobile/rules.mk
@@ -1,37 +1,27 @@
1
2## Project specific files
3SRC= babblePaste.c
4
5
6ifdef ASTAR 1ifdef ASTAR
7 CFLAGS=-D ASTAR 2 MCU = atmega32u4
8 MCU = atmega32u4 3 CFLAGS = -D ASTAR
9 SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; \ 4 USB = /dev/cu.usbmodem14141
10 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) 5 SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
11
12else 6else
13 MCU = at90usb1286 7 MCU = at90usb1286
14 SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex 8 SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
15endif 9endif
16 10
17F_CPU = 16000000 11# Bootloader selection
18ARCH = AVR8 12# Teensy halfkay
19F_USB = $(F_CPU) 13# Pro Micro caterina
20 14# Atmel DFU atmel-dfu
21# Bootloader 15# LUFA DFU lufa-dfu
22# This definition is optional, and if your keyboard supports multiple bootloaders of 16# QMK DFU qmk-dfu
23# different sizes, comment this out, and the correct address will be loaded 17# ATmega32A bootloadHID
24# automatically (+60). See bootloader.mk for all options. 18# ATmega328P USBasp
25ifdef ASTAR 19ifdef ASTAR
26 BOOTLOADER = caterina 20 BOOTLOADER = caterina
27else 21else
28 BOOTLOADER = atmel-dfu 22 BOOTLOADER = atmel-dfu
29endif 23endif
30 24
31# Interrupt driven control endpoint task(+60)
32OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
33
34#
35BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 25BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
36MOUSEKEY_ENABLE = no # Mouse keys(+4700) 26MOUSEKEY_ENABLE = no # Mouse keys(+4700)
37EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 27EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
@@ -47,10 +37,5 @@ UNICODE_ENABLE = no # Unicode
47BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
48AUDIO_ENABLE = no # Audio output on port C6 38AUDIO_ENABLE = no # Audio output on port C6
49 39
50 40# Project specific files
51USB = /dev/cu.usbmodem14141 41SRC = babblePaste.c
52
53
54
55# upload: build
56# $(SCULPT_UPLOAD_COMMAND)
diff --git a/keyboards/handwired/onekey/teensy_2pp/rules.mk b/keyboards/handwired/onekey/teensy_2pp/rules.mk
index e318e4b9e..c421eb862 100644
--- a/keyboards/handwired/onekey/teensy_2pp/rules.mk
+++ b/keyboards/handwired/onekey/teensy_2pp/rules.mk
@@ -1,58 +1,12 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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 = halfkay 12BOOTLOADER = halfkay
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
diff --git a/keyboards/kinesis/rules.mk b/keyboards/kinesis/rules.mk
index b3a6b84d6..295054d75 100644
--- a/keyboards/kinesis/rules.mk
+++ b/keyboards/kinesis/rules.mk
@@ -1,56 +1,15 @@
1
2## Project specific files
3
4SRC= matrix.c
5
6# MCU name 1# MCU name
7MCU = at90usb1286 2MCU = at90usb1286
8 3
9# Processor frequency. 4# Bootloader selection
10# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
11# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
12# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
13# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
14# 9# QMK DFU qmk-dfu
15# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
16# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
17# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = halfkay
18# reflect the processor speed set externally so that the code can use accurate
19# software delays.
20F_CPU = 16000000
21
22
23#
24# LUFA specific
25#
26# Target architecture (see library "Board Types" documentation).
27ARCH = AVR8
28
29# Input clock frequency.
30# This will define a symbol, F_USB, in all source code files equal to the
31# input clock frequency (before any prescaling is performed) in Hz. This value may
32# differ from F_CPU if prescaling is used on the latter, and is required as the
33# raw input clock is fed directly to the PLL sections of the AVR for high speed
34# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
35# at the end, this will be done automatically to create a 32-bit value in your
36# source code.
37#
38# If no clock division is performed on the input clock inside the AVR (via the
39# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
40F_USB = $(F_CPU)
41
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45
46# Boot Section Size in *bytes*
47# Teensy halfKay 512
48# Teensy++ halfKay 2048
49# Atmel DFU loader 4096
50# LUFA bootloader 4096
51# USBaspLoader 2048
52OPT_DEFS += -DBOOTLOADER_SIZE=2048
53
54 13
55# Build Options 14# Build Options
56# change yes to no to disable 15# change yes to no to disable
@@ -72,3 +31,6 @@ AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hard
72CUSTOM_MATRIX=yes # need to do our own thing with the matrix 31CUSTOM_MATRIX=yes # need to do our own thing with the matrix
73 32
74DEFAULT_FOLDER = kinesis/alvicstep 33DEFAULT_FOLDER = kinesis/alvicstep
34
35# Project specific files
36SRC = matrix.c
diff --git a/keyboards/lfkeyboards/lfk78/rules.mk b/keyboards/lfkeyboards/lfk78/rules.mk
index b9cdf2307..3c90998d9 100644
--- a/keyboards/lfkeyboards/lfk78/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/rules.mk
@@ -7,14 +7,12 @@ LFK_REV = J
7 7
8ifeq ($(LFK_REV), B) 8ifeq ($(LFK_REV), B)
9 MCU = atmega32u4 9 MCU = atmega32u4
10 OPT_DEFS += -DBOOTLOADER_SIZE=4096
11else ifeq ($(LFK_REV), J) 10else ifeq ($(LFK_REV), J)
12 MCU = at90usb646 11 MCU = at90usb646
13 OPT_DEFS += -DBOOTLOADER_SIZE=4096
14else 12else
15 MCU = at90usb1286 13 MCU = at90usb1286
16 OPT_DEFS += -DBOOTLOADER_SIZE=8192
17endif 14endif
15BOOTLOADER = atmel-dfu
18OPT_DEFS += -DLFK_REV_$(LFK_REV) 16OPT_DEFS += -DLFK_REV_$(LFK_REV)
19OPT_DEFS += -DLFK_REV_STRING=\"Rev$(LFK_REV)\" 17OPT_DEFS += -DLFK_REV_STRING=\"Rev$(LFK_REV)\"
20 18
diff --git a/keyboards/lfkeyboards/lfk87/rules.mk b/keyboards/lfkeyboards/lfk87/rules.mk
index bc96e3520..8e1970615 100644
--- a/keyboards/lfkeyboards/lfk87/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/rules.mk
@@ -7,12 +7,11 @@
7LFK_REV = C 7LFK_REV = C
8 8
9ifeq ($(LFK_REV), A) 9ifeq ($(LFK_REV), A)
10 MCU = at90usb1286 10 MCU = at90usb1286
11 OPT_DEFS += -DBOOTLOADER_SIZE=8192
12else 11else
13 MCU = at90usb646 12 MCU = at90usb646
14 OPT_DEFS += -DBOOTLOADER_SIZE=4096
15endif 13endif
14BOOTLOADER = atmel-dfu
16OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV) 15OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
17 16
18# Extra source files for IS3731 lighting 17# Extra source files for IS3731 lighting
diff --git a/keyboards/lfkeyboards/mini1800/rules.mk b/keyboards/lfkeyboards/mini1800/rules.mk
index a06225491..d3e6a2402 100644
--- a/keyboards/lfkeyboards/mini1800/rules.mk
+++ b/keyboards/lfkeyboards/mini1800/rules.mk
@@ -8,12 +8,11 @@
8LFK_REV = C 8LFK_REV = C
9 9
10ifeq ($(LFK_REV), A) 10ifeq ($(LFK_REV), A)
11 MCU = at90usb1286 11 MCU = at90usb1286
12 OPT_DEFS += -DBOOTLOADER_SIZE=8192
13else 12else
14 MCU = at90usb646 13 MCU = at90usb646
15 OPT_DEFS += -DBOOTLOADER_SIZE=4096
16endif 14endif
15BOOTLOADER = atmel-dfu
17OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV) 16OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
18 17
19# Extra source files for IS3731 lighting 18# Extra source files for IS3731 lighting
diff --git a/keyboards/lfkeyboards/smk65/rules.mk b/keyboards/lfkeyboards/smk65/rules.mk
index 5834cf5c3..d3f009e4d 100644
--- a/keyboards/lfkeyboards/smk65/rules.mk
+++ b/keyboards/lfkeyboards/smk65/rules.mk
@@ -1,5 +1,15 @@
1# MCU name
1MCU = at90usb646 2MCU = at90usb646
2OPT_DEFS += -DBOOTLOADER_SIZE=4096 3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
3 13
4# Extra source files for IS3731 lighting 14# Extra source files for IS3731 lighting
5SRC = TWIlib.c issi.c lighting.c 15SRC = TWIlib.c issi.c lighting.c
diff --git a/keyboards/m0lly/rules.mk b/keyboards/m0lly/rules.mk
index ae6cdcb53..21e3697dc 100644
--- a/keyboards/m0lly/rules.mk
+++ b/keyboards/m0lly/rules.mk
@@ -1,54 +1,16 @@
1
2# MCU name 1# MCU name
3MCU = at90usb1286 2MCU = at90usb1286
4 3
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Bootloader selection 4# Bootloader selection
43# Teensy halfkay 5# Teensy halfkay
44# Pro Micro caterina 6# Pro Micro caterina
45# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
46# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
47# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
48# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
49BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
50 13
51
52# Build Options 14# Build Options
53# change yes to no to disable 15# change yes to no to disable
54# 16#
diff --git a/keyboards/omnikey_blackheart/rules.mk b/keyboards/omnikey_blackheart/rules.mk
index 3d4422e98..648f84eee 100644
--- a/keyboards/omnikey_blackheart/rules.mk
+++ b/keyboards/omnikey_blackheart/rules.mk
@@ -1,45 +1,15 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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
55AUDIO_ENABLE ?= no 25AUDIO_ENABLE ?= no
56RGBLIGHT_ENABLE ?= no \ No newline at end of file 26RGBLIGHT_ENABLE ?= no
diff --git a/keyboards/omnikeyish/rules.mk b/keyboards/omnikeyish/rules.mk
index 38d50425f..6318daef7 100644
--- a/keyboards/omnikeyish/rules.mk
+++ b/keyboards/omnikeyish/rules.mk
@@ -1,55 +1,16 @@
1# keyboard specific files
2SRC += dynamic_macro.c
3
4# MCU name 1# MCU name
5MCU = at90usb1286 2MCU = at90usb1286
6 3
7# Processor frequency.
8# This will define a symbol, F_CPU, in all source code files equal to the
9# processor frequency in Hz. You can then use this symbol in your source code to
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
11# automatically to create a 32-bit value in your source code.
12#
13# This will be an integer division of F_USB below, as it is sourced by
14# F_USB after it has run through any CPU prescalers. Note that this value
15# does not *change* the processor frequency - it should merely be updated to
16# reflect the processor speed set externally so that the code can use accurate
17# software delays.
18F_CPU = 16000000
19
20#
21# LUFA specific
22#
23# Target architecture (see library "Board Types" documentation).
24ARCH = AVR8
25
26# Input clock frequency.
27# This will define a symbol, F_USB, in all source code files equal to the
28# input clock frequency (before any prescaling is performed) in Hz. This value may
29# differ from F_CPU if prescaling is used on the latter, and is required as the
30# raw input clock is fed directly to the PLL sections of the AVR for high speed
31# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
32# at the end, this will be done automatically to create a 32-bit value in your
33# source code.
34#
35# If no clock division is performed on the input clock inside the AVR (via the
36# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
37F_USB = $(F_CPU)
38
39# Interrupt driven control endpoint task(+60)
40OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
41
42
43# Bootloader selection 4# Bootloader selection
44# Teensy halfkay 5# Teensy halfkay
45# Pro Micro caterina 6# Pro Micro caterina
46# Atmel DFU atmel-dfu 7# Atmel DFU atmel-dfu
47# LUFA DFU lufa-dfu 8# LUFA DFU lufa-dfu
48# QMK DFU qmk-dfu 9# QMK DFU qmk-dfu
49# atmega32a bootloadHID 10# ATmega32A bootloadHID
11# ATmega328P USBasp
50BOOTLOADER = halfkay 12BOOTLOADER = halfkay
51 13
52
53# Build Options 14# Build Options
54# comment out to disable the options. 15# comment out to disable the options.
55# 16#
@@ -62,4 +23,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
62NKRO_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
63BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
64AUDIO_ENABLE = no 25AUDIO_ENABLE = no
65RGBLIGHT_ENABLE = no \ No newline at end of file 26RGBLIGHT_ENABLE = no
27
28# Project specific files
29SRC += dynamic_macro.c
diff --git a/keyboards/planck/light/rules.mk b/keyboards/planck/light/rules.mk
index b621a9abb..0d86bb8a5 100644
--- a/keyboards/planck/light/rules.mk
+++ b/keyboards/planck/light/rules.mk
@@ -1,15 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
3 3
4# Bootloader 4# Bootloader selection
5# This definition is optional, and if your keyboard supports multiple bootloaders of 5# Teensy halfkay
6# different sizes, comment this out, and the correct address will be loaded 6# Pro Micro caterina
7# automatically (+60). See bootloader.mk for all options. 7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
8BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
9 13
10# Interrupt driven control endpoint task(+60)
11OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
12
13# Build Options 14# Build Options
14# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
15# the appropriate keymap folder that will get included automatically 16# the appropriate keymap folder that will get included automatically
diff --git a/keyboards/subatomic/rules.mk b/keyboards/subatomic/rules.mk
index b4e2f488d..4d1c4c1c5 100644
--- a/keyboards/subatomic/rules.mk
+++ b/keyboards/subatomic/rules.mk
@@ -1,51 +1,15 @@
1
2
3# MCU name 1# MCU name
4MCU = at90usb1286 2MCU = at90usb1286
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# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48OPT_DEFS += -DBOOTLOADER_SIZE=8192
49 13
50# Build Options 14# Build Options
51# change to "no" to disable the options, or define them in the Makefile in 15# change to "no" to disable the options, or define them in the Makefile in
@@ -66,4 +30,4 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
66API_SYSEX_ENABLE = no 30API_SYSEX_ENABLE = no
67 31
68# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 32# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
69SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend \ No newline at end of file 33SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
diff --git a/keyboards/tkc1800/rules.mk b/keyboards/tkc1800/rules.mk
index 35da90d07..21e3697dc 100644
--- a/keyboards/tkc1800/rules.mk
+++ b/keyboards/tkc1800/rules.mk
@@ -1,52 +1,15 @@
1
2# MCU name 1# MCU name
3MCU = at90usb1286 2MCU = at90usb1286
4 3
5# Processor frequency. 4# Bootloader selection
6# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
7# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
9# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
10# 9# QMK DFU qmk-dfu
11# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
12# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
13# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48OPT_DEFS += -DBOOTLOADER_SIZE=8192
49
50 13
51# Build Options 14# Build Options
52# change yes to no to disable 15# change yes to no to disable
diff --git a/keyboards/uk78/rules.mk b/keyboards/uk78/rules.mk
index 5c2691823..ddd799c08 100644
--- a/keyboards/uk78/rules.mk
+++ b/keyboards/uk78/rules.mk
@@ -1,45 +1,15 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
3 3
4# Processor frequency. 4# Bootloader selection
5# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
6# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
7# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
8# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
9# 9# QMK DFU qmk-dfu
10# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
11# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
12# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
13# reflect the processor speed set externally so that the code can use accurate
14# software delays.
15F_CPU = 16000000
16
17#
18# LUFA specific
19#
20# Target architecture (see library "Board Types" documentation).
21ARCH = AVR8
22
23# Input clock frequency.
24# This will define a symbol, F_USB, in all source code files equal to the
25# input clock frequency (before any prescaling is performed) in Hz. This value may
26# differ from F_CPU if prescaling is used on the latter, and is required as the
27# raw input clock is fed directly to the PLL sections of the AVR for high speed
28# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
29# at the end, this will be done automatically to create a 32-bit value in your
30# source code.
31#
32# If no clock division is performed on the input clock inside the AVR (via the
33# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
34F_USB = $(F_CPU)
35
36# Interrupt driven control endpoint task(+60)
37OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
38
39
40# Boot Section Size in *bytes*
41OPT_DEFS += -DBOOTLOADER_SIZE=8192
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 ?= yes # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
55AUDIO_ENABLE ?= no 25AUDIO_ENABLE ?= no
56RGBLIGHT_ENABLE ?= yes \ No newline at end of file 26RGBLIGHT_ENABLE ?= yes
diff --git a/keyboards/vision_division/rules.mk b/keyboards/vision_division/rules.mk
index 5cd3a69bb..960210046 100644
--- a/keyboards/vision_division/rules.mk
+++ b/keyboards/vision_division/rules.mk
@@ -1,51 +1,15 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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=1024
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/z150_blackheart/rules.mk b/keyboards/z150_blackheart/rules.mk
index b258bf35f..150af8dab 100644
--- a/keyboards/z150_blackheart/rules.mk
+++ b/keyboards/z150_blackheart/rules.mk
@@ -1,48 +1,16 @@
1# MCU name 1# MCU name
2MCU = at90usb1286 2MCU = at90usb1286
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
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
40BOOTLOADER = halfkay 12BOOTLOADER = halfkay
41 13
42# Boot Section Size in *bytes*
43# OPT_DEFS += -DBOOTLOADER_SIZE=4096
44
45
46# Build Options 14# Build Options
47# comment out to disable the options. 15# comment out to disable the options.
48# 16#
@@ -55,4 +23,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
55NKRO_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
56BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 24BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
57AUDIO_ENABLE = no 25AUDIO_ENABLE = no
58RGBLIGHT_ENABLE = no \ No newline at end of file 26RGBLIGHT_ENABLE = no