summaryrefslogtreecommitdiff
path: root/keyboards/wete/rules.mk
diff options
context:
space:
mode:
authorRamon Imbao <ramonimbao@gmail.com>2020-02-25 09:36:30 +0800
committerGitHub <noreply@github.com>2020-02-24 17:36:30 -0800
commit93c5307fd60c35780921570ccf41a1806847eb9c (patch)
treebbadc5bfbf67527579bf4b650112d24ddc2d26d9 /keyboards/wete/rules.mk
parent088b64ab3d598574244db5ac67fec889bdc58119 (diff)
downloadqmk_firmware-93c5307fd60c35780921570ccf41a1806847eb9c.tar.gz
qmk_firmware-93c5307fd60c35780921570ccf41a1806847eb9c.zip
[Keyboard] Add Wete (#8229)
* [Keyboard] Add Wete * Fix width and height in Wete info.json * Use default board files, core backlight, and disable RTC * Disable I2C, SPI. Minor corrections * Keymap typo update * Add LAYOUT_all to info.json * Remove extra spaces in README, delete matrix_*_kb functions * Fix layout errors in wete.h, and some minor corrections * Actually fix LAYOUT_all in info.json
Diffstat (limited to 'keyboards/wete/rules.mk')
-rw-r--r--keyboards/wete/rules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/wete/rules.mk b/keyboards/wete/rules.mk
new file mode 100644
index 0000000000..a01bef1d44
--- /dev/null
+++ b/keyboards/wete/rules.mk
@@ -0,0 +1,19 @@
+# MCU name
+MCU = STM32F072xB
+
+# Build Options
+# comment out to disable the options.
+#
+
+#BOOTMAGIC_ENABLE = yes # 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 = yes # Breathing sleep LED during USB suspend
+NKRO_ENABLE = yes # USB Nkey Rollover
+CUSTOM_MATRIX = no # Custom matrix file
+BACKLIGHT_ENABLE = yes
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE