aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kinesis
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-20 02:55:03 +1000
committerDrashna Jaelre <drashna@live.com>2019-09-19 09:55:03 -0700
commitf34299efd7c5be439b0991d46c26de6c8709a2d9 (patch)
tree16f0ad27a74857fc0bca45e0c8f17e34303360a2 /keyboards/kinesis
parent911b8915cc89c040db3c6075a1a547003b0ab37f (diff)
downloadqmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.tar.gz
qmk_firmware-f34299efd7c5be439b0991d46c26de6c8709a2d9.zip
Cleanup rules.mk for USB64 and USB128 keyboards (#6769)
Diffstat (limited to 'keyboards/kinesis')
-rw-r--r--keyboards/kinesis/rules.mk62
1 files changed, 12 insertions, 50 deletions
diff --git a/keyboards/kinesis/rules.mk b/keyboards/kinesis/rules.mk
index b3a6b84d6..295054d75 100644
--- a/keyboards/kinesis/rules.mk
+++ b/keyboards/kinesis/rules.mk
@@ -1,56 +1,15 @@
1
2## Project specific files
3
4SRC= matrix.c
5
6# MCU name 1# MCU name
7MCU = at90usb1286 2MCU = at90usb1286
8 3
9# Processor frequency. 4# Bootloader selection
10# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
11# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
12# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
13# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
14# 9# QMK DFU qmk-dfu
15# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
16# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
17# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = halfkay
18# reflect the processor speed set externally so that the code can use accurate
19# software delays.
20F_CPU = 16000000
21
22
23#
24# LUFA specific
25#
26# Target architecture (see library "Board Types" documentation).
27ARCH = 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.
40F_USB = $(F_CPU)
41
42# Interrupt driven control endpoint task(+60)
43OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
44
45
46# Boot Section Size in *bytes*
47# Teensy halfKay 512
48# Teensy++ halfKay 2048
49# Atmel DFU loader 4096
50# LUFA bootloader 4096
51# USBaspLoader 2048
52OPT_DEFS += -DBOOTLOADER_SIZE=2048
53
54 13
55# Build Options 14# Build Options
56# change yes to no to disable 15# change yes to no to disable
@@ -72,3 +31,6 @@ AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hard
72CUSTOM_MATRIX=yes # need to do our own thing with the matrix 31CUSTOM_MATRIX=yes # need to do our own thing with the matrix
73 32
74DEFAULT_FOLDER = kinesis/alvicstep 33DEFAULT_FOLDER = kinesis/alvicstep
34
35# Project specific files
36SRC = matrix.c