summaryrefslogtreecommitdiff
path: root/keyboards/linworks/whale75/rules.mk
diff options
context:
space:
mode:
authorMoritz <moritz.plattner@gmx.net>2021-02-07 17:54:23 +0100
committerGitHub <noreply@github.com>2021-02-07 08:54:23 -0800
commit3d01794b12a895b1678c51b5aea46a0def5fca3f (patch)
tree6cf07ee2b9a0ee014ed00c34cbae98e957b3eff3 /keyboards/linworks/whale75/rules.mk
parent53f17113c1241dfc0179d3b98121f3cd83cfae9a (diff)
[Keyboard] Whale 75 (#11486)
* initial commit * various fixes * minor formatting fixes * fixed typo in config * switched underglow from bitbang to pwm * fixed indicator leds not working * improved comment syntax * fixed matrix * remove outdated indicator custom code Co-authored-by: Joel Challis <git@zvecr.com> * add new indicator definitions Co-authored-by: Joel Challis <git@zvecr.com> * removed duplicate define for underglow pin Co-authored-by: Drashna Jaelre <drashna@live.com> * removed unneeded lines * fixed readme to fit template * added picture to readme * fixed readme formatting Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/linworks/whale75/rules.mk')
-rw-r--r--keyboards/linworks/whale75/rules.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/linworks/whale75/rules.mk b/keyboards/linworks/whale75/rules.mk
new file mode 100644
index 0000000000..a9f986d477
--- /dev/null
+++ b/keyboards/linworks/whale75/rules.mk
@@ -0,0 +1,24 @@
+# MCU name
+MCU = STM32F303
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = no # 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
+ENCODER_ENABLE = yes
+WS2812_DRIVER = pwm
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file