diff options
56 files changed, 1792 insertions, 1903 deletions
| @@ -12,7 +12,7 @@ STARTING_DIR := $(subst $(ABS_ROOT_DIR),,$(ABS_STARTING_DIR)) | |||
| 12 | 12 | ||
| 13 | PATH_ELEMENTS := $(subst /, ,$(STARTING_DIR)) | 13 | PATH_ELEMENTS := $(subst /, ,$(STARTING_DIR)) |
| 14 | 14 | ||
| 15 | QUANTUM_DIR:=$(ROOT_DIR)/quantum | 15 | MAKEFILE_INCLUDED=yes |
| 16 | 16 | ||
| 17 | define NEXT_PATH_ELEMENT | 17 | define NEXT_PATH_ELEMENT |
| 18 | $$(eval CURRENT_PATH_ELEMENT := $$(firstword $$(PATH_ELEMENTS))) | 18 | $$(eval CURRENT_PATH_ELEMENT := $$(firstword $$(PATH_ELEMENTS))) |
diff --git a/keyboards/alps64/Makefile b/keyboards/alps64/Makefile index d8325e6c8..4e2a6f00f 100644 --- a/keyboards/alps64/Makefile +++ b/keyboards/alps64/Makefile | |||
| @@ -1,70 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # Target file name (without extension). | ||
| 4 | |||
| 5 | # project specific files | ||
| 6 | SRC = led.c | ||
| 7 | |||
| 8 | # MCU name | ||
| 9 | MCU = atmega32u2 | ||
| 10 | |||
| 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 | # | ||
| 26 | # LUFA specific | ||
| 27 | # | ||
| 28 | # Target architecture (see library "Board Types" documentation). | ||
| 29 | ARCH = AVR8 | ||
| 30 | |||
| 31 | # Input clock frequency. | ||
| 32 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 33 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 34 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 35 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 36 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 37 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 38 | # source code. | ||
| 39 | # | ||
| 40 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 41 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 42 | F_USB = $(F_CPU) | ||
| 43 | |||
| 44 | # Interrupt driven control endpoint task(+60) | ||
| 45 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 46 | |||
| 47 | |||
| 48 | # Boot Section Size in *bytes* | ||
| 49 | # Teensy halfKay 512 | ||
| 50 | # Teensy++ halfKay 1024 | ||
| 51 | # Atmel DFU loader 4096 | ||
| 52 | # LUFA bootloader 4096 | ||
| 53 | # USBaspLoader 2048 | ||
| 54 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 55 | |||
| 56 | |||
| 57 | # Build Options | ||
| 58 | # comment out to disable the options. | ||
| 59 | # | ||
| 60 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 61 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 62 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 63 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 64 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 65 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
| 66 | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 67 | |||
| 68 | ifndef QUANTUM_DIR | ||
| 69 | include ../../Makefile | 2 | include ../../Makefile |
| 70 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/alps64/rules.mk b/keyboards/alps64/rules.mk new file mode 100644 index 000000000..c326d3e26 --- /dev/null +++ b/keyboards/alps64/rules.mk | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # Target file name (without extension). | ||
| 4 | |||
| 5 | # project specific files | ||
| 6 | SRC = led.c | ||
| 7 | |||
| 8 | # MCU name | ||
| 9 | MCU = atmega32u2 | ||
| 10 | |||
| 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 | # | ||
| 26 | # LUFA specific | ||
| 27 | # | ||
| 28 | # Target architecture (see library "Board Types" documentation). | ||
| 29 | ARCH = AVR8 | ||
| 30 | |||
| 31 | # Input clock frequency. | ||
| 32 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 33 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 34 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 35 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 36 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 37 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 38 | # source code. | ||
| 39 | # | ||
| 40 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 41 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 42 | F_USB = $(F_CPU) | ||
| 43 | |||
| 44 | # Interrupt driven control endpoint task(+60) | ||
| 45 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 46 | |||
| 47 | |||
| 48 | # Boot Section Size in *bytes* | ||
| 49 | # Teensy halfKay 512 | ||
| 50 | # Teensy++ halfKay 1024 | ||
| 51 | # Atmel DFU loader 4096 | ||
| 52 | # LUFA bootloader 4096 | ||
| 53 | # USBaspLoader 2048 | ||
| 54 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 55 | |||
| 56 | |||
| 57 | # Build Options | ||
| 58 | # comment out to disable the options. | ||
| 59 | # | ||
| 60 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 61 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 62 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 63 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 64 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 65 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
| 66 | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA \ No newline at end of file | ||
diff --git a/keyboards/amj60/Makefile b/keyboards/amj60/Makefile index 1f695aa4d..4e2a6f00f 100644 --- a/keyboards/amj60/Makefile +++ b/keyboards/amj60/Makefile | |||
| @@ -1,70 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 62 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality (+1150) | ||
| 63 | MIDI_ENABLE ?= no # MIDI controls | ||
| 64 | AUDIO_ENABLE ?= no | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | |||
| 68 | ifndef QUANTUM_DIR | ||
| 69 | include ../../Makefile | 2 | include ../../Makefile |
| 70 | endif | 3 | endif \ No newline at end of file |
diff --git a/keyboards/amj60/rules.mk b/keyboards/amj60/rules.mk new file mode 100644 index 000000000..18403ac32 --- /dev/null +++ b/keyboards/amj60/rules.mk | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | |||
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 62 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality (+1150) | ||
| 63 | MIDI_ENABLE ?= no # MIDI controls | ||
| 64 | AUDIO_ENABLE ?= no | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/arrow_pad/Makefile b/keyboards/arrow_pad/Makefile index 09fcf3e7a..4e2a6f00f 100644 --- a/keyboards/arrow_pad/Makefile +++ b/keyboards/arrow_pad/Makefile | |||
| @@ -1,74 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 71 | |||
| 72 | ifndef QUANTUM_DIR | ||
| 73 | include ../../Makefile | 2 | include ../../Makefile |
| 74 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/arrow_pad/rules.mk b/keyboards/arrow_pad/rules.mk new file mode 100644 index 000000000..3dca9b6ea --- /dev/null +++ b/keyboards/arrow_pad/rules.mk | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= no # Audio output on port C6 \ No newline at end of file | ||
diff --git a/keyboards/atomic/Makefile b/keyboards/atomic/Makefile index 08e9205cb..4e2a6f00f 100644 --- a/keyboards/atomic/Makefile +++ b/keyboards/atomic/Makefile | |||
| @@ -1,73 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 53 | # the appropriate keymap folder that will get included automatically | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 62 | MIDI_ENABLE ?= no # MIDI controls | ||
| 63 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 64 | UNICODE_ENABLE ?= no # Unicode | ||
| 65 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 67 | |||
| 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 69 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | 2 | include ../../Makefile |
| 73 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/atomic/rules.mk b/keyboards/atomic/rules.mk new file mode 100644 index 000000000..d0f3a3a1c --- /dev/null +++ b/keyboards/atomic/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 53 | # the appropriate keymap folder that will get included automatically | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 62 | MIDI_ENABLE ?= no # MIDI controls | ||
| 63 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 64 | UNICODE_ENABLE ?= no # Unicode | ||
| 65 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 67 | |||
| 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 69 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend \ No newline at end of file | ||
diff --git a/keyboards/atreus/Makefile b/keyboards/atreus/Makefile index 5894d231f..4e2a6f00f 100644 --- a/keyboards/atreus/Makefile +++ b/keyboards/atreus/Makefile | |||
| @@ -1,88 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | ifdef TEENSY2 | ||
| 4 | OPT_DEFS += -DATREUS_TEENSY2 | ||
| 5 | ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex | ||
| 6 | else | ||
| 7 | OPT_DEFS += -DATREUS_ASTAR | ||
| 8 | OPT_DEFS += -DCATERINA_BOOTLOADER | ||
| 9 | ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | ||
| 10 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | ||
| 11 | endif | ||
| 12 | |||
| 13 | # MCU name | ||
| 14 | #MCU = at90usb1287 | ||
| 15 | MCU = atmega32u4 | ||
| 16 | |||
| 17 | # Processor frequency. | ||
| 18 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 19 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 20 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 21 | # automatically to create a 32-bit value in your source code. | ||
| 22 | # | ||
| 23 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 24 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 25 | # does not *change* the processor frequency - it should merely be updated to | ||
| 26 | # reflect the processor speed set externally so that the code can use accurate | ||
| 27 | # software delays. | ||
| 28 | F_CPU = 16000000 | ||
| 29 | |||
| 30 | |||
| 31 | # | ||
| 32 | # LUFA specific | ||
| 33 | # | ||
| 34 | # Target architecture (see library "Board Types" documentation). | ||
| 35 | ARCH = AVR8 | ||
| 36 | |||
| 37 | # Input clock frequency. | ||
| 38 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 39 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 40 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 41 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 42 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 43 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 44 | # source code. | ||
| 45 | # | ||
| 46 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 47 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 48 | F_USB = $(F_CPU) | ||
| 49 | |||
| 50 | # Interrupt driven control endpoint task(+60) | ||
| 51 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 52 | |||
| 53 | |||
| 54 | # Boot Section Size in *bytes* | ||
| 55 | # Teensy halfKay 512 | ||
| 56 | # Teensy++ halfKay 1024 | ||
| 57 | # Atmel DFU loader 4096 | ||
| 58 | # LUFA bootloader 4096 | ||
| 59 | # USBaspLoader 2048 | ||
| 60 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 61 | |||
| 62 | |||
| 63 | # Build Options | ||
| 64 | # comment out to disable the options. | ||
| 65 | # | ||
| 66 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 67 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 68 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 69 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 70 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 71 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 72 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 73 | NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 74 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 75 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 76 | UNICODE_ENABLE ?= YES # Unicode | ||
| 77 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 78 | |||
| 79 | |||
| 80 | ifndef QUANTUM_DIR | ||
| 81 | include ../../Makefile | 2 | include ../../Makefile |
| 82 | endif | 3 | endif \ No newline at end of file |
| 83 | |||
| 84 | USB ?= /dev/cu.usbmodem1411 | ||
| 85 | |||
| 86 | upload: build | ||
| 87 | $(ATREUS_UPLOAD_COMMAND) | ||
| 88 | |||
diff --git a/keyboards/atreus/rules.mk b/keyboards/atreus/rules.mk new file mode 100644 index 000000000..d71f50bb2 --- /dev/null +++ b/keyboards/atreus/rules.mk | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | |||
| 2 | |||
| 3 | ifdef TEENSY2 | ||
| 4 | OPT_DEFS += -DATREUS_TEENSY2 | ||
| 5 | ATRUES_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex | ||
| 6 | else | ||
| 7 | OPT_DEFS += -DATREUS_ASTAR | ||
| 8 | OPT_DEFS += -DCATERINA_BOOTLOADER | ||
| 9 | ATRUES_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | ||
| 10 | avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) | ||
| 11 | endif | ||
| 12 | |||
| 13 | # MCU name | ||
| 14 | #MCU = at90usb1287 | ||
| 15 | MCU = atmega32u4 | ||
| 16 | |||
| 17 | # Processor frequency. | ||
| 18 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 19 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 20 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 21 | # automatically to create a 32-bit value in your source code. | ||
| 22 | # | ||
| 23 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 24 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 25 | # does not *change* the processor frequency - it should merely be updated to | ||
| 26 | # reflect the processor speed set externally so that the code can use accurate | ||
| 27 | # software delays. | ||
| 28 | F_CPU = 16000000 | ||
| 29 | |||
| 30 | |||
| 31 | # | ||
| 32 | # LUFA specific | ||
| 33 | # | ||
| 34 | # Target architecture (see library "Board Types" documentation). | ||
| 35 | ARCH = AVR8 | ||
| 36 | |||
| 37 | # Input clock frequency. | ||
| 38 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 39 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 40 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 41 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 42 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 43 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 44 | # source code. | ||
| 45 | # | ||
| 46 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 47 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 48 | F_USB = $(F_CPU) | ||
| 49 | |||
| 50 | # Interrupt driven control endpoint task(+60) | ||
| 51 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 52 | |||
| 53 | |||
| 54 | # Boot Section Size in *bytes* | ||
| 55 | # Teensy halfKay 512 | ||
| 56 | # Teensy++ halfKay 1024 | ||
| 57 | # Atmel DFU loader 4096 | ||
| 58 | # LUFA bootloader 4096 | ||
| 59 | # USBaspLoader 2048 | ||
| 60 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 61 | |||
| 62 | |||
| 63 | # Build Options | ||
| 64 | # comment out to disable the options. | ||
| 65 | # | ||
| 66 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 67 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 68 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 69 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 70 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 71 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 72 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 73 | NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 74 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 75 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 76 | UNICODE_ENABLE ?= YES # Unicode | ||
| 77 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 78 | |||
| 79 | USB ?= /dev/cu.usbmodem1411 | ||
| 80 | |||
| 81 | upload: build | ||
| 82 | $(ATRUES_UPLOAD_COMMAND) \ No newline at end of file | ||
diff --git a/keyboards/bantam44/Makefile b/keyboards/bantam44/Makefile index 03893dbf8..4e2a6f00f 100644 --- a/keyboards/bantam44/Makefile +++ b/keyboards/bantam44/Makefile | |||
| @@ -1,72 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 63 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 65 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 66 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 67 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 68 | |||
| 69 | ifndef QUANTUM_DIR | ||
| 70 | include ../../Makefile | 2 | include ../../Makefile |
| 71 | endif | 3 | endif \ No newline at end of file |
| 72 | |||
diff --git a/keyboards/bantam44/rules.mk b/keyboards/bantam44/rules.mk new file mode 100644 index 000000000..baa0e9e7a --- /dev/null +++ b/keyboards/bantam44/rules.mk | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 63 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 65 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 66 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 67 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/chibios_test/Makefile b/keyboards/chibios_test/Makefile index d9f2b8b83..4b07a6234 100644 --- a/keyboards/chibios_test/Makefile +++ b/keyboards/chibios_test/Makefile | |||
| @@ -1,14 +1,5 @@ | |||
| 1 | SUBPROJECT_DEFAULT = stm32_f072_onekey | 1 | SUBPROJECT_DEFAULT = stm32_f072_onekey |
| 2 | 2 | ||
| 3 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 3 | ifndef MAKEFILE_INCLUDED |
| 4 | MOUSEKEY_ENABLE ?= yes # Mouse keys | ||
| 5 | EXTRAKEY_ENABLE ?= yes # Audio control and System control | ||
| 6 | CONSOLE_ENABLE ?= yes # Console for debug | ||
| 7 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 8 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 9 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 10 | CUSTOM_MATRIX ?= yes # Custom matrix file | ||
| 11 | |||
| 12 | ifndef QUANTUM_DIR | ||
| 13 | include ../../Makefile | 4 | include ../../Makefile |
| 14 | endif \ No newline at end of file | 5 | endif \ No newline at end of file |
diff --git a/keyboards/chibios_test/rules.mk b/keyboards/chibios_test/rules.mk new file mode 100644 index 000000000..4b5a84535 --- /dev/null +++ b/keyboards/chibios_test/rules.mk | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 2 | MOUSEKEY_ENABLE ?= yes # Mouse keys | ||
| 3 | EXTRAKEY_ENABLE ?= yes # Audio control and System control | ||
| 4 | CONSOLE_ENABLE ?= yes # Console for debug | ||
| 5 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 6 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 7 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 8 | CUSTOM_MATRIX ?= yes # Custom matrix file \ No newline at end of file | ||
diff --git a/keyboards/clueboard/Makefile b/keyboards/clueboard/Makefile index e6b13f955..b9bada8f8 100644 --- a/keyboards/clueboard/Makefile +++ b/keyboards/clueboard/Makefile | |||
| @@ -1,109 +1,5 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make all = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # make coff = Convert ELF to AVR COFF. | ||
| 9 | # | ||
| 10 | # make extcoff = Convert ELF to AVR Extended COFF. | ||
| 11 | # | ||
| 12 | # make program = Download the hex file to the device. | ||
| 13 | # Please customize your programmer settings(PROGRAM_CMD) | ||
| 14 | # | ||
| 15 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 16 | # (must have teensy_loader_cli installed). | ||
| 17 | # | ||
| 18 | # make dfu = Download the hex file to the device, using dfu-programmer (must | ||
| 19 | # have dfu-programmer installed). | ||
| 20 | # | ||
| 21 | # make flip = Download the hex file to the device, using Atmel FLIP (must | ||
| 22 | # have Atmel FLIP installed). | ||
| 23 | # | ||
| 24 | # make dfu-ee = Download the eeprom file to the device, using dfu-programmer | ||
| 25 | # (must have dfu-programmer installed). | ||
| 26 | # | ||
| 27 | # make flip-ee = Download the eeprom file to the device, using Atmel FLIP | ||
| 28 | # (must have Atmel FLIP installed). | ||
| 29 | # | ||
| 30 | # make debug = Start either simulavr or avarice as specified for debugging, | ||
| 31 | # with avr-gdb or avr-insight as the front end for debugging. | ||
| 32 | # | ||
| 33 | # make filename.s = Just compile filename.c into the assembler code only. | ||
| 34 | # | ||
| 35 | # make filename.i = Create a preprocessed source file for use in submitting | ||
| 36 | # bug reports to the GCC project. | ||
| 37 | # | ||
| 38 | # To rebuild project do "make clean" then "make all". | ||
| 39 | #---------------------------------------------------------------------------- | ||
| 40 | |||
| 41 | SUBPROJECT_DEFAULT = rev2 | 1 | SUBPROJECT_DEFAULT = rev2 |
| 42 | 2 | ||
| 43 | # MCU name | 3 | ifndef MAKEFILE_INCLUDED |
| 44 | MCU = atmega32u4 | ||
| 45 | |||
| 46 | # Processor frequency. | ||
| 47 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 48 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 49 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 50 | # automatically to create a 32-bit value in your source code. | ||
| 51 | # | ||
| 52 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 53 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 54 | # does not *change* the processor frequency - it should merely be updated to | ||
| 55 | # reflect the processor speed set externally so that the code can use accurate | ||
| 56 | # software delays. | ||
| 57 | F_CPU = 16000000 | ||
| 58 | |||
| 59 | |||
| 60 | # | ||
| 61 | # LUFA specific | ||
| 62 | # | ||
| 63 | # Target architecture (see library "Board Types" documentation). | ||
| 64 | ARCH = AVR8 | ||
| 65 | |||
| 66 | # Input clock frequency. | ||
| 67 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 68 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 69 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 70 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 71 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 72 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 73 | # source code. | ||
| 74 | # | ||
| 75 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 76 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 77 | F_USB = $(F_CPU) | ||
| 78 | |||
| 79 | # Interrupt driven control endpoint task(+60) | ||
| 80 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 81 | |||
| 82 | |||
| 83 | # Boot Section Size in *bytes* | ||
| 84 | # Teensy halfKay 512 | ||
| 85 | # Teensy++ halfKay 1024 | ||
| 86 | # Atmel DFU loader 4096 | ||
| 87 | # LUFA bootloader 4096 | ||
| 88 | # USBaspLoader 2048 | ||
| 89 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 90 | |||
| 91 | |||
| 92 | # Build Options | ||
| 93 | # change to no to disable the options. | ||
| 94 | # | ||
| 95 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 96 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 97 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 98 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 99 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 100 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 101 | AUDIO_ENABLE ?= no | ||
| 102 | RGBLIGHT_ENABLE ?= no # Enable keyboard underlight functionality | ||
| 103 | MIDI_ENABLE ?= no # MIDI controls | ||
| 104 | UNICODE_ENABLE ?= no # Unicode | ||
| 105 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 106 | |||
| 107 | ifndef QUANTUM_DIR | ||
| 108 | include ../../Makefile | 4 | include ../../Makefile |
| 109 | endif | 5 | endif \ No newline at end of file |
diff --git a/keyboards/clueboard/rules.mk b/keyboards/clueboard/rules.mk new file mode 100644 index 000000000..3909fbd5c --- /dev/null +++ b/keyboards/clueboard/rules.mk | |||
| @@ -0,0 +1,103 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make all = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # make coff = Convert ELF to AVR COFF. | ||
| 9 | # | ||
| 10 | # make extcoff = Convert ELF to AVR Extended COFF. | ||
| 11 | # | ||
| 12 | # make program = Download the hex file to the device. | ||
| 13 | # Please customize your programmer settings(PROGRAM_CMD) | ||
| 14 | # | ||
| 15 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 16 | # (must have teensy_loader_cli installed). | ||
| 17 | # | ||
| 18 | # make dfu = Download the hex file to the device, using dfu-programmer (must | ||
| 19 | # have dfu-programmer installed). | ||
| 20 | # | ||
| 21 | # make flip = Download the hex file to the device, using Atmel FLIP (must | ||
| 22 | # have Atmel FLIP installed). | ||
| 23 | # | ||
| 24 | # make dfu-ee = Download the eeprom file to the device, using dfu-programmer | ||
| 25 | # (must have dfu-programmer installed). | ||
| 26 | # | ||
| 27 | # make flip-ee = Download the eeprom file to the device, using Atmel FLIP | ||
| 28 | # (must have Atmel FLIP installed). | ||
| 29 | # | ||
| 30 | # make debug = Start either simulavr or avarice as specified for debugging, | ||
| 31 | # with avr-gdb or avr-insight as the front end for debugging. | ||
| 32 | # | ||
| 33 | # make filename.s = Just compile filename.c into the assembler code only. | ||
| 34 | # | ||
| 35 | # make filename.i = Create a preprocessed source file for use in submitting | ||
| 36 | # bug reports to the GCC project. | ||
| 37 | # | ||
| 38 | # To rebuild project do "make clean" then "make all". | ||
| 39 | #---------------------------------------------------------------------------- | ||
| 40 | |||
| 41 | # MCU name | ||
| 42 | MCU = atmega32u4 | ||
| 43 | |||
| 44 | # Processor frequency. | ||
| 45 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 46 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 47 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 48 | # automatically to create a 32-bit value in your source code. | ||
| 49 | # | ||
| 50 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 51 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 52 | # does not *change* the processor frequency - it should merely be updated to | ||
| 53 | # reflect the processor speed set externally so that the code can use accurate | ||
| 54 | # software delays. | ||
| 55 | F_CPU = 16000000 | ||
| 56 | |||
| 57 | |||
| 58 | # | ||
| 59 | # LUFA specific | ||
| 60 | # | ||
| 61 | # Target architecture (see library "Board Types" documentation). | ||
| 62 | ARCH = AVR8 | ||
| 63 | |||
| 64 | # Input clock frequency. | ||
| 65 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 66 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 67 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 68 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 69 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 70 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 71 | # source code. | ||
| 72 | # | ||
| 73 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 74 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 75 | F_USB = $(F_CPU) | ||
| 76 | |||
| 77 | # Interrupt driven control endpoint task(+60) | ||
| 78 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 79 | |||
| 80 | |||
| 81 | # Boot Section Size in *bytes* | ||
| 82 | # Teensy halfKay 512 | ||
| 83 | # Teensy++ halfKay 1024 | ||
| 84 | # Atmel DFU loader 4096 | ||
| 85 | # LUFA bootloader 4096 | ||
| 86 | # USBaspLoader 2048 | ||
| 87 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 88 | |||
| 89 | |||
| 90 | # Build Options | ||
| 91 | # comment out to disable the options. | ||
| 92 | # | ||
| 93 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 94 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 95 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 96 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 97 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 98 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 99 | AUDIO_ENABLE ?= no | ||
| 100 | RGBLIGHT_ENABLE ?= no # Enable keyboard underlight functionality | ||
| 101 | MIDI_ENABLE ?= no # MIDI controls | ||
| 102 | UNICODE_ENABLE ?= no # Unicode | ||
| 103 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID \ No newline at end of file | ||
diff --git a/keyboards/cluecard/Makefile b/keyboards/cluecard/Makefile index 029d0b967..4e2a6f00f 100644 --- a/keyboards/cluecard/Makefile +++ b/keyboards/cluecard/Makefile | |||
| @@ -1,76 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 65 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality by default | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= yes # Audio output on port C6 | ||
| 71 | |||
| 72 | ifndef QUANTUM_DIR | ||
| 73 | include ../../Makefile | 2 | include ../../Makefile |
| 74 | endif | 3 | endif \ No newline at end of file |
| 75 | |||
| 76 | |||
diff --git a/keyboards/cluecard/rules.mk b/keyboards/cluecard/rules.mk new file mode 100644 index 000000000..454235877 --- /dev/null +++ b/keyboards/cluecard/rules.mk | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 65 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality by default | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= yes # Audio output on port C6 | ||
diff --git a/keyboards/cluepad/Makefile b/keyboards/cluepad/Makefile index a331ff4dc..4e2a6f00f 100644 --- a/keyboards/cluepad/Makefile +++ b/keyboards/cluepad/Makefile | |||
| @@ -1,70 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 56 | # MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | # EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | # CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | # COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable numpad's backlight functionality | ||
| 62 | RGBLIGHT_ENABLE ?= yes | ||
| 63 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 64 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 65 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | |||
| 67 | |||
| 68 | ifndef QUANTUM_DIR | ||
| 69 | include ../../Makefile | 2 | include ../../Makefile |
| 70 | endif | 3 | endif \ No newline at end of file |
diff --git a/keyboards/cluepad/rules.mk b/keyboards/cluepad/rules.mk new file mode 100644 index 000000000..19b16b95a --- /dev/null +++ b/keyboards/cluepad/rules.mk | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | |||
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 56 | # MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | # EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | # CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | # COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable numpad's backlight functionality | ||
| 62 | RGBLIGHT_ENABLE ?= yes | ||
| 63 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 64 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 65 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID \ No newline at end of file | ||
diff --git a/keyboards/ergodox/Makefile b/keyboards/ergodox/Makefile index 05fb588d1..716535005 100644 --- a/keyboards/ergodox/Makefile +++ b/keyboards/ergodox/Makefile | |||
| @@ -1,34 +1,5 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # That's pretty much all you need. To compile, always go make clean, | ||
| 9 | # followed by make. | ||
| 10 | # | ||
| 11 | # For advanced users only: | ||
| 12 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 13 | # (must have teensy_loader_cli installed). | ||
| 14 | # | ||
| 15 | #---------------------------------------------------------------------------- | ||
| 16 | SUBPROJECT_DEFAULT = ez | 1 | SUBPROJECT_DEFAULT = ez |
| 17 | 2 | ||
| 18 | # Build Options | 3 | ifndef MAKEFILE_INCLUDED |
| 19 | # comment out to disable the options. | ||
| 20 | # | ||
| 21 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 22 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 23 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 24 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 25 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 26 | CUSTOM_MATRIX ?= yes # Custom matrix file for the ErgoDox EZ | ||
| 27 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 28 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 29 | MIDI_ENABLE ?= no # MIDI controls | ||
| 30 | UNICODE_ENABLE ?= yes # Unicode | ||
| 31 | |||
| 32 | ifndef QUANTUM_DIR | ||
| 33 | include ../../Makefile | 4 | include ../../Makefile |
| 34 | endif | 5 | endif \ No newline at end of file |
diff --git a/keyboards/ergodox/rules.mk b/keyboards/ergodox/rules.mk new file mode 100644 index 000000000..ac63d4eff --- /dev/null +++ b/keyboards/ergodox/rules.mk | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #---------------------------------------------------------------------------- | ||
| 2 | # On command line: | ||
| 3 | # | ||
| 4 | # make = Make software. | ||
| 5 | # | ||
| 6 | # make clean = Clean out built project files. | ||
| 7 | # | ||
| 8 | # That's pretty much all you need. To compile, always go make clean, | ||
| 9 | # followed by make. | ||
| 10 | # | ||
| 11 | # For advanced users only: | ||
| 12 | # make teensy = Download the hex file to the device, using teensy_loader_cli. | ||
| 13 | # (must have teensy_loader_cli installed). | ||
| 14 | # | ||
| 15 | #---------------------------------------------------------------------------- | ||
| 16 | # Build Options | ||
| 17 | # comment out to disable the options. | ||
| 18 | # | ||
| 19 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 20 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 21 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 22 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 23 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 24 | CUSTOM_MATRIX ?= yes # Custom matrix file for the ErgoDox EZ | ||
| 25 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 26 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 27 | MIDI_ENABLE ?= no # MIDI controls | ||
| 28 | UNICODE_ENABLE ?= yes # Unicode | ||
diff --git a/keyboards/gh60/Makefile b/keyboards/gh60/Makefile index 39a9cc0ae..4e2a6f00f 100644 --- a/keyboards/gh60/Makefile +++ b/keyboards/gh60/Makefile | |||
| @@ -1,74 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | 2 | include ../../Makefile | |
| 3 | # MCU name | 3 | endif \ No newline at end of file |
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | # CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | # COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 66 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 67 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 68 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | |||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | ||
| 73 | endif | ||
| 74 | |||
diff --git a/keyboards/gh60/rules.mk b/keyboards/gh60/rules.mk new file mode 100644 index 000000000..73f4bd76e --- /dev/null +++ b/keyboards/gh60/rules.mk | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | # CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | # COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 66 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 67 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 68 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/handwired/Makefile b/keyboards/handwired/Makefile index 57493a47c..4e2a6f00f 100644 --- a/keyboards/handwired/Makefile +++ b/keyboards/handwired/Makefile | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | ifndef QUANTUM_DIR | 1 | ifndef MAKEFILE_INCLUDED |
| 2 | include ../../Makefile | 2 | include ../../Makefile |
| 3 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/handwired/onekey/Makefile b/keyboards/handwired/onekey/Makefile index c6d10856a..4e2a6f00f 100644 --- a/keyboards/handwired/onekey/Makefile +++ b/keyboards/handwired/onekey/Makefile | |||
| @@ -1,65 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | 2 | include ../../Makefile | |
| 3 | # MCU name | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
| 61 | #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 62 | |||
| 63 | ifndef QUANTUM_DIR | ||
| 64 | include ../../../Makefile | ||
| 65 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/handwired/rules.mk b/keyboards/handwired/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/handwired/rules.mk | |||
diff --git a/keyboards/hhkb/Makefile b/keyboards/hhkb/Makefile index 6fe973e1e..4e2a6f00f 100644 --- a/keyboards/hhkb/Makefile +++ b/keyboards/hhkb/Makefile | |||
| @@ -1,90 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # project specific files | ||
| 4 | SRC = matrix.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | #MCU = at90usb1287 | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 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 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section Size in *bytes* | ||
| 48 | # Teensy halfKay 512 | ||
| 49 | # Teensy++ halfKay 1024 | ||
| 50 | # Atmel DFU loader 4096 | ||
| 51 | # LUFA bootloader 4096 | ||
| 52 | # USBaspLoader 2048 | ||
| 53 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 54 | |||
| 55 | # as per original hasu settings | ||
| 56 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 57 | |||
| 58 | # Build Options | ||
| 59 | # comment out to disable the options. | ||
| 60 | # | ||
| 61 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 62 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 63 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 64 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 65 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 66 | CUSTOM_MATRIX ?= yes # Custom matrix file for the HHKB | ||
| 67 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 68 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 69 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 70 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 71 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 72 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 73 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | ifndef QUANTUM_DIR | ||
| 78 | include ../../Makefile | 2 | include ../../Makefile |
| 79 | endif | 3 | endif \ No newline at end of file |
| 80 | |||
| 81 | ifneq (, $(findstring yes, $(HHKB_JP))) | ||
| 82 | OPT_DEFS += -DHHKB_JP | ||
| 83 | endif | ||
| 84 | |||
| 85 | debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION | ||
| 86 | debug-on: all | ||
| 87 | |||
| 88 | debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT | ||
| 89 | debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS)) | ||
| 90 | debug-off: all | ||
diff --git a/keyboards/hhkb/rules.mk b/keyboards/hhkb/rules.mk new file mode 100644 index 000000000..b43b5e23f --- /dev/null +++ b/keyboards/hhkb/rules.mk | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # project specific files | ||
| 4 | SRC = matrix.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | #MCU = at90usb1287 | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 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 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section Size in *bytes* | ||
| 48 | # Teensy halfKay 512 | ||
| 49 | # Teensy++ halfKay 1024 | ||
| 50 | # Atmel DFU loader 4096 | ||
| 51 | # LUFA bootloader 4096 | ||
| 52 | # USBaspLoader 2048 | ||
| 53 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 54 | |||
| 55 | # as per original hasu settings | ||
| 56 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 57 | |||
| 58 | # Build Options | ||
| 59 | # comment out to disable the options. | ||
| 60 | # | ||
| 61 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 62 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 63 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 64 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 65 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 66 | CUSTOM_MATRIX ?= yes # Custom matrix file for the HHKB | ||
| 67 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 68 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 69 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 70 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 71 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 72 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 73 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 74 | |||
| 75 | ifneq (, $(findstring yes, $(HHKB_JP))) | ||
| 76 | OPT_DEFS += -DHHKB_JP | ||
| 77 | endif | ||
| 78 | |||
| 79 | debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION | ||
| 80 | debug-on: all | ||
| 81 | |||
| 82 | debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT | ||
| 83 | debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS)) | ||
| 84 | debug-off: all | ||
diff --git a/keyboards/infinity_chibios/Makefile b/keyboards/infinity_chibios/Makefile index 649b43e64..4e2a6f00f 100644 --- a/keyboards/infinity_chibios/Makefile +++ b/keyboards/infinity_chibios/Makefile | |||
| @@ -1,70 +1,3 @@ | |||
| 1 | # project specific files | 1 | ifndef MAKEFILE_INCLUDED |
| 2 | SRC = matrix.c \ | ||
| 3 | led.c | ||
| 4 | |||
| 5 | ## chip/board settings | ||
| 6 | # - the next two should match the directories in | ||
| 7 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 8 | # - For Teensies, FAMILY = KINETIS and SERIES is either | ||
| 9 | # KL2x (LC) or K20x (3.0,3.1,3.2). | ||
| 10 | # - For Infinity KB, SERIES = K20x | ||
| 11 | MCU_FAMILY = KINETIS | ||
| 12 | MCU_SERIES = K20x | ||
| 13 | |||
| 14 | # Linker script to use | ||
| 15 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | ||
| 16 | # or <this_dir>/ld/ | ||
| 17 | # - NOTE: a custom ld script is needed for EEPROM on Teensy LC | ||
| 18 | # - LDSCRIPT = | ||
| 19 | # - MKL26Z64 for Teensy LC | ||
| 20 | # - MK20DX128 for Teensy 3.0 | ||
| 21 | # - MK20DX256 for Teensy 3.1 and 3.2 | ||
| 22 | # - MK20DX128BLDR4 for Infinity with Kiibohd bootloader | ||
| 23 | MCU_LDSCRIPT = MK20DX128BLDR4 | ||
| 24 | |||
| 25 | # Startup code to use | ||
| 26 | # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 27 | # - STARTUP = | ||
| 28 | # - kl2x for Teensy LC | ||
| 29 | # - k20x5 for Teensy 3.0 and Infinity KB | ||
| 30 | # - k20x7 for Teensy 3.1 and 3.2 | ||
| 31 | MCU_STARTUP = k20x5 | ||
| 32 | |||
| 33 | # Board: it should exist either in <chibios>/os/hal/boards/ | ||
| 34 | # or <this_dir>/boards | ||
| 35 | # - BOARD = | ||
| 36 | # - PJRC_TEENSY_LC for Teensy LC | ||
| 37 | # - PJRC_TEENSY_3 for Teensy 3.0 | ||
| 38 | # - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2 | ||
| 39 | # - MCHCK_K20 for Infinity KB | ||
| 40 | BOARD = MCHCK_K20 | ||
| 41 | |||
| 42 | # Cortex version | ||
| 43 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 44 | MCU = cortex-m4 | ||
| 45 | |||
| 46 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 47 | # I.e. 6 for Teensy LC; 7 for Teensy 3.x | ||
| 48 | ARMV = 7 | ||
| 49 | |||
| 50 | # Vector table for application | ||
| 51 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 52 | # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | ||
| 53 | OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000 | ||
| 54 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration | ||
| 59 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | ||
| 60 | MOUSEKEY_ENABLE ?= yes # Mouse keys | ||
| 61 | EXTRAKEY_ENABLE ?= yes # Audio control and System control | ||
| 62 | CONSOLE_ENABLE ?= yes # Console for debug | ||
| 63 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 64 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 65 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 66 | CUSTOM_MATRIX ?= yes # Custom matrix file | ||
| 67 | |||
| 68 | ifndef QUANTUM_DIR | ||
| 69 | include ../../Makefile | 2 | include ../../Makefile |
| 70 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/infinity_chibios/rules.mk b/keyboards/infinity_chibios/rules.mk new file mode 100644 index 000000000..56d6470b5 --- /dev/null +++ b/keyboards/infinity_chibios/rules.mk | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | # project specific files | ||
| 2 | SRC = matrix.c \ | ||
| 3 | led.c | ||
| 4 | |||
| 5 | ## chip/board settings | ||
| 6 | # - the next two should match the directories in | ||
| 7 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 8 | # - For Teensies, FAMILY = KINETIS and SERIES is either | ||
| 9 | # KL2x (LC) or K20x (3.0,3.1,3.2). | ||
| 10 | # - For Infinity KB, SERIES = K20x | ||
| 11 | MCU_FAMILY = KINETIS | ||
| 12 | MCU_SERIES = K20x | ||
| 13 | |||
| 14 | # Linker script to use | ||
| 15 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | ||
| 16 | # or <this_dir>/ld/ | ||
| 17 | # - NOTE: a custom ld script is needed for EEPROM on Teensy LC | ||
| 18 | # - LDSCRIPT = | ||
| 19 | # - MKL26Z64 for Teensy LC | ||
| 20 | # - MK20DX128 for Teensy 3.0 | ||
| 21 | # - MK20DX256 for Teensy 3.1 and 3.2 | ||
| 22 | # - MK20DX128BLDR4 for Infinity with Kiibohd bootloader | ||
| 23 | MCU_LDSCRIPT = MK20DX128BLDR4 | ||
| 24 | |||
| 25 | # Startup code to use | ||
| 26 | # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 27 | # - STARTUP = | ||
| 28 | # - kl2x for Teensy LC | ||
| 29 | # - k20x5 for Teensy 3.0 and Infinity KB | ||
| 30 | # - k20x7 for Teensy 3.1 and 3.2 | ||
| 31 | MCU_STARTUP = k20x5 | ||
| 32 | |||
| 33 | # Board: it should exist either in <chibios>/os/hal/boards/ | ||
| 34 | # or <this_dir>/boards | ||
| 35 | # - BOARD = | ||
| 36 | # - PJRC_TEENSY_LC for Teensy LC | ||
| 37 | # - PJRC_TEENSY_3 for Teensy 3.0 | ||
| 38 | # - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2 | ||
| 39 | # - MCHCK_K20 for Infinity KB | ||
| 40 | BOARD = MCHCK_K20 | ||
| 41 | |||
| 42 | # Cortex version | ||
| 43 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 44 | MCU = cortex-m4 | ||
| 45 | |||
| 46 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 47 | # I.e. 6 for Teensy LC; 7 for Teensy 3.x | ||
| 48 | ARMV = 7 | ||
| 49 | |||
| 50 | # Vector table for application | ||
| 51 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 52 | # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | ||
| 53 | OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000 | ||
| 54 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration | ||
| 59 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | ||
| 60 | MOUSEKEY_ENABLE ?= yes # Mouse keys | ||
| 61 | EXTRAKEY_ENABLE ?= yes # Audio control and System control | ||
| 62 | CONSOLE_ENABLE ?= yes # Console for debug | ||
| 63 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 64 | SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 65 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 66 | CUSTOM_MATRIX ?= yes # Custom matrix file \ No newline at end of file | ||
diff --git a/keyboards/jd45/Makefile b/keyboards/jd45/Makefile index 75d544f16..4e2a6f00f 100644 --- a/keyboards/jd45/Makefile +++ b/keyboards/jd45/Makefile | |||
| @@ -1,71 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 63 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 64 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 65 | MIDI_ENABLE ?= YES # MIDI controls | ||
| 66 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 67 | BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 68 | |||
| 69 | ifndef QUANTUM_DIR | ||
| 70 | include ../../Makefile | 2 | include ../../Makefile |
| 71 | endif | 3 | endif \ No newline at end of file |
diff --git a/keyboards/jd45/rules.mk b/keyboards/jd45/rules.mk new file mode 100644 index 000000000..2f1e266a1 --- /dev/null +++ b/keyboards/jd45/rules.mk | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 63 | # NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA | ||
| 64 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 65 | MIDI_ENABLE ?= YES # MIDI controls | ||
| 66 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 67 | BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID \ No newline at end of file | ||
diff --git a/keyboards/kc60/Makefile b/keyboards/kc60/Makefile index b00a488b9..4e2a6f00f 100644 --- a/keyboards/kc60/Makefile +++ b/keyboards/kc60/Makefile | |||
| @@ -1,76 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 71 | |||
| 72 | |||
| 73 | ifndef QUANTUM_DIR | ||
| 74 | include ../../Makefile | 2 | include ../../Makefile |
| 75 | endif | 3 | endif \ No newline at end of file |
| 76 | |||
diff --git a/keyboards/kc60/rules.mk b/keyboards/kc60/rules.mk new file mode 100644 index 000000000..4efd6f988 --- /dev/null +++ b/keyboards/kc60/rules.mk | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 66 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 67 | MIDI_ENABLE ?= no # MIDI controls | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
diff --git a/keyboards/kinesis/Makefile b/keyboards/kinesis/Makefile index ca077e636..4e2a6f00f 100644 --- a/keyboards/kinesis/Makefile +++ b/keyboards/kinesis/Makefile | |||
| @@ -1,79 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | ## Project specific files | ||
| 3 | |||
| 4 | SRC= matrix.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | MCU = at90usb1286 | ||
| 8 | #MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 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 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section Size in *bytes* | ||
| 48 | # Teensy halfKay 512 | ||
| 49 | # Teensy++ halfKay 1024 | ||
| 50 | # Atmel DFU loader 4096 | ||
| 51 | # LUFA bootloader 4096 | ||
| 52 | # USBaspLoader 2048 | ||
| 53 | OPT_DEFS += -DBOOTLOADER_SIZE=1024 | ||
| 54 | |||
| 55 | |||
| 56 | # Build Options | ||
| 57 | # change yes to no to disable | ||
| 58 | # | ||
| 59 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 60 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 61 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 62 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 63 | COMMAND_ENABLE ?= no | ||
| 64 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 65 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 66 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 67 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 68 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 69 | MIDI_ENABLE ?= no # MIDI controls | ||
| 70 | UNICODE_ENABLE ?= no # Unicode | ||
| 71 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 72 | AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hardcodes C6, which we use for programming | ||
| 73 | CUSTOM_MATRIX=yes # need to do our own thing with the matrix | ||
| 74 | |||
| 75 | ifndef QUANTUM_DIR | ||
| 76 | include ../../Makefile | 2 | include ../../Makefile |
| 77 | endif | 3 | endif \ No newline at end of file |
| 78 | |||
| 79 | |||
diff --git a/keyboards/kinesis/rules.mk b/keyboards/kinesis/rules.mk new file mode 100644 index 000000000..a4a2b7d15 --- /dev/null +++ b/keyboards/kinesis/rules.mk | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | |||
| 2 | ## Project specific files | ||
| 3 | |||
| 4 | SRC= matrix.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | MCU = at90usb1286 | ||
| 8 | #MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 22 | |||
| 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 | # Interrupt driven control endpoint task(+60) | ||
| 44 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 45 | |||
| 46 | |||
| 47 | # Boot Section Size in *bytes* | ||
| 48 | # Teensy halfKay 512 | ||
| 49 | # Teensy++ halfKay 1024 | ||
| 50 | # Atmel DFU loader 4096 | ||
| 51 | # LUFA bootloader 4096 | ||
| 52 | # USBaspLoader 2048 | ||
| 53 | OPT_DEFS += -DBOOTLOADER_SIZE=1024 | ||
| 54 | |||
| 55 | |||
| 56 | # Build Options | ||
| 57 | # change yes to no to disable | ||
| 58 | # | ||
| 59 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 60 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 61 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 62 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 63 | COMMAND_ENABLE ?= no | ||
| 64 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 65 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 66 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 67 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 68 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 69 | MIDI_ENABLE ?= no # MIDI controls | ||
| 70 | UNICODE_ENABLE ?= no # Unicode | ||
| 71 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 72 | AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hardcodes C6, which we use for programming | ||
| 73 | CUSTOM_MATRIX=yes # need to do our own thing with the matrix | ||
diff --git a/keyboards/lets_split/Makefile b/keyboards/lets_split/Makefile index b9f07636b..4e2a6f00f 100644 --- a/keyboards/lets_split/Makefile +++ b/keyboards/lets_split/Makefile | |||
| @@ -1,78 +1,3 @@ | |||
| 1 | SRC += matrix.c \ | 1 | ifndef MAKEFILE_INCLUDED |
| 2 | i2c.c \ | ||
| 3 | split_util.c \ | ||
| 4 | serial.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | #MCU = at90usb1287 | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 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 | # Build Options | ||
| 55 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 56 | # the appropriate keymap folder that will get included automatically | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 63 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality | ||
| 65 | MIDI_ENABLE ?= no # MIDI controls | ||
| 66 | AUDIO_ENABLE ?= yes # Audio output on port C6 | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 70 | |||
| 71 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 72 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 73 | |||
| 74 | CUSTOM_MATRIX = yes | ||
| 75 | |||
| 76 | ifndef QUANTUM_DIR | ||
| 77 | include ../../Makefile | 2 | include ../../Makefile |
| 78 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/lets_split/rules.mk b/keyboards/lets_split/rules.mk new file mode 100644 index 000000000..6961fbd55 --- /dev/null +++ b/keyboards/lets_split/rules.mk | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c.c \ | ||
| 3 | split_util.c \ | ||
| 4 | serial.c | ||
| 5 | |||
| 6 | # MCU name | ||
| 7 | #MCU = at90usb1287 | ||
| 8 | MCU = atmega32u4 | ||
| 9 | |||
| 10 | # Processor frequency. | ||
| 11 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 12 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 13 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 14 | # automatically to create a 32-bit value in your source code. | ||
| 15 | # | ||
| 16 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 17 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 18 | # does not *change* the processor frequency - it should merely be updated to | ||
| 19 | # reflect the processor speed set externally so that the code can use accurate | ||
| 20 | # software delays. | ||
| 21 | F_CPU = 16000000 | ||
| 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 | # Build Options | ||
| 55 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 56 | # the appropriate keymap folder that will get included automatically | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 63 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality | ||
| 65 | MIDI_ENABLE ?= no # MIDI controls | ||
| 66 | AUDIO_ENABLE ?= yes # Audio output on port C6 | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 70 | |||
| 71 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 72 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 73 | |||
| 74 | CUSTOM_MATRIX = yes \ No newline at end of file | ||
diff --git a/keyboards/phantom/Makefile b/keyboards/phantom/Makefile index 3a71fd0ee..4e2a6f00f 100644 --- a/keyboards/phantom/Makefile +++ b/keyboards/phantom/Makefile | |||
| @@ -1,74 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | SRC = led.c | ||
| 4 | |||
| 5 | # MCU name | ||
| 6 | #MCU = at90usb1287 | ||
| 7 | MCU = atmega32u4 | ||
| 8 | |||
| 9 | # Processor frequency. | ||
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 13 | # automatically to create a 32-bit value in your source code. | ||
| 14 | # | ||
| 15 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 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 | # | ||
| 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 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 63 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | RGBLIGHT_ENABLE ?=yes # Enable keyboard underlight functionality (+4870) | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality (+1150) | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | AUDIO_ENABLE ?= no | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | |||
| 71 | |||
| 72 | ifndef QUANTUM_DIR | ||
| 73 | include ../../Makefile | 2 | include ../../Makefile |
| 74 | endif | 3 | endif \ No newline at end of file |
diff --git a/keyboards/phantom/rules.mk b/keyboards/phantom/rules.mk new file mode 100644 index 000000000..c6b8ca6c3 --- /dev/null +++ b/keyboards/phantom/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | |||
| 2 | |||
| 3 | SRC = led.c | ||
| 4 | |||
| 5 | # MCU name | ||
| 6 | #MCU = at90usb1287 | ||
| 7 | MCU = atmega32u4 | ||
| 8 | |||
| 9 | # Processor frequency. | ||
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 13 | # automatically to create a 32-bit value in your source code. | ||
| 14 | # | ||
| 15 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 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 | # | ||
| 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 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 63 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | RGBLIGHT_ENABLE ?=yes # Enable keyboard underlight functionality (+4870) | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality (+1150) | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | AUDIO_ENABLE ?= no | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/planck/Makefile b/keyboards/planck/Makefile index 23944f92e..7d49c5ef9 100644 --- a/keyboards/planck/Makefile +++ b/keyboards/planck/Makefile | |||
| @@ -1,74 +1,5 @@ | |||
| 1 | |||
| 2 | SUBPROJECT_DEFAULT = rev4 | 1 | SUBPROJECT_DEFAULT = rev4 |
| 3 | 2 | ||
| 4 | # MCU name | 3 | ifndef MAKEFILE_INCLUDED |
| 5 | #MCU = at90usb1287 | ||
| 6 | MCU = atmega32u4 | ||
| 7 | |||
| 8 | # Processor frequency. | ||
| 9 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 10 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 11 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 12 | # automatically to create a 32-bit value in your source code. | ||
| 13 | # | ||
| 14 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 15 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 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 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 54 | # the appropriate keymap folder that will get included automatically | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 63 | MIDI_ENABLE ?= no # MIDI controls | ||
| 64 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 68 | |||
| 69 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 70 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 71 | |||
| 72 | ifndef QUANTUM_DIR | ||
| 73 | include ../../Makefile | 4 | include ../../Makefile |
| 74 | endif \ No newline at end of file | 5 | endif \ No newline at end of file |
diff --git a/keyboards/planck/rules.mk b/keyboards/planck/rules.mk new file mode 100644 index 000000000..25db53a31 --- /dev/null +++ b/keyboards/planck/rules.mk | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | # MCU name | ||
| 2 | #MCU = at90usb1287 | ||
| 3 | MCU = atmega32u4 | ||
| 4 | |||
| 5 | # Processor frequency. | ||
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 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 | # Build Options | ||
| 50 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 51 | # the appropriate keymap folder that will get included automatically | ||
| 52 | # | ||
| 53 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 54 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 55 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 56 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 57 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 58 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 59 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 60 | MIDI_ENABLE ?= no # MIDI controls | ||
| 61 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 62 | UNICODE_ENABLE ?= no # Unicode | ||
| 63 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 64 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 65 | |||
| 66 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 67 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend \ No newline at end of file | ||
diff --git a/keyboards/preonic/Makefile b/keyboards/preonic/Makefile index 08e9205cb..4e2a6f00f 100644 --- a/keyboards/preonic/Makefile +++ b/keyboards/preonic/Makefile | |||
| @@ -1,73 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 53 | # the appropriate keymap folder that will get included automatically | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 62 | MIDI_ENABLE ?= no # MIDI controls | ||
| 63 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 64 | UNICODE_ENABLE ?= no # Unicode | ||
| 65 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 67 | |||
| 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 69 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | 2 | include ../../Makefile |
| 73 | endif \ No newline at end of file | 3 | endif \ No newline at end of file |
diff --git a/keyboards/preonic/rules.mk b/keyboards/preonic/rules.mk new file mode 100644 index 000000000..d0f3a3a1c --- /dev/null +++ b/keyboards/preonic/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 53 | # the appropriate keymap folder that will get included automatically | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 62 | MIDI_ENABLE ?= no # MIDI controls | ||
| 63 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 64 | UNICODE_ENABLE ?= no # Unicode | ||
| 65 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 66 | RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 67 | |||
| 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 69 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend \ No newline at end of file | ||
diff --git a/keyboards/retro_refit/Makefile b/keyboards/retro_refit/Makefile index 2dd8cc5f7..4e2a6f00f 100644 --- a/keyboards/retro_refit/Makefile +++ b/keyboards/retro_refit/Makefile | |||
| @@ -1,74 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 66 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 67 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 68 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | |||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | 2 | include ../../Makefile |
| 73 | endif | 3 | endif \ No newline at end of file |
| 74 | |||
diff --git a/keyboards/retro_refit/rules.mk b/keyboards/retro_refit/rules.mk new file mode 100644 index 000000000..10fbfa5c9 --- /dev/null +++ b/keyboards/retro_refit/rules.mk | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=512 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # comment out to disable the options. | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | KEYBOARD_LOCK_ENABLE ?= yes # Allow locking of keyboard via magic key | ||
| 62 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 63 | # SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | # BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality | ||
| 66 | # MIDI_ENABLE ?= YES # MIDI controls | ||
| 67 | # UNICODE_ENABLE ?= YES # Unicode | ||
| 68 | # BLUETOOTH_ENABLE ?= yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/s60-x/Makefile b/keyboards/s60-x/Makefile index 8b51d4609..4e2a6f00f 100644 --- a/keyboards/s60-x/Makefile +++ b/keyboards/s60-x/Makefile | |||
| @@ -1,75 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | 2 | include ../../Makefile |
| 73 | endif | 3 | endif \ No newline at end of file |
| 74 | |||
| 75 | |||
diff --git a/keyboards/s60-x/rules.mk b/keyboards/s60-x/rules.mk new file mode 100644 index 000000000..7ec93933a --- /dev/null +++ b/keyboards/s60-x/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | AUDIO_ENABLE ?= no # Audio output on port C6 \ No newline at end of file | ||
diff --git a/keyboards/satan/Makefile b/keyboards/satan/Makefile index a0879fc9c..4e2a6f00f 100644 --- a/keyboards/satan/Makefile +++ b/keyboards/satan/Makefile | |||
| @@ -1,70 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 62 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality (+1150) | ||
| 63 | MIDI_ENABLE ?= no # MIDI controls | ||
| 64 | AUDIO_ENABLE ?= no | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | |||
| 68 | ifndef QUANTUM_DIR | ||
| 69 | include ../../Makefile | 2 | include ../../Makefile |
| 70 | endif | 3 | endif \ No newline at end of file |
diff --git a/keyboards/satan/rules.mk b/keyboards/satan/rules.mk new file mode 100644 index 000000000..1102584d8 --- /dev/null +++ b/keyboards/satan/rules.mk | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | |||
| 2 | # MCU name | ||
| 3 | #MCU = at90usb1287 | ||
| 4 | MCU = atmega32u4 | ||
| 5 | |||
| 6 | # Processor frequency. | ||
| 7 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 8 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 9 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 10 | # automatically to create a 32-bit value in your source code. | ||
| 11 | # | ||
| 12 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 13 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 14 | # does not *change* the processor frequency - it should merely be updated to | ||
| 15 | # reflect the processor speed set externally so that the code can use accurate | ||
| 16 | # software delays. | ||
| 17 | F_CPU = 16000000 | ||
| 18 | |||
| 19 | |||
| 20 | # | ||
| 21 | # LUFA specific | ||
| 22 | # | ||
| 23 | # Target architecture (see library "Board Types" documentation). | ||
| 24 | ARCH = AVR8 | ||
| 25 | |||
| 26 | # Input clock frequency. | ||
| 27 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 28 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 29 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 30 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 31 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 32 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 33 | # source code. | ||
| 34 | # | ||
| 35 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 36 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 37 | F_USB = $(F_CPU) | ||
| 38 | |||
| 39 | # Interrupt driven control endpoint task(+60) | ||
| 40 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 41 | |||
| 42 | |||
| 43 | # Boot Section Size in *bytes* | ||
| 44 | # Teensy halfKay 512 | ||
| 45 | # Teensy++ halfKay 1024 | ||
| 46 | # Atmel DFU loader 4096 | ||
| 47 | # LUFA bootloader 4096 | ||
| 48 | # USBaspLoader 2048 | ||
| 49 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 50 | |||
| 51 | |||
| 52 | # Build Options | ||
| 53 | # comment out to disable the options. | ||
| 54 | # | ||
| 55 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 56 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 57 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 58 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 59 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 60 | NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 61 | RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870) | ||
| 62 | BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality (+1150) | ||
| 63 | MIDI_ENABLE ?= no # MIDI controls | ||
| 64 | AUDIO_ENABLE ?= no | ||
| 65 | UNICODE_ENABLE ?= no # Unicode | ||
| 66 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
diff --git a/keyboards/sixkeyboard/Makefile b/keyboards/sixkeyboard/Makefile index 6f273064a..4e2a6f00f 100644 --- a/keyboards/sixkeyboard/Makefile +++ b/keyboards/sixkeyboard/Makefile | |||
| @@ -1,75 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | SRC = matrix.c | ||
| 4 | |||
| 5 | # MCU name | ||
| 6 | #MCU = at90usb1287 | ||
| 7 | MCU = atmega16u2 | ||
| 8 | |||
| 9 | # Processor frequency. | ||
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 13 | # automatically to create a 32-bit value in your source code. | ||
| 14 | # | ||
| 15 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 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 | # | ||
| 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 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= no # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= no # Commands for debug and configuration | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | AUDIO_ENABLE ?= no | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | CUSTOM_MATRIX = yes | ||
| 71 | |||
| 72 | ifndef QUANTUM_DIR | ||
| 73 | include ../../Makefile | 2 | include ../../Makefile |
| 74 | endif | 3 | endif \ No newline at end of file |
| 75 | |||
diff --git a/keyboards/sixkeyboard/rules.mk b/keyboards/sixkeyboard/rules.mk new file mode 100644 index 000000000..2c99985a9 --- /dev/null +++ b/keyboards/sixkeyboard/rules.mk | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | |||
| 2 | |||
| 3 | SRC = matrix.c | ||
| 4 | |||
| 5 | # MCU name | ||
| 6 | #MCU = at90usb1287 | ||
| 7 | MCU = atmega16u2 | ||
| 8 | |||
| 9 | # Processor frequency. | ||
| 10 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 11 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 12 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 13 | # automatically to create a 32-bit value in your source code. | ||
| 14 | # | ||
| 15 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 16 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 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 | # | ||
| 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 | |||
| 55 | # Build Options | ||
| 56 | # comment out to disable the options. | ||
| 57 | # | ||
| 58 | BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) | ||
| 59 | MOUSEKEY_ENABLE ?= no # Mouse keys(+4700) | ||
| 60 | EXTRAKEY_ENABLE ?= no # Audio control and System control(+450) | ||
| 61 | CONSOLE_ENABLE ?= no # Console for debug(+400) | ||
| 62 | COMMAND_ENABLE ?= no # Commands for debug and configuration | ||
| 63 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 64 | NKRO_ENABLE ?= no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | AUDIO_ENABLE ?= no | ||
| 68 | UNICODE_ENABLE ?= no # Unicode | ||
| 69 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 70 | CUSTOM_MATRIX = yes \ No newline at end of file | ||
diff --git a/keyboards/tv44/Makefile b/keyboards/tv44/Makefile index 45ca12780..4e2a6f00f 100644 --- a/keyboards/tv44/Makefile +++ b/keyboards/tv44/Makefile | |||
| @@ -1,75 +1,3 @@ | |||
| 1 | 1 | ifndef MAKEFILE_INCLUDED | |
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
| 70 | |||
| 71 | ifndef QUANTUM_DIR | ||
| 72 | include ../../Makefile | 2 | include ../../Makefile |
| 73 | endif | 3 | endif \ No newline at end of file |
| 74 | |||
| 75 | |||
diff --git a/keyboards/tv44/rules.mk b/keyboards/tv44/rules.mk new file mode 100644 index 000000000..dbba6bace --- /dev/null +++ b/keyboards/tv44/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # MCU name | ||
| 4 | #MCU = at90usb1287 | ||
| 5 | MCU = atmega32u4 | ||
| 6 | |||
| 7 | # Processor frequency. | ||
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 11 | # automatically to create a 32-bit value in your source code. | ||
| 12 | # | ||
| 13 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 15 | # does not *change* the processor frequency - it should merely be updated to | ||
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | |||
| 53 | # Build Options | ||
| 54 | # change yes to no to disable | ||
| 55 | # | ||
| 56 | BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000) | ||
| 57 | MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) | ||
| 58 | EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) | ||
| 59 | CONSOLE_ENABLE ?= yes # Console for debug(+400) | ||
| 60 | COMMAND_ENABLE ?= yes # Commands for debug and configuration | ||
| 61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 62 | SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend | ||
| 63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 64 | NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
| 65 | BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default | ||
| 66 | MIDI_ENABLE ?= no # MIDI controls | ||
| 67 | UNICODE_ENABLE ?= no # Unicode | ||
| 68 | BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 69 | AUDIO_ENABLE ?= no # Audio output on port C6 | ||
