summaryrefslogtreecommitdiff
path: root/keyboards/facew/rules.mk
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-05-12 08:45:19 -0700
committerDrashna Jaelre <drashna@live.com>2018-05-12 08:45:19 -0700
commit69ec54f3a46c59c4e1df982bc1f914fa881146b0 (patch)
tree3456ff5adad77067e98f87678014f54ae8c25f51 /keyboards/facew/rules.mk
parent57113c7e49aedbc8d6be1d9cc4b7966b1d782666 (diff)
FaceW Keyboard Support (#2939)
* preliminary checkin for facew keyboard * Update readme file * put the standard 60 ansi layout in * update rules to have LAYOUT_60_ansi to use my userspace layouts
Diffstat (limited to 'keyboards/facew/rules.mk')
-rw-r--r--keyboards/facew/rules.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/facew/rules.mk b/keyboards/facew/rules.mk
new file mode 100644
index 0000000000..77d29b3320
--- /dev/null
+++ b/keyboards/facew/rules.mk
@@ -0,0 +1,52 @@
+# 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 = yes
+MOUSEKEY_ENABLE = yes
+EXTRAKEY_ENABLE = yes
+CONSOLE_ENABLE = yes
+COMMAND_ENABLE = yes
+BACKLIGHT_ENABLE = no
+RGBLIGHT_ENABLE = no
+RGBLIGHT_CUSTOM_DRIVER = yes
+
+OPT_DEFS = -DDEBUG_LEVEL=0
+
+# custom matrix setup
+CUSTOM_MATRIX = yes
+SRC = matrix.c i2c.c
+
+# programming options
+PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+
+LAYOUTS = 60_ansi