diff options
58 files changed, 269 insertions, 1481 deletions
diff --git a/keyboards/laptreus/rules.mk b/keyboards/laptreus/rules.mk index 01401ab38..237a6ac8b 100644 --- a/keyboards/laptreus/rules.mk +++ b/keyboards/laptreus/rules.mk | |||
| @@ -1,46 +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 | # 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 = catarina | ||
| 41 | |||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | 16 | ||
| 45 | # Build Options | 17 | # Build Options |
| 46 | # 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/launchpad/keymaps/default/rules.mk b/keyboards/launchpad/keymaps/default/rules.mk deleted file mode 100644 index d1fa27f41..000000000 --- a/keyboards/launchpad/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # Build Options | ||
| 4 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 5 | # the appropriate keymap folder that will get included automatically | ||
| 6 | # | ||
| 7 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 8 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 10 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 11 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 12 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 14 | MIDI_ENABLE = no # MIDI controls | ||
| 15 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 16 | UNICODE_ENABLE = no # Unicode | ||
| 17 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 18 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 19 | |||
| 20 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 21 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 22 | |||
diff --git a/keyboards/launchpad/keymaps/default_rgb/rules.mk b/keyboards/launchpad/keymaps/default_rgb/rules.mk index 164232f33..1e3cebb14 100644 --- a/keyboards/launchpad/keymaps/default_rgb/rules.mk +++ b/keyboards/launchpad/keymaps/default_rgb/rules.mk | |||
| @@ -1 +1 @@ | |||
| RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. \ No newline at end of file | RGBLIGHT_ENABLE = yes | ||
diff --git a/keyboards/launchpad/rev1/rules.mk b/keyboards/launchpad/rev1/rules.mk index bafce654a..e69de29bb 100644 --- a/keyboards/launchpad/rev1/rules.mk +++ b/keyboards/launchpad/rev1/rules.mk | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | ||
| 2 | RGBLIGHT_ENABLE = no | ||
| 3 | AUDIO_ENABLE = no \ No newline at end of file | ||
diff --git a/keyboards/launchpad/rules.mk b/keyboards/launchpad/rules.mk index b2c64db7a..59b285cf5 100644 --- a/keyboards/launchpad/rules.mk +++ b/keyboards/launchpad/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 |
| @@ -50,8 +19,8 @@ BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | |||
| 50 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 19 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) |
| 51 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 20 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 52 | CONSOLE_ENABLE = no # Console for debug(+400) | 21 | CONSOLE_ENABLE = no # Console for debug(+400) |
| 53 | COMMAND_ENABLE = yes # Commands for debug and configuration | 22 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 54 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 23 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 55 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 56 | MIDI_ENABLE = no # MIDI controls | 25 | MIDI_ENABLE = no # MIDI controls |
| 57 | AUDIO_ENABLE = no # Audio output on port C6 | 26 | AUDIO_ENABLE = no # Audio output on port C6 |
diff --git a/keyboards/lazydesigners/dimple/rules.mk b/keyboards/lazydesigners/dimple/rules.mk index a818e871c..99e4911af 100644 --- a/keyboards/lazydesigners/dimple/rules.mk +++ b/keyboards/lazydesigners/dimple/rules.mk | |||
| @@ -1,50 +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 | |||
| 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 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/lazydesigners/the50/rules.mk b/keyboards/lazydesigners/the50/rules.mk index ae211ec66..561e38a99 100644 --- a/keyboards/lazydesigners/the50/rules.mk +++ b/keyboards/lazydesigners/the50/rules.mk | |||
| @@ -1,41 +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 = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 40 | 13 | ||
| 41 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/lazydesigners/the60/rules.mk b/keyboards/lazydesigners/the60/rules.mk index 76fb44b2c..97ea15d34 100644 --- a/keyboards/lazydesigners/the60/rules.mk +++ b/keyboards/lazydesigners/the60/rules.mk | |||
| @@ -1,41 +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 = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 40 | 13 | ||
| 41 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/lets_split/keymaps/default/rules.mk b/keyboards/lets_split/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/lets_split/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/lets_split/rev1/rules.mk b/keyboards/lets_split/rev1/rules.mk index f84561674..e69de29bb 100644 --- a/keyboards/lets_split/rev1/rules.mk +++ b/keyboards/lets_split/rev1/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | BACKLIGHT_ENABLE = no \ No newline at end of file | ||
diff --git a/keyboards/lets_split/rev2/rules.mk b/keyboards/lets_split/rev2/rules.mk index 7b30c0bef..e69de29bb 100644 --- a/keyboards/lets_split/rev2/rules.mk +++ b/keyboards/lets_split/rev2/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | ||
diff --git a/keyboards/lets_split/rules.mk b/keyboards/lets_split/rules.mk index 489965735..98736310c 100644 --- a/keyboards/lets_split/rules.mk +++ b/keyboards/lets_split/rules.mk | |||
| @@ -1,50 +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 | # Bootloader selection | 4 | # Bootloader selection |
| 37 | # Teensy halfkay | 5 | # Teensy halfkay |
| 38 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 39 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 40 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 41 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 42 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 43 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 44 | 13 | ||
| 45 | # Interrupt driven control endpoint task(+60) | ||
| 46 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 47 | |||
| 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 |
| 50 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/lets_split_eh/eh/rules.mk b/keyboards/lets_split_eh/eh/rules.mk index c0f8760d8..31077066a 100644 --- a/keyboards/lets_split_eh/eh/rules.mk +++ b/keyboards/lets_split_eh/eh/rules.mk | |||
| @@ -1,4 +1,2 @@ | |||
| 1 | BOOTLOADER = atmel-dfu | ||
| 2 | |||
| 3 | BACKLIGHT_ENABLE = yes | 1 | BACKLIGHT_ENABLE = yes |
| 4 | RGBLIGHT_ENABLE = yes | 2 | RGBLIGHT_ENABLE = yes |
diff --git a/keyboards/lets_split_eh/keymaps/default/rules.mk b/keyboards/lets_split_eh/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/lets_split_eh/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/lets_split_eh/rules.mk b/keyboards/lets_split_eh/rules.mk index 27661cebb..2bcd087d8 100644 --- a/keyboards/lets_split_eh/rules.mk +++ b/keyboards/lets_split_eh/rules.mk | |||
| @@ -1,48 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 8 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Bootloader | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 41 | 13 | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | # Build Options | 14 | # Build Options |
| 47 | # 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 |
| 48 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk b/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/lfkeyboards/lfk65_hs/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/lfkeyboards/lfk65_hs/rules.mk b/keyboards/lfkeyboards/lfk65_hs/rules.mk index 5118c3597..bfae80e0c 100644 --- a/keyboards/lfkeyboards/lfk65_hs/rules.mk +++ b/keyboards/lfkeyboards/lfk65_hs/rules.mk | |||
| @@ -6,15 +6,3 @@ BOOT_LOADER = BootloaderHID | |||
| 6 | 6 | ||
| 7 | # Extra source files for IS3731 lighting | 7 | # Extra source files for IS3731 lighting |
| 8 | SRC = TWIlib.c issi.c lighting.c | 8 | SRC = TWIlib.c issi.c lighting.c |
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | F_CPU = 16000000 | ||
| 12 | |||
| 13 | # Target architecture (see library "Board Types" documentation). | ||
| 14 | ARCH = AVR8 | ||
| 15 | |||
| 16 | # Input clock frequency. | ||
| 17 | F_USB = $(F_CPU) | ||
| 18 | |||
| 19 | # Interrupt driven control endpoint task(+60) | ||
| 20 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
diff --git a/keyboards/lfkeyboards/lfkpad/rules.mk b/keyboards/lfkeyboards/lfkpad/rules.mk index 83553f64c..7ed840ae9 100644 --- a/keyboards/lfkeyboards/lfkpad/rules.mk +++ b/keyboards/lfkeyboards/lfkpad/rules.mk | |||
| @@ -1,14 +1,15 @@ | |||
| 1 | SRC = TWIlib.c issi.c lighting.c | 1 | # MCU name |
| 2 | |||
| 3 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 4 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 5 | 3 | ||
| 6 | F_CPU = 16000000 | 4 | # Bootloader selection |
| 7 | F_USB = $(F_CPU) | 5 | # Teensy halfkay |
| 8 | ARCH = AVR8 | 6 | # Pro Micro caterina |
| 9 | 7 | # Atmel DFU atmel-dfu | |
| 10 | # Interrupt driven control endpoint task(+60) | 8 | # LUFA DFU lufa-dfu |
| 11 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 9 | # QMK DFU qmk-dfu |
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 12 | 13 | ||
| 13 | LAYOUTS = numpad_6x4 | 14 | LAYOUTS = numpad_6x4 |
| 14 | 15 | ||
| @@ -31,6 +32,7 @@ TAP_DANCE_ENABLE = no | |||
| 31 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled | 32 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled |
| 32 | WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms | 33 | WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms |
| 33 | 34 | ||
| 35 | SRC = TWIlib.c issi.c lighting.c | ||
| 34 | 36 | ||
| 35 | ifeq ($(strip $(ISSI_ENABLE)), yes) | 37 | ifeq ($(strip $(ISSI_ENABLE)), yes) |
| 36 | TMK_COMMON_DEFS += -DISSI_ENABLE | 38 | TMK_COMMON_DEFS += -DISSI_ENABLE |
diff --git a/keyboards/lily58/rev1/rules.mk b/keyboards/lily58/rev1/rules.mk index 7fc101bf2..6028b5a5b 100644 --- a/keyboards/lily58/rev1/rules.mk +++ b/keyboards/lily58/rev1/rules.mk | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | SRC += rev1/matrix.c | 1 | SRC += rev1/matrix.c |
| 2 | SRC += rev1/split_util.c | 2 | SRC += rev1/split_util.c |
| 3 | SRC += rev1/split_scomm.c \ No newline at end of file | 3 | SRC += rev1/split_scomm.c |
diff --git a/keyboards/lily58/rules.mk b/keyboards/lily58/rules.mk index d13c88ba6..af25531ec 100644 --- a/keyboards/lily58/rules.mk +++ b/keyboards/lily58/rules.mk | |||
| @@ -1,57 +1,16 @@ | |||
| 1 | SRC += i2c.c | ||
| 2 | SRC += serial.c | ||
| 3 | SRC += ssd1306.c | ||
| 4 | |||
| 5 | # if firmware size over limit, try this option | ||
| 6 | # CFLAGS += -flto | ||
| 7 | |||
| 8 | # MCU name | 1 | # MCU name |
| 9 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 10 | 3 | ||
| 11 | # Processor frequency. | ||
| 12 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 13 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 14 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 15 | # automatically to create a 32-bit value in your source code. | ||
| 16 | # | ||
| 17 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 18 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 19 | # does not *change* the processor frequency - it should merely be updated to | ||
| 20 | # reflect the processor speed set externally so that the code can use accurate | ||
| 21 | # software delays. | ||
| 22 | F_CPU = 16000000 | ||
| 23 | |||
| 24 | # | ||
| 25 | # LUFA specific | ||
| 26 | # | ||
| 27 | # Target architecture (see library "Board Types" documentation). | ||
| 28 | ARCH = AVR8 | ||
| 29 | |||
| 30 | # Input clock frequency. | ||
| 31 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 32 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 33 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 34 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 35 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 36 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 37 | # source code. | ||
| 38 | # | ||
| 39 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 40 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 41 | F_USB = $(F_CPU) | ||
| 42 | |||
| 43 | # Bootloader selection | 4 | # Bootloader selection |
| 44 | # Teensy halfkay | 5 | # Teensy halfkay |
| 45 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 46 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 47 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 48 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 49 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 50 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 51 | 13 | ||
| 52 | # Interrupt driven control endpoint task(+60) | ||
| 53 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 54 | |||
| 55 | # Build Options | 14 | # Build Options |
| 56 | # 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 |
| 57 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
| @@ -73,4 +32,11 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 73 | 32 | ||
| 74 | CUSTOM_MATRIX = yes | 33 | CUSTOM_MATRIX = yes |
| 75 | 34 | ||
| 35 | SRC += i2c.c | ||
| 36 | SRC += serial.c | ||
| 37 | SRC += ssd1306.c | ||
| 38 | |||
| 39 | # if firmware size over limit, try this option | ||
| 40 | # CFLAGS += -flto | ||
| 41 | |||
| 76 | DEFAULT_FOLDER = lily58/rev1 | 42 | DEFAULT_FOLDER = lily58/rev1 |
diff --git a/keyboards/m10a/keymaps/default/rules.mk b/keyboards/m10a/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/m10a/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/m10a/rules.mk b/keyboards/m10a/rules.mk index 905babacb..739e396df 100644 --- a/keyboards/m10a/rules.mk +++ b/keyboards/m10a/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 = 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 | # 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/maartenwut/atom47/rev2/rules.mk b/keyboards/maartenwut/atom47/rev2/rules.mk index a3a258ed8..24d1c4199 100644 --- a/keyboards/maartenwut/atom47/rev2/rules.mk +++ b/keyboards/maartenwut/atom47/rev2/rules.mk | |||
| @@ -1,3 +1,2 @@ | |||
| 1 | |||
| 2 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 1 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 3 | RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870) | 2 | RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870) |
diff --git a/keyboards/maartenwut/atom47/rules.mk b/keyboards/maartenwut/atom47/rules.mk index 39bfbc2b0..0728c1a28 100644 --- a/keyboards/maartenwut/atom47/rules.mk +++ b/keyboards/maartenwut/atom47/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 = qmk-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 | BOOTLOADER= qmk-dfu | ||
| 49 | 13 | ||
| 50 | # Build Options | 14 | # Build Options |
| 51 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -62,4 +26,3 @@ UNICODE_ENABLE = no # Unicode | |||
| 62 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 26 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 63 | 27 | ||
| 64 | DEFAULT_FOLDER = maartenwut/atom47/rev3 | 28 | DEFAULT_FOLDER = maartenwut/atom47/rev3 |
| 65 | |||
diff --git a/keyboards/maartenwut/plain60/keymaps/via/rules.mk b/keyboards/maartenwut/plain60/keymaps/via/rules.mk index 0ccefbb11..2b23b188b 100644 --- a/keyboards/maartenwut/plain60/keymaps/via/rules.mk +++ b/keyboards/maartenwut/plain60/keymaps/via/rules.mk | |||
| @@ -3,4 +3,3 @@ SRC += keyboards/wilba_tech/wt_main.c | |||
| 3 | 3 | ||
| 4 | RAW_ENABLE = yes | 4 | RAW_ENABLE = yes |
| 5 | DYNAMIC_KEYMAP_ENABLE = yes | 5 | DYNAMIC_KEYMAP_ENABLE = yes |
| 6 | |||
diff --git a/keyboards/maartenwut/plain60/rules.mk b/keyboards/maartenwut/plain60/rules.mk index aad559846..77b5a3eb9 100644 --- a/keyboards/maartenwut/plain60/rules.mk +++ b/keyboards/maartenwut/plain60/rules.mk | |||
| @@ -1,50 +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 = qmk-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 | 13 | ||
| 49 | # Build Options | 14 | # Build Options |
| 50 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| @@ -63,4 +28,3 @@ UNICODE_ENABLE = no # Unicode | |||
| 63 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 64 | 29 | ||
| 65 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_hhkb 60_iso 60_tsangan_hhkb | 30 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_hhkb 60_iso 60_tsangan_hhkb |
| 66 | |||
diff --git a/keyboards/maartenwut/ta65/rules.mk b/keyboards/maartenwut/ta65/rules.mk index 47207cd46..ecc629698 100644 --- a/keyboards/maartenwut/ta65/rules.mk +++ b/keyboards/maartenwut/ta65/rules.mk | |||
| @@ -1,49 +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 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | |||
| 41 | # Boot Section Size in *bytes* | ||
| 42 | # Teensy halfKay 512 | ||
| 43 | # Teensy++ halfKay 1024 | ||
| 44 | # Atmel DFU loader 4096 | ||
| 45 | # LUFA bootloader 4096 | ||
| 46 | # USBaspLoader 2048 | ||
| 47 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 48 | 13 | ||
| 49 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/maartenwut/wasdat/rules.mk b/keyboards/maartenwut/wasdat/rules.mk index c9deae5c5..059e84a1a 100644 --- a/keyboards/maartenwut/wasdat/rules.mk +++ b/keyboards/maartenwut/wasdat/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 = qmk-dfu | 12 | BOOTLOADER = qmk-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/maartenwut/wonderland/rules.mk b/keyboards/maartenwut/wonderland/rules.mk index 498076d4e..19c0ea591 100755 --- a/keyboards/maartenwut/wonderland/rules.mk +++ b/keyboards/maartenwut/wonderland/rules.mk | |||
| @@ -1,42 +1,14 @@ | |||
| 1 | # MCU name | ||
| 1 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 2 | 3 | ||
| 3 | # Processor frequency. | 4 | # Bootloader selection |
| 4 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 5 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 6 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 7 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 8 | # | 9 | # QMK DFU qmk-dfu |
| 9 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 10 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 11 | # does not *change* the processor frequency - it should merely be updated to | ||
| 12 | # reflect the processor speed set externally so that the code can use accurate | ||
| 13 | # software delays. | ||
| 14 | F_CPU = 16000000 | ||
| 15 | |||
| 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 = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 41 | 13 | ||
| 42 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/maxipad/promicro/rules.mk b/keyboards/maxipad/promicro/rules.mk index dc6f19623..e6fef5172 100644 --- a/keyboards/maxipad/promicro/rules.mk +++ b/keyboards/maxipad/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/maxipad/teensy2/rules.mk b/keyboards/maxipad/teensy2/rules.mk index 3fb7c7e5a..ae398e258 100644 --- a/keyboards/maxipad/teensy2/rules.mk +++ b/keyboards/maxipad/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/maxr1998/phoebe/keymaps/default/rules.mk b/keyboards/maxr1998/phoebe/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/maxr1998/phoebe/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/maxr1998/phoebe/rules.mk b/keyboards/maxr1998/phoebe/rules.mk index 1f2724737..b73145d7f 100644 --- a/keyboards/maxr1998/phoebe/rules.mk +++ b/keyboards/maxr1998/phoebe/rules.mk | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader | 4 | # Bootloader selection |
| 5 | # This definition is optional, and if your keyboard supports multiple bootloaders of | 5 | # Teensy halfkay |
| 6 | # different sizes, comment this out, and the correct address will be loaded | 6 | # Pro Micro caterina |
| 7 | # automatically (+60). See bootloader.mk for all options. | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 8 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 9 | 13 | ||
| 10 | # Build Options | 14 | # Build Options |
| @@ -27,4 +31,3 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 27 | KEY_LOCK_ENABLE = yes | 31 | KEY_LOCK_ENABLE = yes |
| 28 | API_SYSEX_ENABLE = no | 32 | API_SYSEX_ENABLE = no |
| 29 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 30 | |||
diff --git a/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk b/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk deleted file mode 100644 index e69de29bb..000000000 --- a/keyboards/maxr1998/pulse4k/keymaps/default/rules.mk +++ /dev/null | |||
diff --git a/keyboards/maxr1998/pulse4k/rules.mk b/keyboards/maxr1998/pulse4k/rules.mk index 644666221..cee105352 100644 --- a/keyboards/maxr1998/pulse4k/rules.mk +++ b/keyboards/maxr1998/pulse4k/rules.mk | |||
| @@ -1,15 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader | 4 | # Bootloader selection |
| 5 | # This definition is optional, and if your keyboard supports multiple bootloaders of | 5 | # Teensy halfkay |
| 6 | # different sizes, comment this out, and the correct address will be loaded | 6 | # Pro Micro caterina |
| 7 | # automatically (+60). See bootloader.mk for all options. | 7 | # Atmel DFU atmel-dfu |
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 8 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 9 | 13 | ||
| 10 | # Interrupt driven control endpoint task(+60) | ||
| 11 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 12 | |||
| 13 | # Build Options | 14 | # Build Options |
| 14 | # change to "no" to disable the options, or define them in the Makefile in | 15 | # change to "no" to disable the options, or define them in the Makefile in |
| 15 | # the appropriate keymap folder that will get included automatically | 16 | # the appropriate keymap folder that will get included automatically |
| @@ -30,4 +31,3 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 30 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 31 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 31 | API_SYSEX_ENABLE = no | 32 | API_SYSEX_ENABLE = no |
| 32 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 33 | |||
diff --git a/keyboards/mechkeys/mk60/rules.mk b/keyboards/mechkeys/mk60/rules.mk index f1513f299..4f8bd49ef 100644 --- a/keyboards/mechkeys/mk60/rules.mk +++ b/keyboards/mechkeys/mk60/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/mechllama/g35/rules.mk b/keyboards/mechllama/g35/rules.mk index 1e1487513..20fbf160a 100644 --- a/keyboards/mechllama/g35/rules.mk +++ b/keyboards/mechllama/g35/rules.mk | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | # MCU name | ||
| 1 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 2 | F_CPU = 16000000 | ||
| 3 | ARCH = AVR8 | ||
| 4 | F_USB = $(F_CPU) | ||
| 5 | |||
| 6 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 7 | 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 | ||
| 8 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 9 | 13 | ||
| 10 | NKRO_ENABLE = yes | 14 | NKRO_ENABLE = yes |
diff --git a/keyboards/mechmini/v2/rules.mk b/keyboards/mechmini/v2/rules.mk index f9ef6414b..72d307322 100755 --- a/keyboards/mechmini/v2/rules.mk +++ b/keyboards/mechmini/v2/rules.mk | |||
| @@ -1,53 +1,16 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Processor frequency. | 4 | # Bootloader selection |
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 8 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 9 | # | 9 | # QMK DFU qmk-dfu |
| 10 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Bootloader | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 41 | 13 | ||
| 42 | |||
| 43 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section Size in *bytes* | ||
| 48 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 49 | |||
| 50 | |||
| 51 | # Build Options | 14 | # Build Options |
| 52 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 53 | # | 16 | # |
diff --git a/keyboards/meira/featherble/rules.mk b/keyboards/meira/featherble/rules.mk index e27608983..b0295ced7 100644 --- a/keyboards/meira/featherble/rules.mk +++ b/keyboards/meira/featherble/rules.mk | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | BLUETOOTH_ENABLE = yes | 1 | # Processor frequency |
| 2 | F_CPU = 8000000 | 2 | F_CPU = 8000000 |
| 3 | |||
| 4 | BLUETOOTH_ENABLE = yes | ||
| 3 | BLUETOOTH = AdafruitBLE | 5 | BLUETOOTH = AdafruitBLE |
diff --git a/keyboards/meira/promicro/rules.mk b/keyboards/meira/promicro/rules.mk index 22e49971f..3c81f1b34 100644 --- a/keyboards/meira/promicro/rules.mk +++ b/keyboards/meira/promicro/rules.mk | |||
| @@ -1,14 +1 @@ | |||
| 1 | # Processor frequency. | ||
| 2 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 3 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 4 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 5 | # automatically to create a 32-bit value in your source code. | ||
| 6 | # | ||
| 7 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 8 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 9 | # does not *change* the processor frequency - it should merely be updated to | ||
| 10 | # reflect the processor speed set externally so that the code can use accurate | ||
| 11 | # software delays. | ||
| 12 | F_CPU = 16000000 | ||
| 13 | |||
| 14 | BLUETOOTH_ENABLE = no | BLUETOOTH_ENABLE = no | |
diff --git a/keyboards/meira/rules.mk b/keyboards/meira/rules.mk index 7893e6556..8357e780b 100644 --- a/keyboards/meira/rules.mk +++ b/keyboards/meira/rules.mk | |||
| @@ -1,44 +1,14 @@ | |||
| 1 | SRC += matrix.c TWIlib.c issi.c lighting.c | ||
| 2 | |||
| 3 | # MCU name | 1 | # MCU name |
| 4 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 5 | 3 | ||
| 6 | |||
| 7 | # | ||
| 8 | # LUFA specific | ||
| 9 | # | ||
| 10 | # Target architecture (see library "Board Types" documentation). | ||
| 11 | ARCH = AVR8 | ||
| 12 | |||
| 13 | # Input clock frequency. | ||
| 14 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 15 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 16 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 17 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 18 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 19 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 20 | # source code. | ||
| 21 | # | ||
| 22 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 23 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 24 | F_USB = $(F_CPU) | ||
| 25 | |||
| 26 | # Bootloader | ||
| 27 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 28 | # different sizes, comment this out, and the correct address will be loaded | ||
| 29 | # automatically (+60). See bootloader.mk for all options. | ||
| 30 | BOOTLOADER = caterina | ||
| 31 | |||
| 32 | # Interrupt driven control endpoint task(+60) | ||
| 33 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 34 | |||
| 35 | # Bootloader selection | 4 | # Bootloader selection |
| 36 | # Teensy halfkay | 5 | # Teensy halfkay |
| 37 | # Pro Micro caterina | 6 | # Pro Micro caterina |
| 38 | # Atmel DFU atmel-dfu | 7 | # Atmel DFU atmel-dfu |
| 39 | # LUFA DFU lufa-dfu | 8 | # LUFA DFU lufa-dfu |
| 40 | # QMK DFU qmk-dfu | 9 | # QMK DFU qmk-dfu |
| 41 | # atmega32a bootloadHID | 10 | # ATmega32A bootloadHID |
| 11 | # ATmega328P USBasp | ||
| 42 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 43 | 13 | ||
| 44 | # Build Options | 14 | # Build Options |
| @@ -72,6 +42,7 @@ CUSTOM_MATRIX = yes | |||
| 72 | #ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | 42 | #ifeq ($(strip $(WATCHDOG_ENABLE)), yes) |
| 73 | # TMK_COMMON_DEFS += -DWATCHDOG_ENABLE | 43 | # TMK_COMMON_DEFS += -DWATCHDOG_ENABLE |
| 74 | #endif | 44 | #endif |
| 45 | SRC += matrix.c TWIlib.c issi.c lighting.c | ||
| 75 | 46 | ||
| 76 | DEFAULT_FOLDER = meira/promicro | 47 | DEFAULT_FOLDER = meira/promicro |
| 77 | LAYOUTS = ortho_4x12 | 48 | LAYOUTS = ortho_4x12 |
diff --git a/keyboards/meishi/rules.mk b/keyboards/meishi/rules.mk index 6cba6b6b8..571a1c48c 100644 --- a/keyboards/meishi/rules.mk +++ b/keyboards/meishi/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/meishi2/rules.mk b/keyboards/meishi2/rules.mk index bc370be03..7218e1e1b 100644 --- a/keyboards/meishi2/rules.mk +++ b/keyboards/meishi2/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/melody96/rules.mk b/keyboards/melody96/rules.mk index be0f84b17..1e6d4bb7c 100644 --- a/keyboards/melody96/rules.mk +++ b/keyboards/melody96/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 | # 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 | BOOTLOADER = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 43 | 13 | ||
| 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/meson/rules.mk b/keyboards/meson/rules.mk index 4b585e829..323ec666a 100644 --- a/keyboards/meson/rules.mk +++ b/keyboards/meson/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/miniaxe/keymaps/underglow/rules.mk b/keyboards/miniaxe/keymaps/underglow/rules.mk index 64fa91ded..1e3cebb14 100644 --- a/keyboards/miniaxe/keymaps/underglow/rules.mk +++ b/keyboards/miniaxe/keymaps/underglow/rules.mk | |||
| @@ -1,2 +1 @@ | |||
| 1 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | RGBLIGHT_ENABLE = yes | |
| 2 | |||
diff --git a/keyboards/miniaxe/rules.mk b/keyboards/miniaxe/rules.mk index 3f5f699ff..204aeed76 100644 --- a/keyboards/miniaxe/rules.mk +++ b/keyboards/miniaxe/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 | # |
| @@ -82,4 +35,3 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | |||
| 82 | DEBUG_ENABLE = no | 35 | DEBUG_ENABLE = no |
| 83 | CUSTOM_MATRIX = no # Use custom matrix code | 36 | CUSTOM_MATRIX = no # Use custom matrix code |
| 84 | SPLIT_KEYBOARD = yes # Use shared split_common code | 37 | SPLIT_KEYBOARD = yes # Use shared split_common code |
| 85 | |||
diff --git a/keyboards/minidox/rev1/rules.mk b/keyboards/minidox/rev1/rules.mk index f84561674..7b30c0bef 100644 --- a/keyboards/minidox/rev1/rules.mk +++ b/keyboards/minidox/rev1/rules.mk | |||
| @@ -1 +1 @@ | |||
| BACKLIGHT_ENABLE = no \ No newline at end of file | BACKLIGHT_ENABLE = no | ||
diff --git a/keyboards/minidox/rules.mk b/keyboards/minidox/rules.mk index bcd74bcde..dd2affb3f 100644 --- a/keyboards/minidox/rules.mk +++ b/keyboards/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,5 +32,9 @@ 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 | ||
| 71 | 39 | ||
| 72 | DEFAULT_FOLDER = minidox/rev1 | 40 | DEFAULT_FOLDER = minidox/rev1 |
diff --git a/keyboards/mint60/rules.mk b/keyboards/mint60/rules.mk index 21efa65cf..037e81431 100644 --- a/keyboards/mint60/rules.mk +++ b/keyboards/mint60/rules.mk | |||
| @@ -1,56 +1,15 @@ | |||
| 1 | SRC += i2c.c \ | ||
| 2 | serial.c \ | ||
| 3 | matrix.c \ | ||
| 4 | split_util.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 = caterina |
| 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 | 13 | ||
| 55 | # Build Options | 14 | # Build Options |
| 56 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -73,5 +32,9 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 73 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 74 | 33 | ||
| 75 | CUSTOM_MATRIX = yes | 34 | CUSTOM_MATRIX = yes |
| 35 | SRC += i2c.c \ | ||
| 36 | serial.c \ | ||
| 37 | matrix.c \ | ||
| 38 | split_util.c | ||
| 76 | USE_I2C = yes | 39 | USE_I2C = yes |
| 77 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 40 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
diff --git a/keyboards/mitosis/rules.mk b/keyboards/mitosis/rules.mk index 34aa7070f..420c49f9b 100644 --- a/keyboards/mitosis/rules.mk +++ b/keyboards/mitosis/rules.mk | |||
| @@ -1,56 +1,16 @@ | |||
| 1 | |||
| 2 | OPT_DEFS += -DMITOSIS_PROMICRO | ||
| 3 | MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | ||
| 4 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | ||
| 5 | |||
| 6 | # # project specific files | ||
| 7 | SRC = matrix.c | ||
| 8 | |||
| 9 | |||
| 10 | # MCU name | 1 | # MCU name |
| 11 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 12 | 3 | ||
| 13 | # Processor frequency. | 4 | # Bootloader selection |
| 14 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 15 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 16 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 17 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 18 | # | 9 | # QMK DFU qmk-dfu |
| 19 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 20 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 21 | # does not *change* the processor frequency - it should merely be updated to | ||
| 22 | # reflect the processor speed set externally so that the code can use accurate | ||
| 23 | # software delays. | ||
| 24 | F_CPU = 16000000 | ||
| 25 | |||
| 26 | # | ||
| 27 | # LUFA specific | ||
| 28 | # | ||
| 29 | # Target architecture (see library "Board Types" documentation). | ||
| 30 | ARCH = AVR8 | ||
| 31 | |||
| 32 | # Input clock frequency. | ||
| 33 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 34 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 35 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 36 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 37 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 38 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 39 | # source code. | ||
| 40 | # | ||
| 41 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 42 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 43 | F_USB = $(F_CPU) | ||
| 44 | |||
| 45 | # Bootloader | ||
| 46 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 47 | # different sizes, comment this out, and the correct address will be loaded | ||
| 48 | # automatically (+60). See bootloader.mk for all options. | ||
| 49 | BOOTLOADER = caterina | 12 | BOOTLOADER = caterina |
| 50 | 13 | ||
| 51 | # Interrupt driven control endpoint task(+60) | ||
| 52 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 53 | |||
| 54 | # Build Options | 14 | # Build Options |
| 55 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 56 | # | 16 | # |
| @@ -72,3 +32,10 @@ USB = /dev/ttyACM0 | |||
| 72 | 32 | ||
| 73 | # upload: build | 33 | # upload: build |
| 74 | # $(MITOSIS_UPLOAD_COMMAND) | 34 | # $(MITOSIS_UPLOAD_COMMAND) |
| 35 | |||
| 36 | OPT_DEFS += -DMITOSIS_PROMICRO | ||
| 37 | MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | ||
| 38 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | ||
| 39 | |||
| 40 | # # project specific files | ||
| 41 | SRC = matrix.c | ||
diff --git a/keyboards/miuni32/keymaps/default/rules.mk b/keyboards/miuni32/keymaps/default/rules.mk deleted file mode 100644 index 3a741d20a..000000000 --- a/keyboards/miuni32/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 3 | # the appropriate keymap folder that will get included automatically | ||
| 4 | # | ||
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 9 | COMMAND_ENABLE = yes # 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 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 18 | |||
diff --git a/keyboards/miuni32/rules.mk b/keyboards/miuni32/rules.mk index 91cb2221e..68622e672 100644 --- a/keyboards/miuni32/rules.mk +++ b/keyboards/miuni32/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 |
| @@ -53,14 +17,15 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
| 53 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| 54 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 18 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 55 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 56 | CONSOLE_ENABLE = yes # Console for debug(+400) | 20 | CONSOLE_ENABLE = no # Console for debug(+400) |
| 57 | COMMAND_ENABLE = yes # Commands for debug and configuration | 21 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 58 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 59 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 60 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 61 | NKRO_ENABLE = no # USB Nkey Rollover | 25 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 62 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default |
| 63 | MIDI_ENABLE = no # MIDI controls | 27 | MIDI_ENABLE = no # MIDI controls |
| 64 | UNICODE_ENABLE = no # Unicode | 28 | UNICODE_ENABLE = no # Unicode |
| 65 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 66 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 31 | RGBLIGHT_ENABLE = yes | ||
diff --git a/keyboards/model01/keymaps/default/rules.mk b/keyboards/model01/keymaps/default/rules.mk deleted file mode 100644 index 4d1abd88a..000000000 --- a/keyboards/model01/keymaps/default/rules.mk +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | # used by default keymap | ||
| 2 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
diff --git a/keyboards/model01/rules.mk b/keyboards/model01/rules.mk index 4345027f4..5e3cbaa33 100644 --- a/keyboards/model01/rules.mk +++ b/keyboards/model01/rules.mk | |||
| @@ -1,53 +1,21 @@ | |||
| 1 | QUANTUM_LIB_SRC += i2c_master.c | ||
| 2 | SRC += leds.c \ | ||
| 3 | matrix.c | ||
| 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 |
| 47 | # change yes to no to disable | 15 | # change yes to no to disable |
| 48 | # | 16 | # |
| 49 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
| 50 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 18 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 51 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 52 | CONSOLE_ENABLE = yes # Console for debug(+400) | 20 | CONSOLE_ENABLE = yes # Console for debug(+400) |
| 53 | COMMAND_ENABLE = no # Commands for debug and configuration | 21 | COMMAND_ENABLE = no # Commands for debug and configuration |
| @@ -59,6 +27,9 @@ MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | |||
| 59 | UNICODE_ENABLE = no # Unicode | 27 | UNICODE_ENABLE = no # Unicode |
| 60 | 28 | ||
| 61 | CUSTOM_MATRIX = yes | 29 | CUSTOM_MATRIX = yes |
| 30 | QUANTUM_LIB_SRC += i2c_master.c | ||
| 31 | SRC += leds.c \ | ||
| 32 | matrix.c | ||
| 62 | 33 | ||
| 63 | # You can set RGB_MATRIX_ENABLE = no in your rules.mk to disable this and save the Flash | 34 | # You can set RGB_MATRIX_ENABLE = no in your rules.mk to disable this and save the Flash |
| 64 | RGB_MATRIX_ENABLE = custom # Enable RGB matrix effects (+10000). | 35 | RGB_MATRIX_ENABLE = custom # Enable RGB matrix effects (+10000). |
diff --git a/keyboards/moon/rules.mk b/keyboards/moon/rules.mk index c8b39e8b7..3c67b3c28 100644 --- a/keyboards/moon/rules.mk +++ b/keyboards/moon/rules.mk | |||
| @@ -1,50 +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 | |||
| 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 | # Build Options | 14 | # Build Options |
diff --git a/keyboards/mt980/rules.mk b/keyboards/mt980/rules.mk index 9a7718aad..b3655bf72 100644 --- a/keyboards/mt980/rules.mk +++ b/keyboards/mt980/rules.mk | |||
| @@ -1,47 +1,19 @@ | |||
| 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 = atmel-dfu | 12 | BOOTLOADER = atmel-dfu |
| 40 | 13 | ||
| 41 | # Build Options | 14 | # Build Options |
| 42 | # comment out to disable the options. | 15 | # comment out to disable the options. |
| 43 | # | 16 | # |
| 44 | |||
| 45 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) |
| 46 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 18 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) |
| 47 | EXTRAKEY_ENABLE = no # Audio control and System control(+450) | 19 | EXTRAKEY_ENABLE = no # Audio control and System control(+450) |
diff --git a/keyboards/mxss/rules.mk b/keyboards/mxss/rules.mk index ac7a1ee8f..7df851758 100644 --- a/keyboards/mxss/rules.mk +++ b/keyboards/mxss/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 |
