summaryrefslogtreecommitdiffstats
path: root/keyboards/ghs/xls/rules.mk
diff options
context:
space:
mode:
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