aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hid_liber
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-10-21 06:51:37 +1100
committerDrashna Jaelre <drashna@live.com>2019-10-20 12:51:37 -0700
commit3dbf08b655ac1f14bc7a5ae2b8cd8ae385063640 (patch)
tree2d625bfcf4b50a781fb883cbf3b28c1cc2e15f0a /keyboards/hid_liber
parentbc073b817a155a3148fbc95f982877a623e5f28e (diff)
downloadqmk_firmware-3dbf08b655ac1f14bc7a5ae2b8cd8ae385063640.tar.gz
qmk_firmware-3dbf08b655ac1f14bc7a5ae2b8cd8ae385063640.zip
Cleanup rules.mk for 32U4 keyboards, H (#7030)
* Cleanup rules.mk for 32U4 keyboards, H * Change some boards incorrectly assumed to be halfkay
Diffstat (limited to 'keyboards/hid_liber')
-rwxr-xr-xkeyboards/hid_liber/keymaps/default/rules.mk34
-rwxr-xr-xkeyboards/hid_liber/rules.mk60
2 files changed, 13 insertions, 81 deletions
diff --git a/keyboards/hid_liber/keymaps/default/rules.mk b/keyboards/hid_liber/keymaps/default/rules.mk
index 0f131bce9..15b7f725b 100755
--- a/keyboards/hid_liber/keymaps/default/rules.mk
+++ b/keyboards/hid_liber/keymaps/default/rules.mk
@@ -1,33 +1 @@
1# Copyright 2013 Jun Wako <wakojun@gmail.com> CONSOLE_ENABLE = yes
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16
17# QMK Build Options
18# change to "no" to disable the options, or define them in the Makefile in
19# the appropriate keymap folder that will get included automatically
20#
21BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
22MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
23EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
24CONSOLE_ENABLE = yes # Console for debug(+400)
25COMMAND_ENABLE = yes # Commands for debug and configuration
26NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
27BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
28MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
29AUDIO_ENABLE = no # Audio output on port C6
30UNICODE_ENABLE = no # Unicode
31BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
32RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
33SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend \ No newline at end of file
diff --git a/keyboards/hid_liber/rules.mk b/keyboards/hid_liber/rules.mk
index 8d4348849..3642d8074 100755
--- a/keyboards/hid_liber/rules.mk
+++ b/keyboards/hid_liber/rules.mk
@@ -1,54 +1,15 @@
1# Project specific files
2SRC = matrix.c
3
4# MCU name 1# MCU name
5MCU = atmega32u4 2MCU = atmega32u4
6 3
7# Processor frequency. 4# Bootloader selection
8# This will define a symbol, F_CPU, in all source code files equal to the 5# Teensy halfkay
9# processor frequency in Hz. You can then use this symbol in your source code to 6# Pro Micro caterina
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done 7# Atmel DFU atmel-dfu
11# automatically to create a 32-bit value in your source code. 8# LUFA DFU lufa-dfu
12# 9# QMK DFU qmk-dfu
13# This will be an integer division of F_USB below, as it is sourced by 10# ATmega32A bootloadHID
14# F_USB after it has run through any CPU prescalers. Note that this value 11# ATmega328P USBasp
15# does not *change* the processor frequency - it should merely be updated to 12BOOTLOADER = atmel-dfu
16# reflect the processor speed set externally so that the code can use accurate
17# software delays.
18F_CPU = 16000000
19
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# Boot Section Size in *bytes*
45# Teensy halfKay 512
46# Teensy++ halfKay 1024
47# Atmel DFU loader 4096
48# LUFA bootloader 4096
49# USBaspLoader 2048
50OPT_DEFS += -DBOOTLOADER_SIZE=4096
51
52 13
53# Build Options 14# Build Options
54# change yes to no to disable 15# change yes to no to disable
@@ -70,3 +31,6 @@ UNICODE_ENABLE = no # Unicode
70BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 31BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
71AUDIO_ENABLE = no # Audio output on port C6 32AUDIO_ENABLE = no # Audio output on port C6
72FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 33FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
34
35# Project specific files
36SRC = matrix.c