From 93c5307fd60c35780921570ccf41a1806847eb9c Mon Sep 17 00:00:00 2001 From: Ramon Imbao Date: Tue, 25 Feb 2020 09:36:30 +0800 Subject: [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 --- keyboards/wete/rules.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 keyboards/wete/rules.mk (limited to 'keyboards/wete/rules.mk') 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 -- cgit v1.2.3