diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-09-24 17:59:17 +1000 |
|---|---|---|
| committer | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-09-24 00:59:17 -0700 |
| commit | 237147ca236b0e942fc14e73010479a2785bf764 (patch) | |
| tree | 181e888f5b9ab7ab5ebd49def3a388eda3af9859 /keyboards | |
| parent | 37b6a2abbd96eaf3d6d724ac09c789d54a67d962 (diff) | |
| download | qmk_firmware-237147ca236b0e942fc14e73010479a2785bf764.tar.gz qmk_firmware-237147ca236b0e942fc14e73010479a2785bf764.zip | |
Cleanup rules.mk for 32U4 keyboards, 0-9 (#6789)
Diffstat (limited to 'keyboards')
29 files changed, 118 insertions, 1183 deletions
diff --git a/keyboards/1upkeyboards/1up60hse/rules.mk b/keyboards/1upkeyboards/1up60hse/rules.mk index 550241948..09caf0045 100644 --- a/keyboards/1upkeyboards/1up60hse/rules.mk +++ b/keyboards/1upkeyboards/1up60hse/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/1upkeyboards/1up60hte/rules.mk b/keyboards/1upkeyboards/1up60hte/rules.mk index e994785ba..d2bedea1b 100644 --- a/keyboards/1upkeyboards/1up60hte/rules.mk +++ b/keyboards/1upkeyboards/1up60hte/rules.mk | |||
| @@ -1,6 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 4 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 5 | 13 | ||
| 6 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/1upkeyboards/1up60rgb/rules.mk b/keyboards/1upkeyboards/1up60rgb/rules.mk index 8b1cf6667..98a1e93a1 100644 --- a/keyboards/1upkeyboards/1up60rgb/rules.mk +++ b/keyboards/1upkeyboards/1up60rgb/rules.mk | |||
| @@ -1,45 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 8 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 12 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | |||
| 40 | # Boot Section Size in *bytes* | ||
| 41 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 42 | |||
| 43 | 13 | ||
| 44 | # Build Options | 14 | # Build Options |
| 45 | # comment out to disable the options. | 15 | # comment out to disable the options. |
diff --git a/keyboards/1upkeyboards/super16/rules.mk b/keyboards/1upkeyboards/super16/rules.mk index 31042dfb8..07a403cc1 100644 --- a/keyboards/1upkeyboards/super16/rules.mk +++ b/keyboards/1upkeyboards/super16/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | # If you don't know the bootloader type, then you can specify the | ||
| 50 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 51 | # Teensy halfKay 512 | ||
| 52 | # Teensy++ halfKay 1024 | ||
| 53 | # Atmel DFU loader 4096 | ||
| 54 | # LUFA bootloader 4096 | ||
| 55 | # USBaspLoader 2048 | ||
| 56 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 57 | |||
| 58 | #EXTRAFLAGS += -flto | ||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # change yes to no to disable | 15 | # change yes to no to disable |
| 62 | # | 16 | # |
diff --git a/keyboards/1upkeyboards/sweet16/rules.mk b/keyboards/1upkeyboards/sweet16/rules.mk index e3436dc33..6e1a5eec9 100644 --- a/keyboards/1upkeyboards/sweet16/rules.mk +++ b/keyboards/1upkeyboards/sweet16/rules.mk | |||
| @@ -1,45 +1,15 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 8 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 12 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = 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 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 42 | |||
| 43 | 13 | ||
| 44 | # Build Options | 14 | # Build Options |
| 45 | # comment out to disable the options. | 15 | # comment out to disable the options. |
diff --git a/keyboards/2_milk/rules.mk b/keyboards/2_milk/rules.mk index 73f55f953..57c6d32c8 100644 --- a/keyboards/2_milk/rules.mk +++ b/keyboards/2_milk/rules.mk | |||
| @@ -1,24 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | F_CPU = 16000000 | 5 | # Teensy halfkay |
| 6 | 6 | # Pro Micro caterina | |
| 7 | # | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA specific | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # Target architecture (see library "Board Types" documentation). | 10 | # ATmega32A bootloadHID |
| 11 | ARCH = AVR8 | 11 | # ATmega328P USBasp |
| 12 | |||
| 13 | # Input clock frequency. | ||
| 14 | F_USB = $(F_CPU) | ||
| 15 | |||
| 16 | # Bootloader | ||
| 17 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 18 | 13 | ||
| 19 | # Interrupt driven control endpoint task(+60) | ||
| 20 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 21 | |||
| 22 | # Build Options | 14 | # Build Options |
| 23 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 24 | # | 16 | # |
diff --git a/keyboards/30wer/rules.mk b/keyboards/30wer/rules.mk index 9d77ec546..1aeca9a54 100644 --- a/keyboards/30wer/rules.mk +++ b/keyboards/30wer/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 |
diff --git a/keyboards/40percentclub/25/rules.mk b/keyboards/40percentclub/25/rules.mk index bfcdce7c9..3321a8402 100644 --- a/keyboards/40percentclub/25/rules.mk +++ b/keyboards/40percentclub/25/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/40percentclub/4x4/rules.mk b/keyboards/40percentclub/4x4/rules.mk index 4ab5e7431..c653c6753 100644 --- a/keyboards/40percentclub/4x4/rules.mk +++ b/keyboards/40percentclub/4x4/rules.mk | |||
| @@ -1,61 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | # Build Options | 14 | # Build Options |
| 60 | # change yes to no to disable | 15 | # change yes to no to disable |
| 61 | # | 16 | # |
diff --git a/keyboards/40percentclub/5x5/rules.mk b/keyboards/40percentclub/5x5/rules.mk index 237de6497..d8b82248c 100644 --- a/keyboards/40percentclub/5x5/rules.mk +++ b/keyboards/40percentclub/5x5/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # change yes to no to disable | 15 | # change yes to no to disable |
| 62 | # | 16 | # |
diff --git a/keyboards/40percentclub/6lit/rules.mk b/keyboards/40percentclub/6lit/rules.mk index 327565165..db09b6c5f 100644 --- a/keyboards/40percentclub/6lit/rules.mk +++ b/keyboards/40percentclub/6lit/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/40percentclub/foobar/rules.mk b/keyboards/40percentclub/foobar/rules.mk index 155a7daac..4b77d4cdb 100644 --- a/keyboards/40percentclub/foobar/rules.mk +++ b/keyboards/40percentclub/foobar/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/40percentclub/gherkin/rules.mk b/keyboards/40percentclub/gherkin/rules.mk index 1e0b34641..190aea355 100644 --- a/keyboards/40percentclub/gherkin/rules.mk +++ b/keyboards/40percentclub/gherkin/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 62 | # | 16 | # |
diff --git a/keyboards/40percentclub/half_n_half/rules.mk b/keyboards/40percentclub/half_n_half/rules.mk index 3b584f845..62d9e37ad 100644 --- a/keyboards/40percentclub/half_n_half/rules.mk +++ b/keyboards/40percentclub/half_n_half/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/40percentclub/i75/promicro/rules.mk b/keyboards/40percentclub/i75/promicro/rules.mk index dc6f19623..e6fef5172 100644 --- a/keyboards/40percentclub/i75/promicro/rules.mk +++ b/keyboards/40percentclub/i75/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/40percentclub/i75/teensy2/rules.mk b/keyboards/40percentclub/i75/teensy2/rules.mk index 3fb7c7e5a..ae398e258 100644 --- a/keyboards/40percentclub/i75/teensy2/rules.mk +++ b/keyboards/40percentclub/i75/teensy2/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/40percentclub/luddite/rules.mk b/keyboards/40percentclub/luddite/rules.mk index 8dff21f9a..02e0abe9a 100644 --- a/keyboards/40percentclub/luddite/rules.mk +++ b/keyboards/40percentclub/luddite/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 62 | # | 16 | # |
diff --git a/keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk b/keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk index 2509d0bf4..2a4ff658c 100644 --- a/keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk +++ b/keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk | |||
| @@ -1,64 +1,6 @@ | |||
| 1 | # Overrides for Feather 32u4 Bluefruit | 1 | # Processor frequency |
| 2 | # MCU name | ||
| 3 | MCU = atmega32u4 | ||
| 4 | |||
| 5 | # Processor frequency. | ||
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 8000000 | 2 | F_CPU = 8000000 |
| 17 | 3 | ||
| 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 | ||
| 43 | # Teensy halfkay | ||
| 44 | # Pro Micro caterina | ||
| 45 | # Atmel DFU atmel-dfu | ||
| 46 | # LUFA DFU lufa-dfu | ||
| 47 | # QMK DFU qmk-dfu | ||
| 48 | # atmega32a bootloadHID | ||
| 49 | BOOTLOADER = caterina | ||
| 50 | |||
| 51 | |||
| 52 | # If you don't know the bootloader type, then you can specify the | ||
| 53 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 54 | # Teensy halfKay 512 | ||
| 55 | # Teensy++ halfKay 1024 | ||
| 56 | # Atmel DFU loader 4096 | ||
| 57 | # LUFA bootloader 4096 | ||
| 58 | # USBaspLoader 2048 | ||
| 59 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 60 | |||
| 61 | |||
| 62 | # Build Options | 4 | # Build Options |
| 63 | # change yes to no to disable | 5 | # change yes to no to disable |
| 64 | # | 6 | # |
diff --git a/keyboards/40percentclub/mf68/rules.mk b/keyboards/40percentclub/mf68/rules.mk index 27642d860..1113d34a2 100644 --- a/keyboards/40percentclub/mf68/rules.mk +++ b/keyboards/40percentclub/mf68/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # change yes to no to disable | 15 | # change yes to no to disable |
| 62 | # | 16 | # |
diff --git a/keyboards/40percentclub/nano/rules.mk b/keyboards/40percentclub/nano/rules.mk index e3c97e0d4..d55a40889 100644 --- a/keyboards/40percentclub/nano/rules.mk +++ b/keyboards/40percentclub/nano/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # 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 |
| 62 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/40percentclub/nein/rules.mk b/keyboards/40percentclub/nein/rules.mk index 1e3748287..7805bac17 100644 --- a/keyboards/40percentclub/nein/rules.mk +++ b/keyboards/40percentclub/nein/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/40percentclub/nori/rules.mk b/keyboards/40percentclub/nori/rules.mk index f52135379..75aa26e49 100644 --- a/keyboards/40percentclub/nori/rules.mk +++ b/keyboards/40percentclub/nori/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/40percentclub/tomato/rules.mk b/keyboards/40percentclub/tomato/rules.mk index 844ff9982..a3e442e09 100644 --- a/keyboards/40percentclub/tomato/rules.mk +++ b/keyboards/40percentclub/tomato/rules.mk | |||
| @@ -1,62 +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 = caterina | 12 | BOOTLOADER = caterina |
| 48 | 13 | ||
| 49 | |||
| 50 | # If you don't know the bootloader type, then you can specify the | ||
| 51 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 52 | # Teensy halfKay 512 | ||
| 53 | # Teensy++ halfKay 1024 | ||
| 54 | # Atmel DFU loader 4096 | ||
| 55 | # LUFA bootloader 4096 | ||
| 56 | # USBaspLoader 2048 | ||
| 57 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 58 | |||
| 59 | |||
| 60 | # Build Options | 14 | # Build Options |
| 61 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 62 | # | 16 | # |
diff --git a/keyboards/40percentclub/ut47/rules.mk b/keyboards/40percentclub/ut47/rules.mk index 7495f5edd..043a62906 100644 --- a/keyboards/40percentclub/ut47/rules.mk +++ b/keyboards/40percentclub/ut47/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/4by3/rules.mk b/keyboards/4by3/rules.mk index 7d2299833..912449366 100644 --- a/keyboards/4by3/rules.mk +++ b/keyboards/4by3/rules.mk | |||
| @@ -1,5 +1,15 @@ | |||
| 1 | MCU = atmega32u4 | 1 | # MCU name |
| 2 | BOOTLOADER = caterina | 2 | MCU = atmega32u4 |
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | ||
| 3 | 13 | ||
| 4 | EXTRAKEY_ENABLE = yes | 14 | EXTRAKEY_ENABLE = yes |
| 5 | NKRO_ENABLE = yes | 15 | NKRO_ENABLE = yes |
diff --git a/keyboards/6ball/keymaps/default/rules.mk b/keyboards/6ball/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/6ball/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/6ball/rules.mk b/keyboards/6ball/rules.mk index 89d132480..05a642e6e 100644 --- a/keyboards/6ball/rules.mk +++ b/keyboards/6ball/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/8pack/rules.mk b/keyboards/8pack/rules.mk index 97496c8f2..625f8b201 100644 --- a/keyboards/8pack/rules.mk +++ b/keyboards/8pack/rules.mk | |||
| @@ -1,48 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | # Bootloader selection | 4 | # Bootloader selection |
| 40 | # Teensy halfkay | 5 | # Teensy halfkay |
| 41 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 42 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 43 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 44 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 45 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 46 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 47 | 13 | ||
| 48 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/9key/rules.mk b/keyboards/9key/rules.mk index eb82006fb..5e6e882e9 100644 --- a/keyboards/9key/rules.mk +++ b/keyboards/9key/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 |
