summaryrefslogtreecommitdiff
path: root/keyboards/tgr/alice/rules.mk
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-08-07 19:02:27 -0700
committerDrashna Jaelre <drashna@live.com>2019-08-07 19:02:27 -0700
commit2c0c25d0140d75e0cd005b10aa5bc35837c363f5 (patch)
tree129de3377360fdf869c5d68555a6bf9b7b743052 /keyboards/tgr/alice/rules.mk
parent8479dd65d404ff5e401ea80dfb16160d65247307 (diff)
downloadqmk_firmware-2c0c25d0140d75e0cd005b10aa5bc35837c363f5.tar.gz
qmk_firmware-2c0c25d0140d75e0cd005b10aa5bc35837c363f5.zip
Move Alice to TGR Directory (#6502)
* git mv alice into the tgr directory * update readme with new build instructions
Diffstat (limited to 'keyboards/tgr/alice/rules.mk')
-rw-r--r--keyboards/tgr/alice/rules.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/tgr/alice/rules.mk b/keyboards/tgr/alice/rules.mk
new file mode 100644
index 0000000000..eecd38d7e7
--- /dev/null
+++ b/keyboards/tgr/alice/rules.mk
@@ -0,0 +1,48 @@
+# Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# MCU name
+MCU = atmega32a
+PROTOCOL = VUSB
+
+# unsupported features for now
+NO_UART = yes
+NO_SUSPEND_POWER_DOWN = yes
+
+# processor frequency
+F_CPU = 12000000
+
+# Bootloader
+# This definition is optional, and if your keyboard supports multiple bootloaders of
+# different sizes, comment this out, and the correct address will be loaded
+# automatically (+60). See bootloader.mk for all options.
+BOOTLOADER = bootloadHID
+
+# build options
+BOOTMAGIC_ENABLE = full
+MOUSEKEY_ENABLE = no
+EXTRAKEY_ENABLE = yes
+CONSOLE_ENABLE = yes
+COMMAND_ENABLE = yes
+BACKLIGHT_ENABLE = no
+RGBLIGHT_ENABLE = yes
+RGBLIGHT_CUSTOM_DRIVER = yes
+
+OPT_DEFS = -DDEBUG_LEVEL=0
+
+SRC += i2c_master.c
+
+# programming options
+PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex