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