]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ymd96/rules.mk
Cleanup rules.mk for 32A and 328P keyboards (#6767)
[qmk_firmware.git] / keyboards / ymd96 / rules.mk
1 # Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
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 # MCU name
17 MCU = atmega32a
18
19 # Bootloader selection
20 #   Teensy       halfkay
21 #   Pro Micro    caterina
22 #   Atmel DFU    atmel-dfu
23 #   LUFA DFU     lufa-dfu
24 #   QMK DFU      qmk-dfu
25 #   ATmega32A    bootloadHID
26 #   ATmega328P   USBasp
27 BOOTLOADER = bootloadHID
28
29 # build options
30 BOOTMAGIC_ENABLE = no
31 MOUSEKEY_ENABLE = no
32 EXTRAKEY_ENABLE = yes
33 CONSOLE_ENABLE = no
34 COMMAND_ENABLE = no
35
36 BACKLIGHT_ENABLE = yes
37 BACKLIGHT_CUSTOM_DRIVER = yes
38
39 RGBLIGHT_ENABLE = yes
40 RGBLIGHT_CUSTOM_DRIVER = yes
41
42 KEY_LOCK_ENABLE = yes
43
44 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
45 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
46
47 OPT_DEFS = -DDEBUG_LEVEL=0
48
49 # custom matrix setup
50 CUSTOM_MATRIX = yes
51 SRC = matrix.c i2c.c backlight.c