summaryrefslogtreecommitdiff
path: root/keyboards/xelus/ninjin/rules.mk
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-04-25 08:57:22 +0000
committerGitHub <noreply@github.com>2021-04-25 18:57:22 +1000
commit611cd80861b1bd8ad57ef5b78f11a349e74b1949 (patch)
tree7a987f68d94fe0df6f317b32ee2830acaa4fd05d /keyboards/xelus/ninjin/rules.mk
parent89bd04b9eba72c93e6e9227179aa4a1236f3061b (diff)
downloadqmk_firmware-611cd80861b1bd8ad57ef5b78f11a349e74b1949.tar.gz
qmk_firmware-611cd80861b1bd8ad57ef5b78f11a349e74b1949.zip
[Keyboard] Ninjin (#12496)
* ninjin init * put in gpl thing * underglow * update to latest chibios * fix gpl headers * remove other files * fix header * Update keyboards/xelus/ninjin/readme.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update keyboards/xelus/ninjin/mcuconf.h Co-authored-by: Nick Brassel <nick@tzarc.org> * Update keyboards/xelus/ninjin/halconf.h Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/xelus/ninjin/rules.mk')
-rw-r--r--keyboards/xelus/ninjin/rules.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/xelus/ninjin/rules.mk b/keyboards/xelus/ninjin/rules.mk
new file mode 100644
index 0000000000..bb7ad5260d
--- /dev/null
+++ b/keyboards/xelus/ninjin/rules.mk
@@ -0,0 +1,24 @@
+# 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 = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+WS2812_DRIVER = pwm
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE