summaryrefslogtreecommitdiffstats
path: root/keyboards/ghs/xls/rules.mk
diff options
context:
space:
mode:
authorRamon Imbao <ramonimbao@gmail.com>2022-12-13 10:36:26 +0800
committerGitHub <noreply@github.com>2022-12-12 18:36:26 -0800
commit812468abb466d48972d9b4054a216dbbc054e803 (patch)
tree5635d39d84c650f14cd081e9fa9d76863cc354ba /keyboards/ghs/xls/rules.mk
parent2792ee6573f94008fd6e6825d58b40b34696e44b (diff)
[Keyboard] Add the Gone Hacking Studio XLS (#19185)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/ghs/xls/rules.mk')
-rw-r--r--keyboards/ghs/xls/rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/ghs/xls/rules.mk b/keyboards/ghs/xls/rules.mk
new file mode 100644
index 0000000000..6b37928327
--- /dev/null
+++ b/keyboards/ghs/xls/rules.mk
@@ -0,0 +1,8 @@
+# MCU name
+MCU = STM32F072
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE