aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kmac
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-22 15:43:18 +1100
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-21 21:43:18 -0700
commit2ee961c9e873d577e711431ae0960aa21629525e (patch)
tree0ab1aa27f879c732cf29a75f49e7d6ab3e4ad125 /keyboards/kmac
parentc44aff5f18b287bae718c934a9943eae97585cba (diff)
downloadqmk_firmware-2ee961c9e873d577e711431ae0960aa21629525e.tar.gz
qmk_firmware-2ee961c9e873d577e711431ae0960aa21629525e.zip
Cleanup rules.mk for 32U4 keyboards, I-K (#7097)
* Cleanup rules.mk for 32U4 keyboards, I-K * Clean up ivy rules.mk
Diffstat (limited to 'keyboards/kmac')
-rw-r--r--keyboards/kmac/rules.mk52
1 files changed, 9 insertions, 43 deletions
diff --git a/keyboards/kmac/rules.mk b/keyboards/kmac/rules.mk
index 33e5e43f7..8f53f26cd 100644
--- a/keyboards/kmac/rules.mk
+++ b/keyboards/kmac/rules.mk
@@ -1,59 +1,19 @@
1# Project specific files
2SRC += matrix.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
7# Processor frequency. 4# 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.
18F_CPU = 8000000 5F_CPU = 8000000
19 6
20
21#
22# LUFA specific
23#
24# Target architecture (see library "Board Types" documentation).
25ARCH = 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.
38F_USB = $(F_CPU)
39
40# Interrupt driven control endpoint task(+60)
41OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
42
43
44# Bootloader selection 7# Bootloader selection
45# Teensy halfkay 8# Teensy halfkay
46# Pro Micro caterina 9# Pro Micro caterina
47# Atmel DFU atmel-dfu 10# Atmel DFU atmel-dfu
48# LUFA DFU lufa-dfu 11# LUFA DFU lufa-dfu
49# QMK DFU qmk-dfu 12# QMK DFU qmk-dfu
50# atmega32a bootloadHID 13# ATmega32A bootloadHID
14# ATmega328P USBasp
51BOOTLOADER = atmel-dfu 15BOOTLOADER = atmel-dfu
52 16
53
54# Supported layouts
55LAYOUTS = tkl_ansi
56
57# Build Options 17# Build Options
58# change yes to no to disable 18# change yes to no to disable
59# 19#
@@ -73,3 +33,9 @@ UNICODE_ENABLE = no # Unicode
73BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 33BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
74AUDIO_ENABLE = no # Audio output on port C6 34AUDIO_ENABLE = no # Audio output on port C6
75FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 35FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
36
37# Project specific files
38SRC += matrix.c
39
40# Supported layouts
41LAYOUTS = tkl_ansi