summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/rekt1800/rules.mk
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2020-04-12 06:36:03 -0400
committerGitHub <noreply@github.com>2020-04-12 03:36:03 -0700
commit799b21f8cd6546811652deae23424a3fa603e9b5 (patch)
treef3ee7b34bf7078e7c5b48c0901b430164c15025f /keyboards/cannonkeys/rekt1800/rules.mk
parent750179e111dfa35d8023fe9ef785dcbef24f1e55 (diff)
[Keyboard] Add CannonKeys Rekt1800 keyboard (#7760)
* Add Rekt1800 keyboards * Update keyboards/cannonkeys/rekt1800/config.h * Update keyboards/cannonkeys/rekt1800/info.json * Apply suggestions from code review * Apply suggestions from code review * Remove line * Apply suggestions from code review
Diffstat (limited to 'keyboards/cannonkeys/rekt1800/rules.mk')
-rw-r--r--keyboards/cannonkeys/rekt1800/rules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/rekt1800/rules.mk b/keyboards/cannonkeys/rekt1800/rules.mk
new file mode 100644
index 0000000000..c8f75b7dd9
--- /dev/null
+++ b/keyboards/cannonkeys/rekt1800/rules.mk
@@ -0,0 +1,19 @@
+# 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 = no
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE