diff options
Diffstat (limited to 'keyboards/wilba_tech/zeal65/rules.mk')
| -rw-r--r-- | keyboards/wilba_tech/zeal65/rules.mk | 46 |
1 files changed, 8 insertions, 38 deletions
diff --git a/keyboards/wilba_tech/zeal65/rules.mk b/keyboards/wilba_tech/zeal65/rules.mk index a1cd32aad..f0df99656 100644 --- a/keyboards/wilba_tech/zeal65/rules.mk +++ b/keyboards/wilba_tech/zeal65/rules.mk | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # project specific files | 1 | # project specific files |
| 4 | SRC = keyboards/wilba_tech/wt_main.c \ | 2 | SRC = keyboards/wilba_tech/wt_main.c \ |
| 5 | keyboards/wilba_tech/wt_rgb_backlight.c \ | 3 | keyboards/wilba_tech/wt_rgb_backlight.c \ |
| @@ -10,42 +8,14 @@ SRC = keyboards/wilba_tech/wt_main.c \ | |||
| 10 | # MCU name | 8 | # MCU name |
| 11 | MCU = atmega32u4 | 9 | MCU = atmega32u4 |
| 12 | 10 | ||
| 13 | # Processor frequency. | 11 | # Bootloader selection |
| 14 | # This will define a symbol, F_CPU, in all source code files equal to the | 12 | # Teensy halfkay |
| 15 | # processor frequency in Hz. You can then use this symbol in your source code to | 13 | # Pro Micro caterina |
| 16 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 14 | # Atmel DFU atmel-dfu |
| 17 | # automatically to create a 32-bit value in your source code. | 15 | # LUFA DFU lufa-dfu |
| 18 | # | 16 | # QMK DFU qmk-dfu |
| 19 | # This will be an integer division of F_USB below, as it is sourced by | 17 | # ATmega32A bootloadHID |
| 20 | # F_USB after it has run through any CPU prescalers. Note that this value | 18 | # ATmega328P USBasp |
| 21 | # does not *change* the processor frequency - it should merely be updated to | ||
| 22 | # reflect the processor speed set externally so that the code can use accurate | ||
| 23 | # software delays. | ||
| 24 | F_CPU = 16000000 | ||
| 25 | |||
| 26 | # | ||
| 27 | # LUFA specific | ||
| 28 | # | ||
| 29 | # Target architecture (see library "Board Types" documentation). | ||
| 30 | ARCH = AVR8 | ||
| 31 | |||
| 32 | # Input clock frequency. | ||
| 33 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 34 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 35 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 36 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 37 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 38 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 39 | # source code. | ||
| 40 | # | ||
| 41 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 42 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 43 | F_USB = $(F_CPU) | ||
| 44 | |||
| 45 | # Interrupt driven control endpoint task(+60) | ||
| 46 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 47 | |||
| 48 | # Boot Section | ||
| 49 | BOOTLOADER = atmel-dfu | 19 | BOOTLOADER = atmel-dfu |
| 50 | 20 | ||
| 51 | # Do not put the microcontroller into power saving mode | 21 | # Do not put the microcontroller into power saving mode |
