aboutsummaryrefslogtreecommitdiff
path: root/keyboards/comet46
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-06 05:09:35 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-05 11:09:35 -0700
commite8b65d01709c2ebdf50c0aa95963d200fa4fa4c6 (patch)
tree1f8c889788cd3958d0583d8a8b9192e3425ba115 /keyboards/comet46
parent19b60c273ab63c250db748e5eead6baba88cd0d8 (diff)
downloadqmk_firmware-e8b65d01709c2ebdf50c0aa95963d200fa4fa4c6.tar.gz
qmk_firmware-e8b65d01709c2ebdf50c0aa95963d200fa4fa4c6.zip
Cleanup rules.mk for 32U4 keyboards, A-F (#6804)
* Cleanup rules.mk for 32U4 keyboards, A-F * Put back stuff in VIA keymaps
Diffstat (limited to 'keyboards/comet46')
-rw-r--r--keyboards/comet46/rules.mk57
1 files changed, 13 insertions, 44 deletions
diff --git a/keyboards/comet46/rules.mk b/keyboards/comet46/rules.mk
index fc00e205b..d38f16734 100644
--- a/keyboards/comet46/rules.mk
+++ b/keyboards/comet46/rules.mk
@@ -1,50 +1,15 @@
1# # project specific files
2SRC += matrix.c \
3 i2c.c \
4 ssd1306.c
5
6# MCU name 1# MCU name
7MCU = atmega32u4 2MCU = atmega32u4
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 = caterina
18# reflect the processor speed set externally so that the code can use accurate
19# software delays.
20F_CPU = 16000000
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# Bootloader
41# This definition is optional, and if your keyboard supports multiple bootloaders of
42# different sizes, comment this out, and the correct address will be loaded
43# automatically (+60). See bootloader.mk for all options.
44# BOOTLOADER = caterina
45
46# Interrupt driven control endpoint task(+60)
47OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
48 13
49# Build Options 14# Build Options
50# comment out to disable the options. 15# comment out to disable the options.
@@ -64,3 +29,7 @@ UNICODE_ENABLE = YES # Unicode
64# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID 29# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
65 30
66USB = /dev/ttyACM0 31USB = /dev/ttyACM0
32# project specific files
33SRC += matrix.c \
34 i2c.c \
35 ssd1306.c