summaryrefslogtreecommitdiff
path: root/keyboards/polycarbdiet/s20/rules.mk
diff options
context:
space:
mode:
authorGalib, Muhammad <62521946+polycarbdiet@users.noreply.github.com>2021-02-14 12:48:54 -0500
committerGitHub <noreply@github.com>2021-02-14 17:48:54 +0000
commit3134698ad2316f234e0d3d222cebbcba721d950c (patch)
tree5881e98f2a3dae1083f2d4b19462bb871004bfab /keyboards/polycarbdiet/s20/rules.mk
parent5a37c1bd5c14e4354ddaf49b6ee3c9c465513b71 (diff)
initial add S20 keyboard into polycarbdiet folder (#11865)
Diffstat (limited to 'keyboards/polycarbdiet/s20/rules.mk')
-rw-r--r--keyboards/polycarbdiet/s20/rules.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/polycarbdiet/s20/rules.mk b/keyboards/polycarbdiet/s20/rules.mk
new file mode 100644
index 0000000000..152430af9b
--- /dev/null
+++ b/keyboards/polycarbdiet/s20/rules.mk
@@ -0,0 +1,23 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+
+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 = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+LAYOUTS = ortho_5x4 numpad_5x4