diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-10-26 12:32:18 +1100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-10-25 18:32:18 -0700 |
| commit | 5d34e70cf773531536dda363fc43c60146e3d97c (patch) | |
| tree | aa8a7117dc5d46c4a43fb99fcc2c4f2ff93382ec | |
| parent | 006ec86786da874938f54e9b1d0f4a5f049de546 (diff) | |
| download | qmk_firmware-5d34e70cf773531536dda363fc43c60146e3d97c.tar.gz qmk_firmware-5d34e70cf773531536dda363fc43c60146e3d97c.zip | |
Cleanup rules.mk for 32U4 keyboards, N-Q (#7147)
60 files changed, 300 insertions, 1480 deletions
diff --git a/keyboards/naked48/keymaps/default/rules.mk b/keyboards/naked48/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/naked48/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/naked48/keymaps/default_with_nafuda/rules.mk b/keyboards/naked48/keymaps/default_with_nafuda/rules.mk index f76b955ef..6c605daec 100644 --- a/keyboards/naked48/keymaps/default_with_nafuda/rules.mk +++ b/keyboards/naked48/keymaps/default_with_nafuda/rules.mk | |||
| @@ -1 +1 @@ | |||
| MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | MOUSEKEY_ENABLE = yes | ||
diff --git a/keyboards/naked48/keymaps/default_with_setta21/rules.mk b/keyboards/naked48/keymaps/default_with_setta21/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/naked48/keymaps/default_with_setta21/rules.mk +++ /dev/null | |||
diff --git a/keyboards/naked48/rules.mk b/keyboards/naked48/rules.mk index 4427284e7..75e073df6 100644 --- a/keyboards/naked48/rules.mk +++ b/keyboards/naked48/rules.mk | |||
| @@ -11,9 +11,6 @@ MCU = atmega32u4 | |||
| 11 | # ATmega328P USBasp | 11 | # ATmega328P USBasp |
| 12 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 13 | 13 | ||
| 14 | # Interrupt driven control endpoint task(+60) | ||
| 15 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 16 | |||
| 17 | # Build Options | 14 | # Build Options |
| 18 | # 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 |
| 19 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/naked60/keymaps/default_with_nafuda/rules.mk b/keyboards/naked60/keymaps/default_with_nafuda/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/naked60/keymaps/default_with_nafuda/rules.mk +++ /dev/null | |||
diff --git a/keyboards/naked60/keymaps/default_with_setta21/rules.mk b/keyboards/naked60/keymaps/default_with_setta21/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/naked60/keymaps/default_with_setta21/rules.mk +++ /dev/null | |||
diff --git a/keyboards/namecard2x4/rev1/rules.mk b/keyboards/namecard2x4/rev1/rules.mk index 407298e90..e69de29bb 100644 --- a/keyboards/namecard2x4/rev1/rules.mk +++ b/keyboards/namecard2x4/rev1/rules.mk | |||
| @@ -1,80 +0,0 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 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 selection | ||
| 50 | # Teensy halfkay | ||
| 51 | # Pro Micro caterina | ||
| 52 | # Atmel DFU atmel-dfu | ||
| 53 | # LUFA DFU lufa-dfu | ||
| 54 | # QMK DFU qmk-dfu | ||
| 55 | # atmega32a bootloadHID | ||
| 56 | BOOTLOADER = atmel-dfu | ||
| 57 | |||
| 58 | |||
| 59 | # Build Options | ||
| 60 | # change yes to no to disable | ||
| 61 | # | ||
| 62 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 63 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 64 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 65 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 66 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 67 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 68 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 69 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 70 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 71 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 72 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 73 | UNICODE_ENABLE = no # Unicode | ||
| 74 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 75 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 76 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 77 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 78 | |||
| 79 | #UNICODEMAP_ENABLE = yes # for emoji user | ||
| 80 | #RGBLIGHT_ENABLE = yes # uncomment if you want addressable led strips | ||
diff --git a/keyboards/namecard2x4/rev2/rules.mk b/keyboards/namecard2x4/rev2/rules.mk index 407298e90..e69de29bb 100644 --- a/keyboards/namecard2x4/rev2/rules.mk +++ b/keyboards/namecard2x4/rev2/rules.mk | |||
| @@ -1,80 +0,0 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 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 selection | ||
| 50 | # Teensy halfkay | ||
| 51 | # Pro Micro caterina | ||
| 52 | # Atmel DFU atmel-dfu | ||
| 53 | # LUFA DFU lufa-dfu | ||
| 54 | # QMK DFU qmk-dfu | ||
| 55 | # atmega32a bootloadHID | ||
| 56 | BOOTLOADER = atmel-dfu | ||
| 57 | |||
| 58 | |||
| 59 | # Build Options | ||
| 60 | # change yes to no to disable | ||
| 61 | # | ||
| 62 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 63 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 64 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 65 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 66 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 67 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 68 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 69 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 70 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 71 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 72 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 73 | UNICODE_ENABLE = no # Unicode | ||
| 74 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 75 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 76 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 77 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 78 | |||
| 79 | #UNICODEMAP_ENABLE = yes # for emoji user | ||
| 80 | #RGBLIGHT_ENABLE = yes # uncomment if you want addressable led strips | ||
diff --git a/keyboards/namecard2x4/rules.mk b/keyboards/namecard2x4/rules.mk new file mode 100644 index 000000000..d9eff798c --- /dev/null +++ b/keyboards/namecard2x4/rules.mk | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 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 | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 20 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 21 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 27 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 28 | UNICODE_ENABLE = no # Unicode | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 33 | |||
| 34 | #UNICODEMAP_ENABLE = yes # for emoji user | ||
| 35 | #RGBLIGHT_ENABLE = yes # uncomment if you want addressable led strips | ||
diff --git a/keyboards/nek_type_a/rules.mk b/keyboards/nek_type_a/rules.mk index 6f172a9ce..db5b1642c 100644 --- a/keyboards/nek_type_a/rules.mk +++ b/keyboards/nek_type_a/rules.mk | |||
| @@ -1,14 +1,17 @@ | |||
| 1 | SRC = matrix.c mcp23017.c | 1 | # MCU name |
| 2 | |||
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | F_CPU = 8000000 | ||
| 5 | |||
| 6 | ARCH = AVR8 | ||
| 7 | F_USB = $(F_CPU) | ||
| 8 | 3 | ||
| 9 | # Interrupt driven control endpoint task(+60) | 4 | # Processor frequency |
| 10 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 5 | F_CPU = 8000000 |
| 11 | 6 | ||
| 7 | # Bootloader selection | ||
| 8 | # Teensy halfkay | ||
| 9 | # Pro Micro caterina | ||
| 10 | # Atmel DFU atmel-dfu | ||
| 11 | # LUFA DFU lufa-dfu | ||
| 12 | # QMK DFU qmk-dfu | ||
| 13 | # ATmega32A bootloadHID | ||
| 14 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | 15 | BOOTLOADER = caterina |
| 13 | 16 | ||
| 14 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| @@ -30,4 +33,6 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 30 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 31 | CUSTOM_MATRIX = yes | 34 | CUSTOM_MATRIX = yes |
| 32 | DEBUG_ENABLE = yes | 35 | DEBUG_ENABLE = yes |
| 33 | BLUETOOTH = AdafruitBLE \ No newline at end of file | 36 | BLUETOOTH = AdafruitBLE |
| 37 | |||
| 38 | SRC += matrix.c mcp23017.c | ||
diff --git a/keyboards/newgame40/rules.mk b/keyboards/newgame40/rules.mk index e92cde758..ab07dd2b6 100644 --- a/keyboards/newgame40/rules.mk +++ b/keyboards/newgame40/rules.mk | |||
| @@ -1,48 +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 | # 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 | # Teensy halfKay 512 | ||
| 42 | # Teensy++ halfKay 1024 | ||
| 43 | # Atmel DFU loader 4096 | ||
| 44 | # LUFA bootloader 4096 | ||
| 45 | # USBaspLoader 2048 | ||
| 46 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 47 | 13 | ||
| 48 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/nightmare/rules.mk b/keyboards/nightmare/rules.mk index d33c542a5..66a778b6c 100644 --- a/keyboards/nightmare/rules.mk +++ b/keyboards/nightmare/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/niu_mini/rules.mk b/keyboards/niu_mini/rules.mk index 03b02cdde..67548a448 100644 --- a/keyboards/niu_mini/rules.mk +++ b/keyboards/niu_mini/rules.mk | |||
| @@ -1,12 +1,14 @@ | |||
| 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 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 10 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 11 | 13 | ||
| 12 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/nomu30/rules.mk b/keyboards/nomu30/rules.mk index f51259b29..e05730c69 100644 --- a/keyboards/nomu30/rules.mk +++ b/keyboards/nomu30/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 = caterina | 12 | BOOTLOADER = caterina |
| 49 | 13 | ||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 59 | |||
| 60 | |||
| 61 | # Build Options | 14 | # Build Options |
| 62 | # change yes to no to disable | 15 | # change yes to no to disable |
| 63 | # | 16 | # |
diff --git a/keyboards/noxary/220/rules.mk b/keyboards/noxary/220/rules.mk index af8b7d683..785fb488d 100644 --- a/keyboards/noxary/220/rules.mk +++ b/keyboards/noxary/220/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/noxary/260/rules.mk b/keyboards/noxary/260/rules.mk index 646d38de3..4d9977cd3 100644 --- a/keyboards/noxary/260/rules.mk +++ b/keyboards/noxary/260/rules.mk | |||
| @@ -7,7 +7,8 @@ MCU = atmega32u4 | |||
| 7 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 9 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 10 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 11 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 12 | 13 | ||
| 13 | # Build Options | 14 | # Build Options |
| @@ -32,4 +33,4 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 33 | EXTRAFLAGS += -flto | 34 | EXTRAFLAGS += -flto |
| 34 | 35 | ||
| 35 | LAYOUTS = 60_ansi 60_iso 60_hhkb 60_tsangan_hhkb \ No newline at end of file | 36 | LAYOUTS = 60_ansi 60_iso 60_hhkb 60_tsangan_hhkb |
diff --git a/keyboards/noxary/268/rules.mk b/keyboards/noxary/268/rules.mk index d0b4ce2b5..59e6b524c 100644 --- a/keyboards/noxary/268/rules.mk +++ b/keyboards/noxary/268/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 ?= yes # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE ?= yes # 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/noxary/268_2/rules.mk b/keyboards/noxary/268_2/rules.mk index d1d781ccf..2f9d08765 100644 --- a/keyboards/noxary/268_2/rules.mk +++ b/keyboards/noxary/268_2/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 | # |
| @@ -69,4 +32,4 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 69 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 70 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 71 | 34 | ||
| 72 | LAYOUTS = 65_ansi_blocker \ No newline at end of file | 35 | LAYOUTS = 65_ansi_blocker |
diff --git a/keyboards/noxary/280/rules.mk b/keyboards/noxary/280/rules.mk index f99ee37b0..7ac7c8f65 100644 --- a/keyboards/noxary/280/rules.mk +++ b/keyboards/noxary/280/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/noxary/x268/rules.mk b/keyboards/noxary/x268/rules.mk index 3c4a26ad1..8b2d28fcd 100644 --- a/keyboards/noxary/x268/rules.mk +++ b/keyboards/noxary/x268/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/ok60/rules.mk b/keyboards/ok60/rules.mk index 03646c485..6a0b6cfb3 100644 --- a/keyboards/ok60/rules.mk +++ b/keyboards/ok60/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. |
diff --git a/keyboards/orange75/rules.mk b/keyboards/orange75/rules.mk index 0f9672a51..d5b1f1e10 100644 --- a/keyboards/orange75/rules.mk +++ b/keyboards/orange75/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 | # 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 | |||
| 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 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 63 | # | 16 | # |
| @@ -70,4 +23,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 70 | 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 |
| 71 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 72 | AUDIO_ENABLE = no | 25 | AUDIO_ENABLE = no |
| 73 | RGBLIGHT_ENABLE = no \ No newline at end of file | 26 | RGBLIGHT_ENABLE = no |
diff --git a/keyboards/org60/rules.mk b/keyboards/org60/rules.mk index 53e9a28fe..3e00a0493 100644 --- a/keyboards/org60/rules.mk +++ b/keyboards/org60/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 | AUDIO_ENABLE = no # Audio output on port C6 | 15 | AUDIO_ENABLE = no # Audio output on port C6 |
diff --git a/keyboards/orthodox/keymaps/default/rules.mk b/keyboards/orthodox/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/orthodox/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/orthodox/rev1/rules.mk b/keyboards/orthodox/rev1/rules.mk index 7e3182209..8daa5f5ec 100644 --- a/keyboards/orthodox/rev1/rules.mk +++ b/keyboards/orthodox/rev1/rules.mk | |||
| @@ -1,2 +1,11 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | 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 | BACKLIGHT_ENABLE = no | ||
diff --git a/keyboards/orthodox/rev3/rules.mk b/keyboards/orthodox/rev3/rules.mk index 7e3182209..8daa5f5ec 100644 --- a/keyboards/orthodox/rev3/rules.mk +++ b/keyboards/orthodox/rev3/rules.mk | |||
| @@ -1,2 +1,11 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | 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 | BACKLIGHT_ENABLE = no | ||
diff --git a/keyboards/orthodox/rev3_teensy/rules.mk b/keyboards/orthodox/rev3_teensy/rules.mk index 409061345..cbd79cccd 100644 --- a/keyboards/orthodox/rev3_teensy/rules.mk +++ b/keyboards/orthodox/rev3_teensy/rules.mk | |||
| @@ -1,2 +1,11 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | 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 = halfkay | 9 | BOOTLOADER = halfkay |
| 10 | |||
| 11 | BACKLIGHT_ENABLE = no | ||
diff --git a/keyboards/orthodox/rules.mk b/keyboards/orthodox/rules.mk index 61878ea83..59f039a76 100644 --- a/keyboards/orthodox/rules.mk +++ b/keyboards/orthodox/rules.mk | |||
| @@ -1,46 +1,6 @@ | |||
| 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 | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | |||
| 41 | # Interrupt driven control endpoint task(+60) | ||
| 42 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 43 | |||
| 44 | # Build Options | 4 | # Build Options |
| 45 | # change to "no" to disable the options, or define them in the Makefile in | 5 | # change to "no" to disable the options, or define them in the Makefile in |
| 46 | # the appropriate keymap folder that will get included automatically | 6 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/otaku_split/rev0/rules.mk b/keyboards/otaku_split/rev0/rules.mk index 04e0aacb1..8c41bc5a2 100644 --- a/keyboards/otaku_split/rev0/rules.mk +++ b/keyboards/otaku_split/rev0/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/otaku_split/rev1/rules.mk b/keyboards/otaku_split/rev1/rules.mk index 04e0aacb1..8c41bc5a2 100644 --- a/keyboards/otaku_split/rev1/rules.mk +++ b/keyboards/otaku_split/rev1/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/paladin64/rules.mk b/keyboards/paladin64/rules.mk index 3b79256ab..558d1855a 100755 --- a/keyboards/paladin64/rules.mk +++ b/keyboards/paladin64/rules.mk | |||
| @@ -1,45 +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 | # 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 = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 44 | 13 | ||
| 45 | # Build Options | 14 | # Build Options |
| @@ -59,4 +28,4 @@ RGBLIGHT_ENABLE ?= yes | |||
| 59 | #PS2_USE_USART ?= yes | 28 | #PS2_USE_USART ?= yes |
| 60 | #PS2_USE_INT ?= yes | 29 | #PS2_USE_INT ?= yes |
| 61 | 30 | ||
| 62 | LAYOUTS = 60_ansi \ No newline at end of file | 31 | LAYOUTS = 60_ansi |
diff --git a/keyboards/pancake/feather/rules.mk b/keyboards/pancake/feather/rules.mk index 085c87f8d..ed10c5faa 100644 --- a/keyboards/pancake/feather/rules.mk +++ b/keyboards/pancake/feather/rules.mk | |||
| @@ -1,16 +1,22 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Processor frequency |
| 5 | F_CPU = 8000000 | 5 | F_CPU = 8000000 |
| 6 | 6 | ||
| 7 | # Bootloader | 7 | # Bootloader selection |
| 8 | # Teensy halfkay | ||
| 9 | # Pro Micro caterina | ||
| 10 | # Atmel DFU atmel-dfu | ||
| 11 | # LUFA DFU lufa-dfu | ||
| 12 | # QMK DFU qmk-dfu | ||
| 13 | # ATmega32A bootloadHID | ||
| 14 | # ATmega328P USBasp | ||
| 8 | BOOTLOADER = caterina | 15 | BOOTLOADER = caterina |
| 9 | 16 | ||
| 10 | # Build Options | 17 | # Build Options |
| 11 | # comment out to disable the options. | 18 | # comment out to disable the options. |
| 12 | # | 19 | # |
| 13 | |||
| 14 | BLUETOOTH = AdafruitBLE | 20 | BLUETOOTH = AdafruitBLE |
| 15 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | 21 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) |
| 16 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 22 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) |
diff --git a/keyboards/pancake/promicro/rules.mk b/keyboards/pancake/promicro/rules.mk index af964df28..3ede4cd34 100644 --- a/keyboards/pancake/promicro/rules.mk +++ b/keyboards/pancake/promicro/rules.mk | |||
| @@ -1,8 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader | 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 | ||
| 5 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 13 | |||
| 6 | # Build Options | 14 | # Build Options |
| 7 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 8 | # | 16 | # |
diff --git a/keyboards/pdxkbc/rules.mk b/keyboards/pdxkbc/rules.mk index bc370be03..7218e1e1b 100644 --- a/keyboards/pdxkbc/rules.mk +++ b/keyboards/pdxkbc/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/percent/booster/rules.mk b/keyboards/percent/booster/rules.mk index 30e66537f..fb2ca00e7 100644 --- a/keyboards/percent/booster/rules.mk +++ b/keyboards/percent/booster/rules.mk | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | # MCU name | ||
| 1 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 2 | F_CPU = 16000000 | ||
| 3 | ARCH = AVR8 | ||
| 4 | F_USB = $(F_CPU) | ||
| 5 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 6 | |||
| 7 | 3 | ||
| 8 | # Bootloader selection | 4 | # Bootloader selection |
| 9 | # Teensy halfkay | 5 | # Teensy halfkay |
| @@ -11,7 +7,8 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | |||
| 11 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 12 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 13 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 14 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 15 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 16 | 13 | ||
| 17 | # Build Options | 14 | # Build Options |
| @@ -36,4 +33,4 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 36 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 37 | EXTRAFLAGS += -flto | 34 | EXTRAFLAGS += -flto |
| 38 | 35 | ||
| 39 | LAYOUTS = numpad_5x4 \ No newline at end of file | 36 | LAYOUTS = numpad_5x4 |
diff --git a/keyboards/phantom/keymaps/default/rules.mk b/keyboards/phantom/keymaps/default/rules.mk index 597d4046a..15b7f725b 100644 --- a/keyboards/phantom/keymaps/default/rules.mk +++ b/keyboards/phantom/keymaps/default/rules.mk | |||
| @@ -1,34 +1 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | CONSOLE_ENABLE = yes | |
| 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 = yes # 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 = yes # 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. Do not enable this with audio at the same time. | ||
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 34 | |||
diff --git a/keyboards/phantom/rules.mk b/keyboards/phantom/rules.mk index c4d5f5759..1c8d7b916 100644 --- a/keyboards/phantom/rules.mk +++ b/keyboards/phantom/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 = 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/pinky/3/keymaps/default/rules.mk b/keyboards/pinky/3/keymaps/default/rules.mk deleted file mode 100644 index 176869809..000000000 --- a/keyboards/pinky/3/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 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. | ||
| 18 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | ||
diff --git a/keyboards/pinky/3/rules.mk b/keyboards/pinky/3/rules.mk index 1bb8bf6d7..e69de29bb 100644 --- a/keyboards/pinky/3/rules.mk +++ b/keyboards/pinky/3/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | # empty | ||
diff --git a/keyboards/pinky/4/keymaps/default/rules.mk b/keyboards/pinky/4/keymaps/default/rules.mk deleted file mode 100644 index 176869809..000000000 --- a/keyboards/pinky/4/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 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. | ||
| 18 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | ||
diff --git a/keyboards/pinky/4/rules.mk b/keyboards/pinky/4/rules.mk index 1bb8bf6d7..e69de29bb 100644 --- a/keyboards/pinky/4/rules.mk +++ b/keyboards/pinky/4/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | # empty | ||
diff --git a/keyboards/pinky/rules.mk b/keyboards/pinky/rules.mk index 14af0703a..395afeff0 100644 --- a/keyboards/pinky/rules.mk +++ b/keyboards/pinky/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 = caterina | 12 | BOOTLOADER = caterina |
| 49 | 13 | ||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 59 | |||
| 60 | |||
| 61 | # Build Options | 14 | # Build Options |
| 62 | # change yes to no to disable | 15 | # change yes to no to disable |
| 63 | # | 16 | # |
diff --git a/keyboards/planck/ez/rules.mk b/keyboards/planck/ez/rules.mk index 4aa431fda..8e1eeeb99 100644 --- a/keyboards/planck/ez/rules.mk +++ b/keyboards/planck/ez/rules.mk | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | # Cortex version | 1 | # Cortex version |
| 2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
| 3 | 3 | ||
| 4 | # Interrupt driven control endpoint task(+60) | ||
| 5 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 6 | |||
| 7 | # Build Options | 4 | # Build Options |
| 8 | # change to "no" to disable the options, or define them in the Makefile in | 5 | # change to "no" to disable the options, or define them in the Makefile in |
| 9 | # the appropriate keymap folder that will get included automatically | 6 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk index be03e4515..3c85e172b 100644 --- a/keyboards/planck/rev1/rules.mk +++ b/keyboards/planck/rev1/rules.mk | |||
| @@ -1,8 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Interrupt driven control endpoint task(+60) | 4 | # Bootloader selection |
| 5 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 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 | ||
| 6 | 13 | ||
| 7 | # Build Options | 14 | # Build Options |
| 8 | # 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/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk index be03e4515..3c85e172b 100644 --- a/keyboards/planck/rev2/rules.mk +++ b/keyboards/planck/rev2/rules.mk | |||
| @@ -1,8 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Interrupt driven control endpoint task(+60) | 4 | # Bootloader selection |
| 5 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 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 | ||
| 6 | 13 | ||
| 7 | # Build Options | 14 | # Build Options |
| 8 | # 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/planck/rev3/rules.mk b/keyboards/planck/rev3/rules.mk index 3de40a66c..3c85e172b 100644 --- a/keyboards/planck/rev3/rules.mk +++ b/keyboards/planck/rev3/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/planck/rev4/rules.mk b/keyboards/planck/rev4/rules.mk index 390f58249..299ee4aad 100644 --- a/keyboards/planck/rev4/rules.mk +++ b/keyboards/planck/rev4/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/planck/rev5/rules.mk b/keyboards/planck/rev5/rules.mk index ca63b39ac..3c95f132c 100644 --- a/keyboards/planck/rev5/rules.mk +++ b/keyboards/planck/rev5/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 = qmk-dfu | 12 | BOOTLOADER = qmk-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/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index ea53c8f91..9cedb1799 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/rules.mk | |||
| @@ -4,9 +4,6 @@ LAYOUTS += ortho_4x12 | |||
| 4 | # Cortex version | 4 | # Cortex version |
| 5 | MCU = STM32F303 | 5 | MCU = STM32F303 |
| 6 | 6 | ||
| 7 | # Interrupt driven control endpoint task(+60) | ||
| 8 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 9 | |||
| 10 | # Build Options | 7 | # Build Options |
| 11 | # change to "no" to disable the options, or define them in the Makefile in | 8 | # change to "no" to disable the options, or define them in the Makefile in |
| 12 | # the appropriate keymap folder that will get included automatically | 9 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/playkbtw/ca66/rules.mk b/keyboards/playkbtw/ca66/rules.mk index e86f5ec03..28cb37ade 100644 --- a/keyboards/playkbtw/ca66/rules.mk +++ b/keyboards/playkbtw/ca66/rules.mk | |||
| @@ -1,6 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 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 | ||
| 4 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 5 | 13 | ||
| 6 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/playkbtw/pk60/rules.mk b/keyboards/playkbtw/pk60/rules.mk index 7e3e373cf..2c812e365 100644 --- a/keyboards/playkbtw/pk60/rules.mk +++ b/keyboards/playkbtw/pk60/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 | BOOTLOADER=amtel-dfu | ||
| 42 | |||
| 43 | 13 | ||
| 44 | # Build Options | 14 | # Build Options |
| 45 | # comment out to disable the options. | 15 | # comment out to disable the options. |
diff --git a/keyboards/preonic/rev1/rules.mk b/keyboards/preonic/rev1/rules.mk index db3d64454..2d74f3823 100644 --- a/keyboards/preonic/rev1/rules.mk +++ b/keyboards/preonic/rev1/rules.mk | |||
| @@ -1,47 +1,16 @@ | |||
| 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 | # 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 | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 41 | 13 | ||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | |||
| 45 | # Build Options | 14 | # Build Options |
| 46 | # 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 |
| 47 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk index 47a292e33..06315b2c6 100644 --- a/keyboards/preonic/rev2/rules.mk +++ b/keyboards/preonic/rev2/rules.mk | |||
| @@ -1,47 +1,16 @@ | |||
| 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 | # 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 | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 41 | 13 | ||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | |||
| 45 | # Build Options | 14 | # Build Options |
| 46 | # 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 |
| 47 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/primekb/prime_e/rules.mk b/keyboards/primekb/prime_e/rules.mk index 579ddd11e..752497265 100644 --- a/keyboards/primekb/prime_e/rules.mk +++ b/keyboards/primekb/prime_e/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/primekb/prime_l/rules.mk b/keyboards/primekb/prime_l/rules.mk index 5cce4e811..d7aca43df 100644 --- a/keyboards/primekb/prime_l/rules.mk +++ b/keyboards/primekb/prime_l/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/primekb/prime_r/rules.mk b/keyboards/primekb/prime_r/rules.mk index 0e7a40727..505ffe1e6 100644 --- a/keyboards/primekb/prime_r/rules.mk +++ b/keyboards/primekb/prime_r/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 ?= yes # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE ?= yes # 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/puck/rules.mk b/keyboards/puck/rules.mk index 48144534d..1bd0b8b1d 100644 --- a/keyboards/puck/rules.mk +++ b/keyboards/puck/rules.mk | |||
| @@ -1,50 +1,14 @@ | |||
| 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 | ||
| 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 | BOOTLOADER = halfkay | 12 | BOOTLOADER = halfkay |
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/quantrik/kyuu/rules.mk b/keyboards/quantrik/kyuu/rules.mk index f8667d280..4b51619da 100644 --- a/keyboards/quantrik/kyuu/rules.mk +++ b/keyboards/quantrik/kyuu/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/qwertyydox/keymaps/default/rules.mk b/keyboards/qwertyydox/keymaps/default/rules.mk deleted file mode 100644 index 8b1378917..000000000 --- a/keyboards/qwertyydox/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | |||
diff --git a/keyboards/qwertyydox/rules.mk b/keyboards/qwertyydox/rules.mk index fcd3d708e..4faab2607 100644 --- a/keyboards/qwertyydox/rules.mk +++ b/keyboards/qwertyydox/rules.mk | |||
| @@ -1,47 +1,16 @@ | |||
| 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 | # 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 | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 41 | 13 | ||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | |||
| 45 | # Build Options | 14 | # Build Options |
| 46 | # 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 |
| 47 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
