summaryrefslogtreecommitdiff
path: root/keyboards/barleycorn_smd/rules.mk
diff options
context:
space:
mode:
authorMatthew Dias <matthewdias@me.com>2021-03-17 01:31:58 -0500
committerGitHub <noreply@github.com>2021-03-16 23:31:58 -0700
commit163e9b02bfbe1618c00f4b7110d9b7f68c332b41 (patch)
tree2d2c27fb662234d2f156942cff86de972121d3c2 /keyboards/barleycorn_smd/rules.mk
parent90f95de5c992e695fa73ebf11116f6ea322815de (diff)
[Keyboard] Add barleycorn smd keyboard (#12200)
Diffstat (limited to 'keyboards/barleycorn_smd/rules.mk')
-rw-r--r--keyboards/barleycorn_smd/rules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/barleycorn_smd/rules.mk b/keyboards/barleycorn_smd/rules.mk
new file mode 100644
index 0000000000..fba31123d0
--- /dev/null
+++ b/keyboards/barleycorn_smd/rules.mk
@@ -0,0 +1,27 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+CUSTOM_MATRIX = lite
+
+SRC += matrix.c
+QUANTUM_LIB_SRC += i2c_master.c