1 # Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
2 # Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
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.
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.
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/>.
21 # unsupported features for now
23 NO_SUSPEND_POWER_DOWN = yes
29 # This definition is optional, and if your keyboard supports multiple bootloaders of
30 # different sizes, comment this out, and the correct address will be loaded
31 # automatically (+60). See bootloader.mk for all options.
32 BOOTLOADER = bootloadHID
35 BOOTMAGIC_ENABLE = yes
40 BACKLIGHT_ENABLE = yes
42 RGBLIGHT_CUSTOM_DRIVER = yes
44 # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
50 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
51 SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
54 #OPT_DEFS = -DDEBUG_LEVEL=0
58 SRC = matrix.c i2c.c backlight.c
62 PROGRAM_CMD = ./keyboards/ps2avrGB/program $(TARGET).hex