summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/devastatingtkl/rules.mk
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2020-04-11 18:19:44 -0400
committerGitHub <noreply@github.com>2020-04-11 23:19:44 +0100
commitdfdc89296b2d491423ee4c22ed9059d5777fc652 (patch)
tree040be0cb721e79b10a0ad28bc0a060af9e14862d /keyboards/cannonkeys/devastatingtkl/rules.mk
parent671020af080ccd1feb9a4d633286578e70528c18 (diff)
DevastatingTKL Keyboard (#8209)
* Save progress * Finished matrix and everything * Apply suggestions from code review Co-Authored-By: Ryan <fauxpark@gmail.com> * Update DevastatingTKL * Renames * Add renamed files * Update chibios files and VIA keymap for completion * Some cleanup * Apply suggestions from code review Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/cannonkeys/devastatingtkl/rules.mk Co-Authored-By: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/cannonkeys/devastatingtkl/rules.mk')
-rw-r--r--keyboards/cannonkeys/devastatingtkl/rules.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/devastatingtkl/rules.mk b/keyboards/cannonkeys/devastatingtkl/rules.mk
new file mode 100644
index 0000000000..007dab751b
--- /dev/null
+++ b/keyboards/cannonkeys/devastatingtkl/rules.mk
@@ -0,0 +1,21 @@
+# MCU Name
+MCU = STM32F072
+
+# Build Options
+# comment out to disable the options.
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = yes # Console for debug
+COMMAND_ENABLE = yes # Commands for debug and configuration
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+``
+NKRO_ENABLE = yes # USB Nkey Rollover
+CUSTOM_MATRIX = no # Custom matrix file
+BACKLIGHT_ENABLE = yes
+RGBLIGHT_ENABLE = yes
+WS2812_DRIVER = spi
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE