diff options
Diffstat (limited to 'keyboards')
73 files changed, 486 insertions, 2914 deletions
diff --git a/keyboards/hadron/ver2/rules.mk b/keyboards/hadron/ver2/rules.mk index 7af5d1847..3d48d88e7 100644 --- a/keyboards/hadron/ver2/rules.mk +++ b/keyboards/hadron/ver2/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 = halfkay | 12 | BOOTLOADER = halfkay |
| 47 | 13 | ||
| 48 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/halberd/rules.mk b/keyboards/halberd/rules.mk index ed4e6bde3..35c693379 100644 --- a/keyboards/halberd/rules.mk +++ b/keyboards/halberd/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/handwired/2x5keypad/rules.mk b/keyboards/handwired/2x5keypad/rules.mk index fd999de2c..b7027cd9e 100644 --- a/keyboards/handwired/2x5keypad/rules.mk +++ b/keyboards/handwired/2x5keypad/rules.mk | |||
| @@ -1,4 +1,14 @@ | |||
| 1 | # MCU name | ||
| 1 | MCU = atmega32u4 | 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 | ||
| 2 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 3 | 13 | ||
| 4 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 14 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration |
diff --git a/keyboards/handwired/412_64/rules.mk b/keyboards/handwired/412_64/rules.mk index 9e74da5d9..c7dfa8705 100644 --- a/keyboards/handwired/412_64/rules.mk +++ b/keyboards/handwired/412_64/rules.mk | |||
| @@ -1,53 +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 | # Boot Section Size in *bytes* | ||
| 40 | # Teensy halfKay 512 | ||
| 41 | # Teensy++ halfKay 1024 | ||
| 42 | # Atmel DFU loader 4096 | ||
| 43 | # LUFA bootloader 4096 | ||
| 44 | # USBaspLoader 2048 | ||
| 45 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 46 | |||
| 47 | # Bootloader | ||
| 48 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 49 | # different sizes, comment this out, and the correct address will be loaded | ||
| 50 | # automatically (+60). See bootloader.mk for all options. | ||
| 51 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/handwired/arrow_pad/rules.mk b/keyboards/handwired/arrow_pad/rules.mk index 7e68eb599..65fc42a06 100644 --- a/keyboards/handwired/arrow_pad/rules.mk +++ b/keyboards/handwired/arrow_pad/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=512 | ||
| 48 | |||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/atreus50/rules.mk b/keyboards/handwired/atreus50/rules.mk index 1db2bfa92..e8b551fbb 100644 --- a/keyboards/handwired/atreus50/rules.mk +++ b/keyboards/handwired/atreus50/rules.mk | |||
| @@ -1,49 +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 = caterina |
| 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 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 47 | 13 | ||
| 48 | # Build Options | 14 | # Build Options |
| 49 | # change to "no" to disable the options, or define them in the Makefile in | 15 | # change to "no" to disable the options, or define them in the Makefile in |
diff --git a/keyboards/handwired/cmd60/rules.mk b/keyboards/handwired/cmd60/rules.mk index d980716ea..b5e96d74b 100644 --- a/keyboards/handwired/cmd60/rules.mk +++ b/keyboards/handwired/cmd60/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -65,5 +28,3 @@ MIDI_ENABLE = no # MIDI controls | |||
| 65 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 68 | |||
| 69 | |||
diff --git a/keyboards/handwired/co60/rev1/rules.mk b/keyboards/handwired/co60/rev1/rules.mk index 31ce6cbe4..56b5aed0a 100644 --- a/keyboards/handwired/co60/rev1/rules.mk +++ b/keyboards/handwired/co60/rev1/rules.mk | |||
| @@ -1,49 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | |||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | # Bootloader selection | 4 | # Bootloader selection |
| 41 | # Teensy halfkay | 5 | # Teensy halfkay |
| 42 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 43 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 44 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 45 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 46 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 47 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 48 | 13 | ||
| 49 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/handwired/dactyl/rules.mk b/keyboards/handwired/dactyl/rules.mk index dc25f9c3f..2e740e384 100644 --- a/keyboards/handwired/dactyl/rules.mk +++ b/keyboards/handwired/dactyl/rules.mk | |||
| @@ -1,71 +1,15 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # That's pretty much all you need. To compile, always go make clean, | ||
| 9 | # followed by make. | ||
| 10 | # | ||
| 11 | # For advanced users only: | ||
| 12 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 13 | # (must have teensy_loader_cli installed). | ||
| 14 | # | ||
| 15 | #---------------------------------------------------------------------------- | ||
| 16 | |||
| 17 | # # project specific files | ||
| 18 | SRC = twimaster.c \ | ||
| 19 | matrix.c | ||
| 20 | |||
| 21 | # MCU name | 1 | # MCU name |
| 22 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 23 | 3 | ||
| 24 | # Processor frequency. | 4 | # Bootloader selection |
| 25 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 26 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 27 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 28 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 29 | # | 9 | # QMK DFU qmk-dfu |
| 30 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 31 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 32 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 33 | # reflect the processor speed set externally so that the code can use accurate | ||
| 34 | # software delays. | ||
| 35 | F_CPU = 16000000 | ||
| 36 | |||
| 37 | |||
| 38 | # | ||
| 39 | # LUFA specific | ||
| 40 | # | ||
| 41 | # Target architecture (see library "Board Types" documentation). | ||
| 42 | ARCH = AVR8 | ||
| 43 | |||
| 44 | # Input clock frequency. | ||
| 45 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 46 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 47 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 48 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 49 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 50 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 51 | # source code. | ||
| 52 | # | ||
| 53 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 54 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 55 | F_USB = $(F_CPU) | ||
| 56 | |||
| 57 | # Interrupt driven control endpoint task(+60) | ||
| 58 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 59 | |||
| 60 | |||
| 61 | # Boot Section Size in *bytes* | ||
| 62 | # Teensy halfKay 512 | ||
| 63 | # Teensy++ halfKay 1024 | ||
| 64 | # Atmel DFU loader 4096 | ||
| 65 | # LUFA bootloader 4096 | ||
| 66 | # USBaspLoader 2048 | ||
| 67 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 68 | |||
| 69 | 13 | ||
| 70 | # Build Options | 14 | # Build Options |
| 71 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -84,3 +28,7 @@ SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard | |||
| 84 | SLEEP_LED_ENABLE = no | 28 | SLEEP_LED_ENABLE = no |
| 85 | API_SYSEX_ENABLE = no | 29 | API_SYSEX_ENABLE = no |
| 86 | RGBLIGHT_ENABLE = no | 30 | RGBLIGHT_ENABLE = no |
| 31 | |||
| 32 | # project specific files | ||
| 33 | SRC = twimaster.c \ | ||
| 34 | matrix.c | ||
diff --git a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/rules.mk b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/handwired/dactyl_manuform/4x5/keymaps/dvorak/rules.mk b/keyboards/handwired/dactyl_manuform/4x5/keymaps/dvorak/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/handwired/dactyl_manuform/4x5/keymaps/dvorak/rules.mk +++ /dev/null | |||
diff --git a/keyboards/handwired/dactyl_manuform/rules.mk b/keyboards/handwired/dactyl_manuform/rules.mk index 37806fa16..1ba5f5a09 100644 --- a/keyboards/handwired/dactyl_manuform/rules.mk +++ b/keyboards/handwired/dactyl_manuform/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 |
diff --git a/keyboards/handwired/dactyl_promicro/rules.mk b/keyboards/handwired/dactyl_promicro/rules.mk index 37806fa16..1ba5f5a09 100644 --- a/keyboards/handwired/dactyl_promicro/rules.mk +++ b/keyboards/handwired/dactyl_promicro/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 |
diff --git a/keyboards/handwired/fivethirteen/rules.mk b/keyboards/handwired/fivethirteen/rules.mk index c8dd19ef7..64d566cb1 100644 --- a/keyboards/handwired/fivethirteen/rules.mk +++ b/keyboards/handwired/fivethirteen/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/frenchdev/rules.mk b/keyboards/handwired/frenchdev/rules.mk index 69a12b68d..abf4e62c4 100644 --- a/keyboards/handwired/frenchdev/rules.mk +++ b/keyboards/handwired/frenchdev/rules.mk | |||
| @@ -1,70 +1,15 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # That's pretty much all you need. To compile, always go make clean, | ||
| 9 | # followed by make. | ||
| 10 | # | ||
| 11 | # For advanced users only: | ||
| 12 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 13 | # (must have teensy_loader_cli installed). | ||
| 14 | # | ||
| 15 | #---------------------------------------------------------------------------- | ||
| 16 | |||
| 17 | # # project specific files | ||
| 18 | SRC = i2c_master.c \ | ||
| 19 | matrix.c | ||
| 20 | |||
| 21 | # MCU name | 1 | # MCU name |
| 22 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 23 | 3 | ||
| 24 | # Processor frequency. | 4 | # Bootloader selection |
| 25 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 26 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 27 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 28 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 29 | # | 9 | # QMK DFU qmk-dfu |
| 30 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 31 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 32 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 33 | # reflect the processor speed set externally so that the code can use accurate | ||
| 34 | # software delays. | ||
| 35 | F_CPU = 16000000 | ||
| 36 | |||
| 37 | |||
| 38 | # | ||
| 39 | # LUFA specific | ||
| 40 | # | ||
| 41 | # Target architecture (see library "Board Types" documentation). | ||
| 42 | ARCH = AVR8 | ||
| 43 | |||
| 44 | # Input clock frequency. | ||
| 45 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 46 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 47 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 48 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 49 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 50 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 51 | # source code. | ||
| 52 | # | ||
| 53 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 54 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 55 | F_USB = $(F_CPU) | ||
| 56 | |||
| 57 | # Interrupt driven control endpoint task(+60) | ||
| 58 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 59 | |||
| 60 | |||
| 61 | # Boot Section Size in *bytes* | ||
| 62 | # Teensy halfKay 512 | ||
| 63 | # Teensy++ halfKay 1024 | ||
| 64 | # Atmel DFU loader 4096 | ||
| 65 | # LUFA bootloader 4096 | ||
| 66 | # USBaspLoader 2048 | ||
| 67 | BOOTLOADER = halfKay | ||
| 68 | 13 | ||
| 69 | # Build Options | 14 | # Build Options |
| 70 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -85,3 +30,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 85 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 86 | RGBLIGHT_ENABLE = no | 31 | RGBLIGHT_ENABLE = no |
| 87 | API_SYSEX_ENABLE = no | 32 | API_SYSEX_ENABLE = no |
| 33 | |||
| 34 | # project specific files | ||
| 35 | SRC = i2c_master.c \ | ||
| 36 | matrix.c | ||
diff --git a/keyboards/handwired/gamenum/rules.mk b/keyboards/handwired/gamenum/rules.mk index d980716ea..398932983 100644 --- a/keyboards/handwired/gamenum/rules.mk +++ b/keyboards/handwired/gamenum/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = caterina |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -65,5 +28,3 @@ MIDI_ENABLE = no # MIDI controls | |||
| 65 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 68 | |||
| 69 | |||
diff --git a/keyboards/handwired/hexon38/rules.mk b/keyboards/handwired/hexon38/rules.mk index 2b6f17afc..fb5e1b0c9 100644 --- a/keyboards/handwired/hexon38/rules.mk +++ b/keyboards/handwired/hexon38/rules.mk | |||
| @@ -1,54 +1,16 @@ | |||
| 1 | # see https://github.com/pepaslabs/hexon38 | ||
| 2 | |||
| 3 | # MCU name | 1 | # MCU name |
| 4 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 5 | 3 | ||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Bootloader selection | 4 | # Bootloader selection |
| 43 | # Teensy halfkay | 5 | # Teensy halfkay |
| 44 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 45 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 46 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 47 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 48 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 49 | BOOTLOADER = halfkay | 12 | BOOTLOADER = halfkay |
| 50 | 13 | ||
| 51 | |||
| 52 | # Enabled build options: | 14 | # Enabled build options: |
| 53 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | 15 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) |
| 54 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 16 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
diff --git a/keyboards/handwired/hnah108/rules.mk b/keyboards/handwired/hnah108/rules.mk index 80f59561d..8e486c594 100644 --- a/keyboards/handwired/hnah108/rules.mk +++ b/keyboards/handwired/hnah108/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/handwired/jn68m/rules.mk b/keyboards/handwired/jn68m/rules.mk index fa95254d8..80b59d628 100644 --- a/keyboards/handwired/jn68m/rules.mk +++ b/keyboards/handwired/jn68m/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/handwired/jopr/rules.mk b/keyboards/handwired/jopr/rules.mk index de83252c3..ae10be0d2 100644 --- a/keyboards/handwired/jopr/rules.mk +++ b/keyboards/handwired/jopr/rules.mk | |||
| @@ -1,52 +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 | # Bootloader selection | 4 | # Bootloader selection |
| 41 | # Teensy halfkay | 5 | # Teensy halfkay |
| 42 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 43 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 44 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 45 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 46 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 47 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 48 | 13 | ||
| 49 | |||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 52 | # | 16 | # |
diff --git a/keyboards/handwired/jot50/rules.mk b/keyboards/handwired/jot50/rules.mk index 36a100c96..d01dfefa5 100644 --- a/keyboards/handwired/jot50/rules.mk +++ b/keyboards/handwired/jot50/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 |
diff --git a/keyboards/handwired/jotanck/rules.mk b/keyboards/handwired/jotanck/rules.mk index fa2881413..2a233cccd 100644 --- a/keyboards/handwired/jotanck/rules.mk +++ b/keyboards/handwired/jotanck/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 |
diff --git a/keyboards/handwired/jotpad16/rules.mk b/keyboards/handwired/jotpad16/rules.mk index 8105f800c..0c9370f1c 100644 --- a/keyboards/handwired/jotpad16/rules.mk +++ b/keyboards/handwired/jotpad16/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 |
diff --git a/keyboards/handwired/kbod/rules.mk b/keyboards/handwired/kbod/rules.mk index 55ab9f350..0c8409863 100644 --- a/keyboards/handwired/kbod/rules.mk +++ b/keyboards/handwired/kbod/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 = caterina |
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | |||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | |||
| 41 | # Boot Section Size in *bytes* | ||
| 42 | # Teensy halfKay 512 | ||
| 43 | # Teensy++ halfKay 1024 | ||
| 44 | # Atmel DFU loader 4096 | ||
| 45 | # LUFA bootloader 4096 | ||
| 46 | # USBaspLoader 2048 | ||
| 47 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 48 | |||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/lovelive9/rules.mk b/keyboards/handwired/lovelive9/rules.mk index 8ec4ed3d6..4799b5ec9 100644 --- a/keyboards/handwired/lovelive9/rules.mk +++ b/keyboards/handwired/lovelive9/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/handwired/maartenwut/rules.mk b/keyboards/handwired/maartenwut/rules.mk index 7ed63c65e..5f50d6b52 100755 --- a/keyboards/handwired/maartenwut/rules.mk +++ b/keyboards/handwired/maartenwut/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/magicforce68/rules.mk b/keyboards/handwired/magicforce68/rules.mk index fe01b544c..398932983 100644 --- a/keyboards/handwired/magicforce68/rules.mk +++ b/keyboards/handwired/magicforce68/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = caterina |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/mechboards_micropad/rules.mk b/keyboards/handwired/mechboards_micropad/rules.mk index 033ccaf84..a61b3b3d8 100644 --- a/keyboards/handwired/mechboards_micropad/rules.mk +++ b/keyboards/handwired/mechboards_micropad/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/handwired/minorca/rules.mk b/keyboards/handwired/minorca/rules.mk index 3e8d82856..5c29c0c93 100644 --- a/keyboards/handwired/minorca/rules.mk +++ b/keyboards/handwired/minorca/rules.mk | |||
| @@ -1,49 +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 | # 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 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 47 | 13 | ||
| 48 | # Build Options | 14 | # Build Options |
| 49 | # change to "no" to disable the options, or define them in the Makefile in | 15 | # change to "no" to disable the options, or define them in the Makefile in |
diff --git a/keyboards/handwired/nicekey/rules.mk b/keyboards/handwired/nicekey/rules.mk index cfa693a73..61c1fa79a 100644 --- a/keyboards/handwired/nicekey/rules.mk +++ b/keyboards/handwired/nicekey/rules.mk | |||
| @@ -1,53 +1,15 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | 1 | # MCU name |
| 4 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 5 | 3 | ||
| 6 | # Processor frequency. | 4 | # Bootloader selection |
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 10 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 11 | # | 9 | # QMK DFU qmk-dfu |
| 12 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 14 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = caterina |
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | 13 | ||
| 52 | # Build Options | 14 | # Build Options |
| 53 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -58,4 +20,4 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
| 58 | CONSOLE_ENABLE = yes # Console for debug(+400) | 20 | CONSOLE_ENABLE = yes # Console for debug(+400) |
| 59 | COMMAND_ENABLE = yes # Commands for debug and configuration | 21 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 60 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 61 | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA \ No newline at end of file | 23 | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA |
diff --git a/keyboards/handwired/not_so_minidox/rules.mk b/keyboards/handwired/not_so_minidox/rules.mk index d87356519..ae5cb83b7 100644 --- a/keyboards/handwired/not_so_minidox/rules.mk +++ b/keyboards/handwired/not_so_minidox/rules.mk | |||
| @@ -1,52 +1,16 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c.c \ | ||
| 3 | split_util.c \ | ||
| 4 | serial.c | ||
| 5 | |||
| 6 | # MCU name | 1 | # MCU name |
| 7 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 8 | 3 | ||
| 9 | # Processor frequency. | 4 | # Bootloader selection |
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 13 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 14 | # | 9 | # QMK DFU qmk-dfu |
| 15 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 17 | # does not *change* the processor frequency - it should merely be updated to | ||
| 18 | # reflect the processor speed set externally so that the code can use accurate | ||
| 19 | # software delays. | ||
| 20 | F_CPU = 16000000 | ||
| 21 | |||
| 22 | # | ||
| 23 | # LUFA specific | ||
| 24 | # | ||
| 25 | # Target architecture (see library "Board Types" documentation). | ||
| 26 | ARCH = AVR8 | ||
| 27 | |||
| 28 | # Input clock frequency. | ||
| 29 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 30 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 31 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 32 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 33 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 34 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 35 | # source code. | ||
| 36 | # | ||
| 37 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 38 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 39 | F_USB = $(F_CPU) | ||
| 40 | |||
| 41 | # Bootloader | ||
| 42 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 43 | # different sizes, comment this out, and the correct address will be loaded | ||
| 44 | # automatically (+60). See bootloader.mk for all options. | ||
| 45 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 46 | 13 | ||
| 47 | # Interrupt driven control endpoint task(+60) | ||
| 48 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 49 | |||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change to "no" to disable the options, or define them in the Makefile in | 15 | # change to "no" to disable the options, or define them in the Makefile in |
| 52 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
| @@ -68,3 +32,7 @@ USE_I2C ?= no | |||
| 68 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | 32 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend |
| 69 | 33 | ||
| 70 | CUSTOM_MATRIX = yes | 34 | CUSTOM_MATRIX = yes |
| 35 | SRC += matrix.c \ | ||
| 36 | i2c.c \ | ||
| 37 | split_util.c \ | ||
| 38 | serial.c | ||
diff --git a/keyboards/handwired/numbrero/rules.mk b/keyboards/handwired/numbrero/rules.mk index bda6c866e..969dd0b50 100644 --- a/keyboards/handwired/numbrero/rules.mk +++ b/keyboards/handwired/numbrero/rules.mk | |||
| @@ -1,49 +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 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | #Bootloder | ||
| 40 | #Pro Micro = caterina | ||
| 41 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 42 | 13 | ||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 45 | |||
| 46 | |||
| 47 | # Build Options | 14 | # Build Options |
| 48 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 49 | # | 16 | # |
diff --git a/keyboards/handwired/numpad20/rules.mk b/keyboards/handwired/numpad20/rules.mk index 361b2e93a..b5e96d74b 100644 --- a/keyboards/handwired/numpad20/rules.mk +++ b/keyboards/handwired/numpad20/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -64,4 +27,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by d | |||
| 64 | MIDI_ENABLE = no # MIDI controls | 27 | MIDI_ENABLE = no # MIDI controls |
| 65 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 67 | AUDIO_ENABLE = no # Audio output on port C6 \ No newline at end of file | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
diff --git a/keyboards/handwired/onekey/elite_c/rules.mk b/keyboards/handwired/onekey/elite_c/rules.mk index eb7c44395..2f20507d4 100644 --- a/keyboards/handwired/onekey/elite_c/rules.mk +++ b/keyboards/handwired/onekey/elite_c/rules.mk | |||
| @@ -1,58 +1,12 @@ | |||
| 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 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
diff --git a/keyboards/handwired/onekey/promicro/rules.mk b/keyboards/handwired/onekey/promicro/rules.mk index dc6f19623..e6fef5172 100644 --- a/keyboards/handwired/onekey/promicro/rules.mk +++ b/keyboards/handwired/onekey/promicro/rules.mk | |||
| @@ -1,58 +1,12 @@ | |||
| 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 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
diff --git a/keyboards/handwired/onekey/teensy_2/rules.mk b/keyboards/handwired/onekey/teensy_2/rules.mk index 3fb7c7e5a..ae398e258 100644 --- a/keyboards/handwired/onekey/teensy_2/rules.mk +++ b/keyboards/handwired/onekey/teensy_2/rules.mk | |||
| @@ -1,58 +1,12 @@ | |||
| 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 = halfkay | 12 | BOOTLOADER = halfkay |
| 49 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
diff --git a/keyboards/handwired/ortho5x13/rules.mk b/keyboards/handwired/ortho5x13/rules.mk index fe01b544c..b5e96d74b 100644 --- a/keyboards/handwired/ortho5x13/rules.mk +++ b/keyboards/handwired/ortho5x13/rules.mk | |||
| @@ -1,52 +1,15 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = halfkay |
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Boot Section Size in *bytes* | ||
| 43 | # Teensy halfKay 512 | ||
| 44 | # Teensy++ halfKay 1024 | ||
| 45 | # Atmel DFU loader 4096 | ||
| 46 | # LUFA bootloader 4096 | ||
| 47 | # USBaspLoader 2048 | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 49 | |||
| 50 | 13 | ||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/pilcrow/rules.mk b/keyboards/handwired/pilcrow/rules.mk index 762ae481e..b5e96d74b 100644 --- a/keyboards/handwired/pilcrow/rules.mk +++ b/keyboards/handwired/pilcrow/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=512 | ||
| 48 | |||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/prime_exl/rules.mk b/keyboards/handwired/prime_exl/rules.mk index 5cce4e811..d7aca43df 100644 --- a/keyboards/handwired/prime_exl/rules.mk +++ b/keyboards/handwired/prime_exl/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/handwired/promethium/rules.mk b/keyboards/handwired/promethium/rules.mk index 172264300..19d20ee03 100644 --- a/keyboards/handwired/promethium/rules.mk +++ b/keyboards/handwired/promethium/rules.mk | |||
| @@ -1,49 +1,18 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 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 = 8000000 | 5 | F_CPU = 8000000 |
| 16 | 6 | ||
| 17 | # | 7 | # Bootloader selection |
| 18 | # LUFA specific | 8 | # Teensy halfkay |
| 19 | # | 9 | # Pro Micro caterina |
| 20 | # Target architecture (see library "Board Types" documentation). | 10 | # Atmel DFU atmel-dfu |
| 21 | ARCH = AVR8 | 11 | # LUFA DFU lufa-dfu |
| 22 | 12 | # QMK DFU qmk-dfu | |
| 23 | # Input clock frequency. | 13 | # ATmega32A bootloadHID |
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | 14 | # ATmega328P USBasp |
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | 15 | BOOTLOADER = caterina |
| 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 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 47 | 16 | ||
| 48 | # Build Options | 17 | # Build Options |
| 49 | # change to "no" to disable the options, or define them in the Makefile in | 18 | # change to "no" to disable the options, or define them in the Makefile in |
diff --git a/keyboards/handwired/pteron/rules.mk b/keyboards/handwired/pteron/rules.mk index 10218020e..648387460 100644 --- a/keyboards/handwired/pteron/rules.mk +++ b/keyboards/handwired/pteron/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 | # Bootloader | ||
| 40 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 41 | # different sizes, comment this out, and the correct address will be loaded | ||
| 42 | # automatically (+60). See bootloader.mk for all options. | ||
| 43 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 44 | 13 | ||
| 45 | # Build Options | 14 | # Build Options |
| @@ -55,4 +24,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:/ | |||
| 55 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 56 | RGBLIGHT_ENABLE = no | 25 | RGBLIGHT_ENABLE = no |
| 57 | UNICODE_ENABLE = no | 26 | UNICODE_ENABLE = no |
| 58 | UNICODEMAP_ENABLE = no \ No newline at end of file | 27 | UNICODEMAP_ENABLE = no |
diff --git a/keyboards/handwired/qc60/rules.mk b/keyboards/handwired/qc60/rules.mk index b487dd96e..8859f5012 100644 --- a/keyboards/handwired/qc60/rules.mk +++ b/keyboards/handwired/qc60/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 |
diff --git a/keyboards/handwired/reddot/rules.mk b/keyboards/handwired/reddot/rules.mk index 8afe6fc63..4400decaa 100755 --- a/keyboards/handwired/reddot/rules.mk +++ b/keyboards/handwired/reddot/rules.mk | |||
| @@ -1,44 +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 | # for avr upload | ||
| 18 | USB = /dev/cu.usbmodem1421 | ||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Bootloader | ||
| 39 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 40 | # different sizes, comment this out, and the correct address will be loaded | ||
| 41 | # automatically (+60). See bootloader.mk for all options. | ||
| 42 | ifdef TEENSY2 | 12 | ifdef TEENSY2 |
| 43 | BOOTLOADER = halfkay | 13 | BOOTLOADER = halfkay |
| 44 | OPT_DEFS += -DATREUS_TEENSY2 | 14 | OPT_DEFS += -DATREUS_TEENSY2 |
| @@ -50,11 +20,6 @@ else | |||
| 50 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | 20 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) |
| 51 | endif | 21 | endif |
| 52 | 22 | ||
| 53 | # Interrupt driven control endpoint task(+60) | ||
| 54 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | # Build Options | 23 | # Build Options |
| 59 | # change yes to no to disable | 24 | # change yes to no to disable |
| 60 | # | 25 | # |
| @@ -76,3 +41,5 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 76 | # upload: build | 41 | # upload: build |
| 77 | # $(ATREUS_UPLOAD_COMMAND) | 42 | # $(ATREUS_UPLOAD_COMMAND) |
| 78 | 43 | ||
| 44 | # for avr upload | ||
| 45 | USB = /dev/cu.usbmodem1421 | ||
diff --git a/keyboards/handwired/retro_refit/rules.mk b/keyboards/handwired/retro_refit/rules.mk index 2884ef2cb..04db510d1 100644 --- a/keyboards/handwired/retro_refit/rules.mk +++ b/keyboards/handwired/retro_refit/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=512 | ||
| 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/handwired/rs60/rules.mk b/keyboards/handwired/rs60/rules.mk index 7b4ec69d0..ee10944c6 100644 --- a/keyboards/handwired/rs60/rules.mk +++ b/keyboards/handwired/rs60/rules.mk | |||
| @@ -1,50 +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 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 38 | 13 | ||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | LAYOUTS = ortho_5x12 | ||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 46 | |||
| 47 | |||
| 48 | # Build Options | 14 | # Build Options |
| 49 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 50 | # | 16 | # |
| @@ -59,3 +25,4 @@ BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not b | |||
| 59 | AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below | 25 | AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below |
| 60 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. | 26 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. |
| 61 | 27 | ||
| 28 | LAYOUTS = ortho_5x12 | ||
diff --git a/keyboards/handwired/space_oddity/rules.mk b/keyboards/handwired/space_oddity/rules.mk index b597ef2b0..43fc1f34a 100644 --- a/keyboards/handwired/space_oddity/rules.mk +++ b/keyboards/handwired/space_oddity/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 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 47 | # | 16 | # |
diff --git a/keyboards/handwired/splittest/promicro/rules.mk b/keyboards/handwired/splittest/promicro/rules.mk index dc6f19623..e6fef5172 100644 --- a/keyboards/handwired/splittest/promicro/rules.mk +++ b/keyboards/handwired/splittest/promicro/rules.mk | |||
| @@ -1,58 +1,12 @@ | |||
| 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 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
diff --git a/keyboards/handwired/splittest/teensy_2/rules.mk b/keyboards/handwired/splittest/teensy_2/rules.mk index 3fb7c7e5a..ae398e258 100644 --- a/keyboards/handwired/splittest/teensy_2/rules.mk +++ b/keyboards/handwired/splittest/teensy_2/rules.mk | |||
| @@ -1,58 +1,12 @@ | |||
| 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 = halfkay | 12 | BOOTLOADER = halfkay |
| 49 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
diff --git a/keyboards/handwired/tennie/rules.mk b/keyboards/handwired/tennie/rules.mk index 0119dc6fb..b41b736a7 100644 --- a/keyboards/handwired/tennie/rules.mk +++ b/keyboards/handwired/tennie/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/handwired/terminus_mini/keymaps/default/rules.mk b/keyboards/handwired/terminus_mini/keymaps/default/rules.mk index 42ab51f15..a0c29684b 100644 --- a/keyboards/handwired/terminus_mini/keymaps/default/rules.mk +++ b/keyboards/handwired/terminus_mini/keymaps/default/rules.mk | |||
| @@ -1,19 +1,3 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | 1 | # QMK Build Options |
| 18 | # change to "no" to disable the options, or define them in the rules.mk in | 2 | # change to "no" to disable the options, or define them in the rules.mk in |
| 19 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/handwired/terminus_mini/rules.mk b/keyboards/handwired/terminus_mini/rules.mk index 1093901c0..684da4cbb 100644 --- a/keyboards/handwired/terminus_mini/rules.mk +++ b/keyboards/handwired/terminus_mini/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=512 | ||
| 48 | |||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/handwired/trackpoint/rules.mk b/keyboards/handwired/trackpoint/rules.mk index 47dace8a2..668b3bb1f 100644 --- a/keyboards/handwired/trackpoint/rules.mk +++ b/keyboards/handwired/trackpoint/rules.mk | |||
| @@ -1,9 +1,17 @@ | |||
| 1 | # MCU name | ||
| 1 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 2 | F_CPU = 16000000 | 3 | |
| 3 | ARCH = AVR8 | 4 | # Bootloader selection |
| 4 | F_USB = $(F_CPU) | 5 | # Teensy halfkay |
| 5 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 6 | # Pro Micro caterina |
| 6 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = halfkay | ||
| 13 | |||
| 14 | |||
| 7 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 15 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| 8 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 16 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 17 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| @@ -19,4 +27,3 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 19 | 27 | ||
| 20 | PS2_MOUSE_ENABLE = yes | 28 | PS2_MOUSE_ENABLE = yes |
| 21 | PS2_USE_USART = yes | 29 | PS2_USE_USART = yes |
| 22 | |||
diff --git a/keyboards/handwired/tradestation/rules.mk b/keyboards/handwired/tradestation/rules.mk index 649b63bab..d3612c3c2 100644 --- a/keyboards/handwired/tradestation/rules.mk +++ b/keyboards/handwired/tradestation/rules.mk | |||
| @@ -1,54 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | # Bootloader selection | 4 | # Bootloader selection |
| 40 | # Teensy halfkay | 5 | # Teensy halfkay |
| 41 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 42 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 43 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 44 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 45 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 46 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 47 | 13 | ||
| 48 | # Boot Section Size in *bytes* | ||
| 49 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | 14 | # Build Options |
| 53 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 54 | # | 16 | # |
diff --git a/keyboards/handwired/traveller/rules.mk b/keyboards/handwired/traveller/rules.mk index 03673fdd1..0758e5934 100644 --- a/keyboards/handwired/traveller/rules.mk +++ b/keyboards/handwired/traveller/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 | # for avr upload | ||
| 18 | USB = /dev/cu.usbmodem1421 | ||
| 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 | |||
| 39 | # Bootloader | ||
| 40 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 41 | # different sizes, comment this out, and the correct address will be loaded | ||
| 42 | # automatically (+60). See bootloader.mk for all options. | ||
| 43 | ifdef TEENSY2 | 12 | ifdef TEENSY2 |
| 44 | BOOTLOADER = halfkay | 13 | BOOTLOADER = halfkay |
| 45 | OPT_DEFS += -DATREUS_TEENSY2 | 14 | OPT_DEFS += -DATREUS_TEENSY2 |
| @@ -51,21 +20,6 @@ else | |||
| 51 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | 20 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) |
| 52 | endif | 21 | endif |
| 53 | 22 | ||
| 54 | |||
| 55 | |||
| 56 | # Interrupt driven control endpoint task(+60) | ||
| 57 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 58 | |||
| 59 | |||
| 60 | # Boot Section Size in *bytes* | ||
| 61 | # Teensy halfKay 512 | ||
| 62 | # Teensy++ halfKay 1024 | ||
| 63 | # Atmel DFU loader 4096 | ||
| 64 | # LUFA bootloader 4096 | ||
| 65 | # USBaspLoader 2048 | ||
| 66 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 67 | |||
| 68 | |||
| 69 | # Build Options | 23 | # Build Options |
| 70 | # change yes to no to disable | 24 | # change yes to no to disable |
| 71 | # | 25 | # |
| @@ -85,3 +39,5 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 85 | AUDIO_ENABLE = no # Audio output on port C6 | 39 | AUDIO_ENABLE = no # Audio output on port C6 |
| 86 | RGBLIGHT_ENABLE = yes | 40 | RGBLIGHT_ENABLE = yes |
| 87 | 41 | ||
| 42 | # for avr upload | ||
| 43 | USB = /dev/cu.usbmodem1421 | ||
diff --git a/keyboards/handwired/tritium_numpad/rules.mk b/keyboards/handwired/tritium_numpad/rules.mk index c990a6ab1..42dfc5cbe 100644 --- a/keyboards/handwired/tritium_numpad/rules.mk +++ b/keyboards/handwired/tritium_numpad/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 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 47 | # | 16 | # |
diff --git a/keyboards/handwired/woodpad/keymaps/default/rules.mk b/keyboards/handwired/woodpad/keymaps/default/rules.mk index fce19bfaa..394bc0271 100644 --- a/keyboards/handwired/woodpad/keymaps/default/rules.mk +++ b/keyboards/handwired/woodpad/keymaps/default/rules.mk | |||
| @@ -1,19 +1,3 @@ | |||
| 1 | # Copyright 2013 Jun Wako <wakojun@gmail.com> | ||
| 2 | # | ||
| 3 | # This program is free software: you can redistribute it and/or modify | ||
| 4 | # it under the terms of the GNU General Public License as published by | ||
| 5 | # the Free Software Foundation, either version 2 of the License, or | ||
| 6 | # (at your option) any later version. | ||
| 7 | # | ||
| 8 | # This program is distributed in the hope that it will be useful, | ||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | # GNU General Public License for more details. | ||
| 12 | # | ||
| 13 | # You should have received a copy of the GNU General Public License | ||
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | |||
| 16 | |||
| 17 | # QMK Build Options | 1 | # QMK Build Options |
| 18 | # change to "no" to disable the options, or define them in the Makefile in | 2 | # change to "no" to disable the options, or define them in the Makefile in |
| 19 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
| @@ -31,4 +15,3 @@ UNICODE_ENABLE = no # Unicode | |||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 32 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 34 | |||
diff --git a/keyboards/handwired/woodpad/rules.mk b/keyboards/handwired/woodpad/rules.mk index 4bdc561a6..772513197 100644 --- a/keyboards/handwired/woodpad/rules.mk +++ b/keyboards/handwired/woodpad/rules.mk | |||
| @@ -1,49 +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 | # | ||
| 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 | # Bootloader | ||
| 38 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 39 | # different sizes, comment this out, and the correct address will be loaded | ||
| 40 | # automatically (+60). See bootloader.mk for all options. | ||
| 41 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 42 | 13 | ||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Build Options | 14 | # Build Options |
| 48 | # change yes to no to disable | 15 | # change yes to no to disable |
| 49 | # | 16 | # |
| @@ -63,15 +30,3 @@ BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 63 | AUDIO_ENABLE ?= no # Audio output on port C6 | 30 | AUDIO_ENABLE ?= no # Audio output on port C6 |
| 64 | FAUXCLICKY_ENABLE ?= no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE ?= no # Use buzzer to emulate clicky switches |
| 65 | RGBLIGHT_ENABLE ?= no | 32 | RGBLIGHT_ENABLE ?= no |
| 66 | |||
| 67 | #avrdude: build | ||
| 68 | # ls /dev/tty* > /tmp/1; \ | ||
| 69 | # echo "Reset your Pro Micro now"; \ | ||
| 70 | # while [ -z $$USB ]; do \ | ||
| 71 | # sleep 1; \ | ||
| 72 | # ls /dev/tty* > /tmp/2; \ | ||
| 73 | # USB=`diff /tmp/1 /tmp/2 | $(GREP) -o '/dev/tty.*'`; \ | ||
| 74 | # done; \ | ||
| 75 | # avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex | ||
| 76 | # | ||
| 77 | #.PHONY: avrdude | ||
diff --git a/keyboards/handwired/xealous/rules.mk b/keyboards/handwired/xealous/rules.mk index adbbf1e10..2d816ab7c 100644 --- a/keyboards/handwired/xealous/rules.mk +++ b/keyboards/handwired/xealous/rules.mk | |||
| @@ -1,49 +1,16 @@ | |||
| 1 | SRC += matrix.c | ||
| 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 | # Bootloader | ||
| 39 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 40 | # different sizes, comment this out, and the correct address will be loaded | ||
| 41 | # automatically (+60). See bootloader.mk for all options. | ||
| 42 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 43 | 13 | ||
| 44 | # Interrupt driven control endpoint task(+60) | ||
| 45 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 46 | |||
| 47 | # Build Options | 14 | # Build Options |
| 48 | # change to "no" to disable the options, or define them in the Makefile in | 15 | # change to "no" to disable the options, or define them in the Makefile in |
| 49 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
| @@ -66,6 +33,7 @@ SUBPROJECT_rev1 = yes | |||
| 66 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 33 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 67 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 34 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 68 | 35 | ||
| 36 | SRC += matrix.c | ||
| 69 | DEBOUNCE_TYPE = eager_pk | 37 | DEBOUNCE_TYPE = eager_pk |
| 70 | 38 | ||
| 71 | LAYOUTS = split60 | 39 | LAYOUTS = split60 |
diff --git a/keyboards/handwired/xealousbrown/rules.mk b/keyboards/handwired/xealousbrown/rules.mk index 2bad9a1c6..c346ef6c9 100644 --- a/keyboards/handwired/xealousbrown/rules.mk +++ b/keyboards/handwired/xealousbrown/rules.mk | |||
| @@ -1,44 +1,16 @@ | |||
| 1 | |||
| 2 | # MCU name | 1 | # MCU name |
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Bootloader selection |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 9 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 10 | # | 9 | # QMK DFU qmk-dfu |
| 11 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 13 | |||
| 42 | # Build Options | 14 | # Build Options |
| 43 | # change yes to no to disable | 15 | # change yes to no to disable |
| 44 | # | 16 | # |
| @@ -56,5 +28,3 @@ MIDI_ENABLE = no # MIDI controls | |||
| 56 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
| 57 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 58 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 59 | |||
| 60 | |||
diff --git a/keyboards/hecomi/alpha/rules.mk b/keyboards/hecomi/alpha/rules.mk index 06434e962..83afff326 100644 --- a/keyboards/hecomi/alpha/rules.mk +++ b/keyboards/hecomi/alpha/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/hecomi/rules.mk b/keyboards/hecomi/rules.mk index 5fddc1395..28febe217 100644 --- a/keyboards/hecomi/rules.mk +++ b/keyboards/hecomi/rules.mk | |||
| @@ -1,66 +1,16 @@ | |||
| 1 | DEFAULT_FOLDER=hecomi/alpha | ||
| 2 | # | ||
| 3 | # | ||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Bootloader selection | 4 | # Bootloader selection |
| 45 | # Teensy halfkay | 5 | # Teensy halfkay |
| 46 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 47 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 48 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 49 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 50 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 51 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 52 | 13 | ||
| 53 | |||
| 54 | # If you don't know the bootloader type, then you can specify the | ||
| 55 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 56 | # Teensy halfKay 512 | ||
| 57 | # Teensy++ halfKay 1024 | ||
| 58 | # Atmel DFU loader 4096 | ||
| 59 | # LUFA bootloader 4096 | ||
| 60 | # USBaspLoader 2048 | ||
| 61 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 62 | |||
| 63 | |||
| 64 | # Build Options | 14 | # Build Options |
| 65 | # change yes to no to disable | 15 | # change yes to no to disable |
| 66 | # | 16 | # |
| @@ -82,3 +32,5 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 82 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 83 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 84 | SPLIT_KEYBOARD = yes | 34 | SPLIT_KEYBOARD = yes |
| 35 | |||
| 36 | DEFAULT_FOLDER = hecomi/alpha | ||
diff --git a/keyboards/helix/rev1/keymaps/OLED_sample/rules.mk b/keyboards/helix/rev1/keymaps/OLED_sample/rules.mk index 1347d3a7d..69170e35c 100644 --- a/keyboards/helix/rev1/keymaps/OLED_sample/rules.mk +++ b/keyboards/helix/rev1/keymaps/OLED_sample/rules.mk | |||
| @@ -1,20 +1,4 @@ | |||
| 1 | # Build Options | 1 | EXTRAKEY_ENABLE = yes |
| 2 | # change to "no" to disable the options, or define them in the Makefile in | 2 | NKRO_ENABLE = yes |
| 3 | # the appropriate keymap folder that will get included automatically | 3 | RGBLIGHT_ENABLE = yes |
| 4 | # | 4 | SWAP_HANDS_ENABLE = no |
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 6 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 9 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 10 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 11 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 12 | MIDI_ENABLE = no # MIDI controls | ||
| 13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 14 | UNICODE_ENABLE = no # Unicode | ||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 16 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
| 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | ||
| 18 | |||
| 19 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 20 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
diff --git a/keyboards/helix/rev1/keymaps/default/rules.mk b/keyboards/helix/rev1/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/helix/rev1/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/helix/rules.mk b/keyboards/helix/rules.mk index cf23434d8..579262fe7 100644 --- a/keyboards/helix/rules.mk +++ b/keyboards/helix/rules.mk | |||
| @@ -11,8 +11,6 @@ MCU = atmega32u4 | |||
| 11 | # ATmega328P USBasp | 11 | # ATmega328P USBasp |
| 12 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 13 | 13 | ||
| 14 | HELIX_TOP_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) | ||
| 15 | |||
| 16 | # QMK Standard Build Options | 14 | # QMK Standard Build Options |
| 17 | # 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 |
| 18 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
| @@ -35,3 +33,5 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | |||
| 35 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 36 | 34 | ||
| 37 | DEFAULT_FOLDER = helix/rev2 | 35 | DEFAULT_FOLDER = helix/rev2 |
| 36 | |||
| 37 | HELIX_TOP_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) | ||
diff --git a/keyboards/hhkb/rules.mk b/keyboards/hhkb/rules.mk index 0483a2a87..a7a40aa63 100644 --- a/keyboards/hhkb/rules.mk +++ b/keyboards/hhkb/rules.mk | |||
| @@ -1,58 +1,15 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # project specific files | ||
| 4 | SRC = matrix.c | ||
| 5 | |||
| 6 | # MCU name | 1 | # MCU name |
| 7 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 8 | 3 | ||
| 9 | # Processor frequency. | 4 | # Bootloader selection |
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 13 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 14 | # | 9 | # QMK DFU qmk-dfu |
| 15 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 17 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 18 | # reflect the processor speed set externally so that the code can use accurate | ||
| 19 | # software delays. | ||
| 20 | F_CPU = 16000000 | ||
| 21 | |||
| 22 | |||
| 23 | # | ||
| 24 | # LUFA specific | ||
| 25 | # | ||
| 26 | # Target architecture (see library "Board Types" documentation). | ||
| 27 | ARCH = AVR8 | ||
| 28 | |||
| 29 | # Input clock frequency. | ||
| 30 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 31 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 32 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 33 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 34 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 35 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 36 | # source code. | ||
| 37 | # | ||
| 38 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 39 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 40 | F_USB = $(F_CPU) | ||
| 41 | |||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | |||
| 45 | |||
| 46 | # Boot Section Size in *bytes* | ||
| 47 | # Teensy halfKay 512 | ||
| 48 | # Teensy++ halfKay 1024 | ||
| 49 | # Atmel DFU loader 4096 | ||
| 50 | # LUFA bootloader 4096 | ||
| 51 | # USBaspLoader 2048 | ||
| 52 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 53 | |||
| 54 | # as per original hasu settings | ||
| 55 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 56 | 13 | ||
| 57 | # Build Options | 14 | # Build Options |
| 58 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -81,6 +38,9 @@ CUSTOM_MATRIX = yes # Custom matrix file for the HHKB | |||
| 81 | # make hhkb-keymap-clean | 38 | # make hhkb-keymap-clean |
| 82 | # make hhkb-keymap-dfu HHKB_RN42_ENABLE=yes | 39 | # make hhkb-keymap-dfu HHKB_RN42_ENABLE=yes |
| 83 | 40 | ||
| 41 | # project specific files | ||
| 42 | SRC = matrix.c | ||
| 43 | |||
| 84 | ifeq ($(strip $(HHKB_RN42_ENABLE)), yes) | 44 | ifeq ($(strip $(HHKB_RN42_ENABLE)), yes) |
| 85 | 45 | ||
| 86 | OPT_DEFS += -DHHKB_RN42_ENABLE | 46 | OPT_DEFS += -DHHKB_RN42_ENABLE |
diff --git a/keyboards/hid_liber/keymaps/default/rules.mk b/keyboards/hid_liber/keymaps/default/rules.mk index 0f131bce9..15b7f725b 100755 --- a/keyboards/hid_liber/keymaps/default/rules.mk +++ b/keyboards/hid_liber/keymaps/default/rules.mk | |||
| @@ -1,33 +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 \ No newline at end of file | ||
diff --git a/keyboards/hid_liber/rules.mk b/keyboards/hid_liber/rules.mk index 8d4348849..3642d8074 100755 --- a/keyboards/hid_liber/rules.mk +++ b/keyboards/hid_liber/rules.mk | |||
| @@ -1,54 +1,15 @@ | |||
| 1 | # Project specific files | ||
| 2 | SRC = matrix.c | ||
| 3 | |||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | 4 | # Bootloader selection |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 11 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 12 | # | 9 | # QMK DFU qmk-dfu |
| 13 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 15 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
| 54 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -70,3 +31,6 @@ UNICODE_ENABLE = no # Unicode | |||
| 70 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 71 | AUDIO_ENABLE = no # Audio output on port C6 | 32 | AUDIO_ENABLE = no # Audio output on port C6 |
| 72 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 34 | |||
| 35 | # Project specific files | ||
| 36 | SRC = matrix.c | ||
diff --git a/keyboards/hifumi/rules.mk b/keyboards/hifumi/rules.mk index 53be9fb8a..33c8d6178 100644 --- a/keyboards/hifumi/rules.mk +++ b/keyboards/hifumi/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 |
diff --git a/keyboards/hineybush/h87a/rules.mk b/keyboards/hineybush/h87a/rules.mk index 50aac07ad..653ec1f9a 100644 --- a/keyboards/hineybush/h87a/rules.mk +++ b/keyboards/hineybush/h87a/rules.mk | |||
| @@ -1,51 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 8 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 12 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | |||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | |||
| 41 | # Boot Section Size in *bytes* | ||
| 42 | # Teensy halfKay 512 | ||
| 43 | # Teensy++ halfKay 1024 | ||
| 44 | # Atmel DFU loader 4096 | ||
| 45 | # LUFA bootloader 4096 | ||
| 46 | # USBaspLoader 2048 | ||
| 47 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 48 | |||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # change yes to no to disable | 15 | # change yes to no to disable |
diff --git a/keyboards/hineybush/hineyg80/rules.mk b/keyboards/hineybush/hineyg80/rules.mk index bc370be03..7218e1e1b 100644 --- a/keyboards/hineybush/hineyg80/rules.mk +++ b/keyboards/hineybush/hineyg80/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/honeycomb/rules.mk b/keyboards/honeycomb/rules.mk index 73a6fb6f7..05a3cff00 100755 --- a/keyboards/honeycomb/rules.mk +++ b/keyboards/honeycomb/rules.mk | |||
| @@ -1,46 +1,14 @@ | |||
| 1 | # # project specific files | ||
| 2 | SRC += matrix.c | ||
| 3 | |||
| 4 | |||
| 5 | # MCU name | 1 | # MCU name |
| 6 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 7 | 3 | ||
| 8 | # Processor frequency. | 4 | # Bootloader selection |
| 9 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 10 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 11 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 12 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 13 | # | 9 | # QMK DFU qmk-dfu |
| 14 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 15 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 16 | # does not *change* the processor frequency - it should merely be updated to | ||
| 17 | # reflect the processor speed set externally so that the code can use accurate | ||
| 18 | # software delays. | ||
| 19 | F_CPU = 16000000 | ||
| 20 | |||
| 21 | |||
| 22 | # | ||
| 23 | # LUFA specific | ||
| 24 | # | ||
| 25 | # Target architecture (see library "Board Types" documentation). | ||
| 26 | ARCH = AVR8 | ||
| 27 | |||
| 28 | # Input clock frequency. | ||
| 29 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 30 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 31 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 32 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 33 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 34 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 35 | # source code. | ||
| 36 | # | ||
| 37 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 38 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 39 | F_USB = $(F_CPU) | ||
| 40 | |||
| 41 | # Interrupt driven control endpoint task(+60) | ||
| 42 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 43 | |||
| 44 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 45 | 13 | ||
| 46 | # Build Options | 14 | # Build Options |
| @@ -61,6 +29,9 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||
| 61 | UNICODE_ENABLE = YES # Unicode | 29 | UNICODE_ENABLE = YES # Unicode |
| 62 | # BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID | 30 | # BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID |
| 63 | 31 | ||
| 32 | # # project specific files | ||
| 33 | SRC += matrix.c | ||
| 34 | |||
| 64 | USB = /dev/ttyACM0 | 35 | USB = /dev/ttyACM0 |
| 65 | 36 | ||
| 66 | #upload: build | 37 | #upload: build |
diff --git a/keyboards/hotdox/rules.mk b/keyboards/hotdox/rules.mk index f785cdd06..be2155205 100644 --- a/keyboards/hotdox/rules.mk +++ b/keyboards/hotdox/rules.mk | |||
| @@ -1,63 +1,14 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # That's pretty much all you need. To compile, always go make clean, | ||
| 9 | # followed by make. | ||
| 10 | # | ||
| 11 | # For advanced users only: | ||
| 12 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 13 | # (must have teensy_loader_cli installed). | ||
| 14 | # | ||
| 15 | #---------------------------------------------------------------------------- | ||
| 16 | |||
| 17 | # # project specific files | ||
| 18 | SRC = matrix.c \ | ||
| 19 | i2c_master.c \ | ||
| 20 | left.c | ||
| 21 | |||
| 22 | # MCU name | 1 | # MCU name |
| 23 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 24 | 3 | ||
| 25 | # Processor frequency. | 4 | # Bootloader selection |
| 26 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 27 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 28 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 29 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 30 | # | 9 | # QMK DFU qmk-dfu |
| 31 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 32 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 33 | # does not *change* the processor frequency - it should merely be updated to | ||
| 34 | # reflect the processor speed set externally so that the code can use accurate | ||
| 35 | # software delays. | ||
| 36 | F_CPU = 16000000 | ||
| 37 | |||
| 38 | # | ||
| 39 | # LUFA specific | ||
| 40 | # | ||
| 41 | # Target architecture (see library "Board Types" documentation). | ||
| 42 | ARCH = AVR8 | ||
| 43 | |||
| 44 | # Input clock frequency. | ||
| 45 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 46 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 47 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 48 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 49 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 50 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 51 | # source code. | ||
| 52 | # | ||
| 53 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 54 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 55 | F_USB = $(F_CPU) | ||
| 56 | |||
| 57 | # Interrupt driven control endpoint task(+60) | ||
| 58 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 59 | |||
| 60 | # Boot Section | ||
| 61 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 62 | 13 | ||
| 63 | # Build Options | 14 | # Build Options |
| @@ -79,4 +30,9 @@ SWAP_HANDS_ENABLE = no # Disable Onehand | |||
| 79 | RGBLIGHT_ENABLE = no | 30 | RGBLIGHT_ENABLE = no |
| 80 | MIDI_ENABLE = no | 31 | MIDI_ENABLE = no |
| 81 | 32 | ||
| 33 | # project specific files | ||
| 34 | SRC = matrix.c \ | ||
| 35 | i2c_master.c \ | ||
| 36 | left.c | ||
| 37 | |||
| 82 | LAYOUTS = ergodox | 38 | LAYOUTS = ergodox |
diff --git a/keyboards/hs60/v1/rules.mk b/keyboards/hs60/v1/rules.mk index f5bcb2b0a..13f65b6ee 100644 --- a/keyboards/hs60/v1/rules.mk +++ b/keyboards/hs60/v1/rules.mk | |||
| @@ -1,46 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # project specific files | 4 | # Bootloader selection |
| 5 | #SRC = | 5 | # Teensy halfkay |
| 6 | 6 | # Pro Micro caterina | |
| 7 | # Processor frequency. | 7 | # Atmel DFU atmel-dfu |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 8 | # LUFA DFU lufa-dfu |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 9 | # QMK DFU qmk-dfu |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 10 | # ATmega32A bootloadHID |
| 11 | # automatically to create a 32-bit value in your source code. | 11 | # ATmega328P USBasp |
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | # Boot Section | ||
| 44 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 45 | 13 | ||
| 46 | # Do not put the microcontroller into power saving mode | 14 | # Do not put the microcontroller into power saving mode |
