diff options
Diffstat (limited to 'keyboards/dc01')
| -rw-r--r-- | keyboards/dc01/arrow/rules.mk | 59 | ||||
| -rw-r--r-- | keyboards/dc01/left/rules.mk | 59 | ||||
| -rw-r--r-- | keyboards/dc01/numpad/rules.mk | 59 | ||||
| -rw-r--r-- | keyboards/dc01/right/rules.mk | 59 |
4 files changed, 44 insertions, 192 deletions
diff --git a/keyboards/dc01/arrow/rules.mk b/keyboards/dc01/arrow/rules.mk index 8426df1bd..56a9cfc49 100644 --- a/keyboards/dc01/arrow/rules.mk +++ b/keyboards/dc01/arrow/rules.mk | |||
| @@ -1,54 +1,15 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c_slave.c | ||
| 3 | |||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | 4 | # Bootloader selection |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 11 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 12 | # | 9 | # QMK DFU qmk-dfu |
| 13 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 15 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
| 54 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -71,3 +32,5 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 71 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 72 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in | 33 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in |
| 73 | CUSTOM_MATRIX = yes # Use custom matrix | 34 | CUSTOM_MATRIX = yes # Use custom matrix |
| 35 | SRC += matrix.c \ | ||
| 36 | i2c_slave.c | ||
diff --git a/keyboards/dc01/left/rules.mk b/keyboards/dc01/left/rules.mk index 8a0d06195..9e34a0a80 100644 --- a/keyboards/dc01/left/rules.mk +++ b/keyboards/dc01/left/rules.mk | |||
| @@ -1,54 +1,15 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c_master.c | ||
| 3 | |||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | 4 | # Bootloader selection |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 11 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 12 | # | 9 | # QMK DFU qmk-dfu |
| 13 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 15 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
| 54 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -70,3 +31,5 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 70 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 71 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 72 | CUSTOM_MATRIX = yes # Use custom matrix | 33 | CUSTOM_MATRIX = yes # Use custom matrix |
| 34 | SRC += matrix.c \ | ||
| 35 | i2c_master.c | ||
diff --git a/keyboards/dc01/numpad/rules.mk b/keyboards/dc01/numpad/rules.mk index 420534f8c..674ef1d02 100644 --- a/keyboards/dc01/numpad/rules.mk +++ b/keyboards/dc01/numpad/rules.mk | |||
| @@ -1,54 +1,15 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c_slave.c | ||
| 3 | |||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | 4 | # Bootloader selection |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 11 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 12 | # | 9 | # QMK DFU qmk-dfu |
| 13 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 15 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
| 54 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -71,6 +32,8 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 71 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 72 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in | 33 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in |
| 73 | CUSTOM_MATRIX = yes # Use custom matrix | 34 | CUSTOM_MATRIX = yes # Use custom matrix |
| 35 | SRC += matrix.c \ | ||
| 36 | i2c_slave.c | ||
| 74 | 37 | ||
| 75 | # Community layouts supported | 38 | # Community layouts supported |
| 76 | LAYOUTS = numpad_5x4 ortho_5x4 | 39 | LAYOUTS = numpad_5x4 ortho_5x4 |
diff --git a/keyboards/dc01/right/rules.mk b/keyboards/dc01/right/rules.mk index 8426df1bd..56a9cfc49 100644 --- a/keyboards/dc01/right/rules.mk +++ b/keyboards/dc01/right/rules.mk | |||
| @@ -1,54 +1,15 @@ | |||
| 1 | SRC += matrix.c \ | ||
| 2 | i2c_slave.c | ||
| 3 | |||
| 4 | # MCU name | 1 | # MCU name |
| 5 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 6 | 3 | ||
| 7 | # Processor frequency. | 4 | # Bootloader selection |
| 8 | # This will define a symbol, F_CPU, in all source code files equal to the | 5 | # Teensy halfkay |
| 9 | # processor frequency in Hz. You can then use this symbol in your source code to | 6 | # Pro Micro caterina |
| 10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 7 | # Atmel DFU atmel-dfu |
| 11 | # automatically to create a 32-bit value in your source code. | 8 | # LUFA DFU lufa-dfu |
| 12 | # | 9 | # QMK DFU qmk-dfu |
| 13 | # This will be an integer division of F_USB below, as it is sourced by | 10 | # ATmega32A bootloadHID |
| 14 | # F_USB after it has run through any CPU prescalers. Note that this value | 11 | # ATmega328P USBasp |
| 15 | # does not *change* the processor frequency - it should merely be updated to | 12 | BOOTLOADER = atmel-dfu |
| 16 | # reflect the processor speed set externally so that the code can use accurate | ||
| 17 | # software delays. | ||
| 18 | F_CPU = 16000000 | ||
| 19 | |||
| 20 | |||
| 21 | # | ||
| 22 | # LUFA specific | ||
| 23 | # | ||
| 24 | # Target architecture (see library "Board Types" documentation). | ||
| 25 | ARCH = AVR8 | ||
| 26 | |||
| 27 | # Input clock frequency. | ||
| 28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 34 | # source code. | ||
| 35 | # | ||
| 36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 38 | F_USB = $(F_CPU) | ||
| 39 | |||
| 40 | # Interrupt driven control endpoint task(+60) | ||
| 41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 42 | |||
| 43 | |||
| 44 | # Boot Section Size in *bytes* | ||
| 45 | # Teensy halfKay 512 | ||
| 46 | # Teensy++ halfKay 1024 | ||
| 47 | # Atmel DFU loader 4096 | ||
| 48 | # LUFA bootloader 4096 | ||
| 49 | # USBaspLoader 2048 | ||
| 50 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 51 | |||
| 52 | 13 | ||
| 53 | # Build Options | 14 | # Build Options |
| 54 | # change yes to no to disable | 15 | # change yes to no to disable |
| @@ -71,3 +32,5 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 71 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 72 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in | 33 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in |
| 73 | CUSTOM_MATRIX = yes # Use custom matrix | 34 | CUSTOM_MATRIX = yes # Use custom matrix |
| 35 | SRC += matrix.c \ | ||
| 36 | i2c_slave.c | ||
