]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/jj50/rules.mk
[Keyboard] New CannonKeys boards and EEPROM fixes (#6968)
[qmk_firmware.git] / keyboards / jj50 / rules.mk
1 # Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
2 # Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
3
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 # MCU name
18 MCU = atmega32a
19
20 # Bootloader selection
21 #   Teensy       halfkay
22 #   Pro Micro    caterina
23 #   Atmel DFU    atmel-dfu
24 #   LUFA DFU     lufa-dfu
25 #   QMK DFU      qmk-dfu
26 #   ATmega32A    bootloadHID
27 #   ATmega328P   USBasp
28 BOOTLOADER = bootloadHID
29
30 # build options
31 BOOTMAGIC_ENABLE = yes
32 MOUSEKEY_ENABLE = no
33 EXTRAKEY_ENABLE = yes
34 CONSOLE_ENABLE = no
35 COMMAND_ENABLE = yes
36 BACKLIGHT_ENABLE = yes
37 RGBLIGHT_ENABLE = yes
38 RGBLIGHT_CUSTOM_DRIVER = yes
39 NKRO_ENABLE = no
40 # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
41
42
43 DISABLE_WS2812 = no
44
45 KEY_LOCK_ENABLE = yes
46 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
47 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
48
49
50 #OPT_DEFS = -DDEBUG_LEVEL=0
51
52 # custom matrix setup
53 CUSTOM_MATRIX = yes
54 SRC = matrix.c i2c.c backlight.c
55
56 LAYOUTS = ortho_5x12