summaryrefslogtreecommitdiff
path: root/keyboards/atreus/f103/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/atreus/f103/rules.mk')
-rw-r--r--keyboards/atreus/f103/rules.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/atreus/f103/rules.mk b/keyboards/atreus/f103/rules.mk
new file mode 100644
index 0000000000..a18b4fa231
--- /dev/null
+++ b/keyboards/atreus/f103/rules.mk
@@ -0,0 +1,10 @@
+# MCU name
+MCU = STM32F103
+
+# Bootloader selection
+BOOTLOADER = stm32duino
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
+
+BOOTMAGIC_ENABLE = yes \ No newline at end of file