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