summaryrefslogtreecommitdiff
path: root/keyboards/projectkb/alice/rev1/rules.mk
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2020-04-15 18:37:47 -0400
committerGitHub <noreply@github.com>2020-04-15 15:37:47 -0700
commit17d0f6338e093f0f000b6a5cd2382d88ccbf1b79 (patch)
tree1ce9a6a36f5a7947c221bfae3ea185993ac09b96 /keyboards/projectkb/alice/rev1/rules.mk
parent484c059d867e93e9374902121c6ce64774d28d7d (diff)
downloadqmk_firmware-17d0f6338e093f0f000b6a5cd2382d88ccbf1b79.tar.gz
qmk_firmware-17d0f6338e093f0f000b6a5cd2382d88ccbf1b79.zip
[Keyboard] ProjectKB Alice rev2 (#8718)
* Add revision 1 and revision 2 to ProjectKB Alice PCB * Swap SLEEP LED to no * Basic root rules.mk * Apply suggestions from code review * Update keyboards/projectkb/alice/rules.mk
Diffstat (limited to 'keyboards/projectkb/alice/rev1/rules.mk')
-rw-r--r--keyboards/projectkb/alice/rev1/rules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/projectkb/alice/rev1/rules.mk b/keyboards/projectkb/alice/rev1/rules.mk
new file mode 100644
index 0000000000..258444db45
--- /dev/null
+++ b/keyboards/projectkb/alice/rev1/rules.mk
@@ -0,0 +1,27 @@
+# MCU name
+MCU = STM32F072
+
+# 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 = yes # Console for debug
+COMMAND_ENABLE = yes # 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
+MIDI_ENABLE = no # MIDI support
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+AUDIO_ENABLE = no # Audio output on port C6
+FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
+HD44780_ENABLE = no # Enable support for HD44780 based LCDs
+WS2812_DRIVER = spi
+
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE