summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-30 15:27:25 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-29 21:27:25 -0700
commitb47c10bf6f152d7a5c35fc4f7478aa69e91fb081 (patch)
tree10831512c7cc44ef11083321e8f1f40be99fa4f9
parent3817ff7cc00910c0bd6f638064580a70f9b156c1 (diff)
Cleanup rules.mk for 32U4 keyboards, T-Z (#7190)
* Cleanup rules.mk for 32U4 keyboards, T-Z * Use atmel-dfu in place of lufa-ms until it exists
-rw-r--r--keyboards/gray_studio/cod67/rules.mk2
-rw-r--r--keyboards/standaside/rules.mk2
-rw-r--r--keyboards/tada68/keymaps/default/rules.mk18
-rwxr-xr-xkeyboards/tada68/rules.mk59
-rw-r--r--keyboards/tanuki/rules.mk56
-rw-r--r--keyboards/telophase/rules.mk63
-rwxr-xr-xkeyboards/tetris/rules.mk50
-rw-r--r--keyboards/tgr/jane/keymaps/default/rules.mk0
-rw-r--r--keyboards/the_ruler/keymaps/default/rules.mk0
-rw-r--r--keyboards/the_ruler/rules.mk17
-rw-r--r--keyboards/thevankeyboards/bananasplit/keymaps/default/rules.mk34
-rw-r--r--keyboards/thevankeyboards/bananasplit/rules.mk55
-rw-r--r--keyboards/thevankeyboards/caravan/rules.mk15
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/default/rules.mk18
-rw-r--r--keyboards/thevankeyboards/minivan/rules.mk56
-rw-r--r--keyboards/thevankeyboards/roadkit/keymaps/default/rules.mk18
-rw-r--r--keyboards/thevankeyboards/roadkit/rules.mk56
-rw-r--r--keyboards/tmo50/rules.mk43
-rw-r--r--keyboards/toad/rules.mk50
-rw-r--r--keyboards/tokyo60/rules.mk57
-rw-r--r--keyboards/touchpad/rules.mk51
-rw-r--r--keyboards/treadstone32/keymaps/default/rules.mk6
-rw-r--r--keyboards/treadstone32/rules.mk39
-rw-r--r--keyboards/treadstone48/keymaps/default/rules.mk18
-rw-r--r--keyboards/treadstone48/rules.mk55
-rw-r--r--keyboards/treasure/type9/rules.mk51
-rw-r--r--keyboards/uzu42/rev1/rules.mk21
-rw-r--r--keyboards/uzu42/rules.mk11
-rw-r--r--keyboards/v60_type_r/keymaps/default/rules.mk2
-rw-r--r--keyboards/v60_type_r/keymaps/iso/rules.mk2
-rw-r--r--keyboards/v60_type_r/rules.mk41
-rw-r--r--keyboards/vision_division/keymaps/default/rules.mk19
-rw-r--r--keyboards/vitamins_included/keymaps/default/rules.mk1
-rw-r--r--keyboards/vitamins_included/rev1/rules.mk11
-rw-r--r--keyboards/vitamins_included/rev2/rules.mk11
-rw-r--r--keyboards/vitamins_included/rules.mk2
-rw-r--r--keyboards/vn66/rules.mk15
-rw-r--r--keyboards/waldo/keymaps/default/rules.mk0
-rw-r--r--keyboards/waldo/keymaps/default_split_shft_bck/rules.mk0
-rw-r--r--keyboards/waldo/rules.mk15
-rw-r--r--keyboards/westfoxtrot/aanzee/rules.mk39
-rw-r--r--keyboards/westfoxtrot/cyclops/rules.mk53
-rw-r--r--keyboards/westfoxtrot/cypher/rules.mk51
-rw-r--r--keyboards/wilba_tech/rama_works_koyu/rules.mk14
-rw-r--r--keyboards/wilba_tech/rama_works_m10_b/rules.mk7
-rw-r--r--keyboards/wilba_tech/rama_works_m60_a/rules.mk16
-rw-r--r--keyboards/wilba_tech/rama_works_m6_a/rules.mk6
-rw-r--r--keyboards/wilba_tech/rama_works_m6_b/rules.mk14
-rw-r--r--keyboards/wilba_tech/rama_works_u80_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt60_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt60_a/rules.mk61
-rw-r--r--keyboards/wilba_tech/wt60_d/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt60_d/rules.mk8
-rw-r--r--keyboards/wilba_tech/wt65_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt65_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt65_b/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt65_b/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt69_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt69_a/rules.mk7
-rw-r--r--keyboards/wilba_tech/wt75_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt75_b/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_b/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt75_c/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt75_c/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt80_a/keymaps/via/rules.mk2
-rw-r--r--keyboards/wilba_tech/wt80_a/rules.mk15
-rw-r--r--keyboards/wilba_tech/wt8_a/rules.mk6
-rw-r--r--keyboards/wilba_tech/zeal60/rules.mk14
-rw-r--r--keyboards/wilba_tech/zeal65/rules.mk14
-rw-r--r--keyboards/xd60/rev2/rules.mk55
-rw-r--r--keyboards/xd60/rev3/rules.mk53
-rw-r--r--keyboards/xd75/keymaps/default/rules.mk15
-rw-r--r--keyboards/xd75/rules.mk53
-rw-r--r--keyboards/xd84/rules.mk51
-rwxr-xr-xkeyboards/xd87/keymaps/default_underglow/rules.mk2
-rw-r--r--keyboards/xd87/rules.mk51
-rw-r--r--keyboards/xd96/rules.mk51
-rw-r--r--keyboards/xmmx/rules.mk50
-rw-r--r--keyboards/xw60/rules.mk38
-rw-r--r--keyboards/yd60mq/rules.mk39
-rw-r--r--keyboards/yd68/rules.mk51
-rw-r--r--keyboards/yosino58/keymaps/default/rules.mk22
-rw-r--r--keyboards/yosino58/rules.mk58
-rw-r--r--keyboards/zinc/keymaps/default/rules.mk1
-rw-r--r--keyboards/zinc/rules.mk53
-rw-r--r--keyboards/zj68/rules.mk38
-rwxr-xr-xkeyboards/zlant/rules.mk48
88 files changed, 394 insertions, 1808 deletions
diff --git a/keyboards/gray_studio/cod67/rules.mk b/keyboards/gray_studio/cod67/rules.mk
index 1df4615eb9..196dfb8c48 100644
--- a/keyboards/gray_studio/cod67/rules.mk
+++ b/keyboards/gray_studio/cod67/rules.mk
@@ -9,7 +9,7 @@ MCU = atmega32u4
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
-BOOTLOADER = lufa-ms
+BOOTLOADER = atmel-dfu # actually lufa-ms
# Build Options
# change yes to no to disable
diff --git a/keyboards/standaside/rules.mk b/keyboards/standaside/rules.mk
index 993f0acdc0..1d92c731c3 100644
--- a/keyboards/standaside/rules.mk
+++ b/keyboards/standaside/rules.mk
@@ -9,7 +9,7 @@ MCU = atmega32u4
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
-BOOTLOADER = atmel_dfu
+BOOTLOADER = atmel-dfu
# Build Options
# 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 53644093d6..0000000000
--- a/keyboards/tada68/keymaps/default/rules.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
-EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
-CONSOLE_ENABLE = no # Console for debug(+400)
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = no # Audio output on port C6
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-
diff --git a/keyboards/tada68/rules.mk b/keyboards/tada68/rules.mk
index ceb6f96af7..ec3991c318 100755
--- a/keyboards/tada68/rules.mk
+++ b/keyboards/tada68/rules.mk
@@ -1,61 +1,26 @@
# MCU name
MCU = atmega32u4
-# Processor frequency.
-# This will define a symbol, F_CPU, in all source code files equal to the
-# processor frequency in Hz. You can then use this symbol in your source code to
-# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
-# automatically to create a 32-bit value in your source code.
-#
-# This will be an integer division of F_USB below, as it is sourced by
-# F_USB after it has run through any CPU prescalers. Note that this value
-# does not *change* the processor frequency - it should merely be updated to
-# reflect the processor speed set externally so that the code can use accurate
-# software delays.
-F_CPU = 16000000
-
-
-#
-# LUFA specific
-#
-# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
-
-# Input clock frequency.
-# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU if prescaling is used on the latter, and is required as the
-# raw input clock is fed directly to the PLL sections of the AVR for high speed
-# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
-# at the end, this will be done automatically to create a 32-bit value in your
-# source code.
-#
-# If no clock division is performed on the input clock inside the AVR (via the
-# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_USB = $(F_CPU)
-
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
-
-# Boot Section Size in *bytes*
-# Teensy halfKay 512
-# Teensy++ halfKay 1024
-# Atmel DFU loader 4096
-# LUFA bootloader 4096
-# USBaspLoader 2048
-OPT_DEFS += -DBOOTLOADER_SIZE=4096
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu # actually lufa-ms
# Mass storage bootloader on the tada68 uses bin files
-FIRMWARE_FORMAT=bin
+FIRMWARE_FORMAT = bin
# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
+CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870)
diff --git a/keyboards/tanuki/rules.mk b/keyboards/tanuki/rules.mk
index fd3c058304..516c3db5e6 100644
--- a/keyboards/tanuki/rules.mk
+++ b/keyboards/tanuki/rules.mk
@@ -1,52 +1,15 @@
-
-
# MCU name
MCU = atmega32u4
-# Processor frequency.
-# This will define a symbol, F_CPU, in all source code files equal to the
-# processor frequency in Hz. You can then use this symbol in your source code to
-# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
-# automatically to create a 32-bit value in your source code.
-#
-# This will be an integer division of F_USB below, as it is sourced by
-# F_USB after it has run through any CPU prescalers. Note that this value
-# does not *change* the processor frequency - it should merely be updated to
-# reflect the processor speed set externally so that the code can use accurate
-# software delays.
-F_CPU = 16000000
-
-
-#
-# LUFA specific
-#
-# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
-
-# Input clock frequency.
-# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU if prescaling is used on the latter, and is required as the
-# raw input clock is fed directly to the PLL sections of the AVR for high speed
-# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
-# at the end, this will be done automatically to create a 32-bit value in your
-# source code.
-#
-# If no clock division is performed on the input clock inside the AVR (via the
-# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_USB = $(F_CPU)
-
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
-
-# Boot Section Size in *bytes*
-# Teensy halfKay 512
-# Teensy++ halfKay 1024
-# Atmel DFU loader 4096
-# LUFA bootloader 4096
-# USBaspLoader 2048
-BOOTLOADER=caterina
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = caterina
# Build Options
# comment out to disable the options.
@@ -64,4 +27,3 @@ AUDIO_ENABLE = no
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
TAP_DANCE_ENABLE = no
-
diff --git a/keyboards/telophase/rules.mk b/keyboards/telophase/rules.mk
index 3af91858f2..2c8df3295d 100644
--- a/keyboards/telophase/rules.mk
+++ b/keyboards/telophase/rules.mk
@@ -1,56 +1,16 @@
-
-OPT_DEFS += -DMITOSIS_PROMICRO
-MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
- avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
-
-# # project specific files
-SRC = matrix.c
-
-
# MCU name
MCU = atmega32u4
-# Processor frequency.
-# This will define a symbol, F_CPU, in all source code files equal to the
-# processor frequency in Hz. You can then use this symbol in your source code to
-# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
-# automatically to create a 32-bit value in your source code.
-#
-# This will be an integer division of F_USB below, as it is sourced by
-# F_USB after it has run through any CPU prescalers. Note that this value
-# does not *change* the processor frequency - it should merely be updated to
-# reflect the processor speed set externally so that the code can use accurate
-# software delays.
-F_CPU = 16000000
-
-#
-# LUFA specific
-#
-# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
-
-# Input clock frequency.
-# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU if prescaling is used on the latter, and is required as the
-# raw input clock is fed directly to the PLL sections of the AVR for high speed
-# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
-# at the end, this will be done automatically to create a 32-bit value in your
-# source code.
-#
-# If no clock division is performed on the input clock inside the AVR (via the
-# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_USB = $(F_CPU)
-
-# Bootloader
-# This definition is optional, and if your keyboard supports multiple bootloaders of
-# different sizes, comment this out, and the correct address will be loaded
-# automatically (+60). See bootloader.mk for all options.
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
BOOTLOADER = caterina
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
# Build Options
# comment out to disable the options.
#
@@ -72,3 +32,10 @@ USB = /dev/ttyACM0
# upload: build
# $(MITOSIS_UPLOAD_COMMAND)
+
+OPT_DEFS += -DMITOSIS_PROMICRO
+MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
+ avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
+
+# # project specific files
+SRC = matrix.c
diff --git a/keyboards/tetris/rules.mk b/keyboards/tetris/rules.mk
index c3e641c8f2..15fcf5cf6d 100755
--- a/keyboards/tetris/rules.mk
+++ b/keyboards/tetris/rules.mk
@@ -1,47 +1,15 @@
# MCU name
MCU = atmega32u4
-# Processor frequency.
-# This will define a symbol, F_CPU, in all source code files equal to the
-# processor frequency in Hz. You can then use this symbol in your source code to
-# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
-# automatically to create a 32-bit value in your source code.
-#
-# This will be an integer division of F_USB below, as it is sourced by
-# F_USB after it has run through any CPU prescalers. Note that this value
-# does not *change* the processor frequency - it should merely be updated to
-# reflect the processor speed set externally so that the code can use accurate
-# software delays.
-F_CPU = 16000000
-
-#
-# LUFA specific
-#
-# Target architecture (see library "Board Types" documentation).
-ARCH = AVR8
-
-# Input clock frequency.
-# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU if prescaling is used on the latter, and is required as the
-# raw input clock is fed directly to the PLL sections of the AVR for high speed
-# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
-# at the end, this will be done automatically to create a 32-bit value in your
-# source code.
-#
-# If no clock division is performed on the input clock inside the AVR (via the
-# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
-F_USB = $(F_CPU)
-
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
-
-# Boot Section Size in *bytes*
-#OPT_DEFS += -DBOOTLOADER_SIZE=4096
-
-BOOTLOADER =qmk-dfu
-
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = qmk-dfu
# Build Options
# 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 e69de29bb2..0000000000
--- a/