aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/zeal65/rules.mk
diff options
context:
space:
mode:
authorWilba <Jason.S.Williams@gmail.com>2019-10-12 15:37:03 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-11 21:37:03 -0700
commite47ab6a5752e16bd3b4288153798c12af1bee3d5 (patch)
tree47fd56bfb7be699cc6b1ca84c3c22b8804000f5c /keyboards/wilba_tech/zeal65/rules.mk
parent22aa2ce6b2f3bda51aca84d8f707c17f0301ff3b (diff)
downloadqmk_firmware-e47ab6a5752e16bd3b4288153798c12af1bee3d5.tar.gz
qmk_firmware-e47ab6a5752e16bd3b4288153798c12af1bee3d5.zip
[Keyboard] wilba.tech PCB refactoring (#6982)
* Cleanup * Refactor VIA rules.mk * WT mono backlight refactor, VIA support * Added WT75-C * Fixed compile error * Cleanup rules.mk * Review changes * Review changes
Diffstat (limited to 'keyboards/wilba_tech/zeal65/rules.mk')
-rw-r--r--keyboards/wilba_tech/zeal65/rules.mk46
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
4SRC = keyboards/wilba_tech/wt_main.c \ 2SRC = 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
11MCU = atmega32u4 9MCU = 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.
24F_CPU = 16000000
25
26#
27# LUFA specific
28#
29# Target architecture (see library "Board Types" documentation).
30ARCH = 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.
43F_USB = $(F_CPU)
44
45# Interrupt driven control endpoint task(+60)
46OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
47
48# Boot Section
49BOOTLOADER = atmel-dfu 19BOOTLOADER = atmel-dfu
50 20
51# Do not put the microcontroller into power saving mode 21# Do not put the microcontroller into power saving mode