summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/sono1/stm32f103/rules.mk
diff options
context:
space:
mode:
authorDmitry Nosachev <quartz64@gmail.com>2022-01-10 12:26:06 +0300
committerGitHub <noreply@github.com>2022-01-10 01:26:06 -0800
commitc5728aebeeb75e0069642f984d579e4691ec9677 (patch)
tree630c93409ab69058060f56a4cf79dd2d6bf42047 /keyboards/handwired/sono1/stm32f103/rules.mk
parentd9e5a5f2dbbc99516e5b81776c2130cceab6691b (diff)
Add Teensy2.0++ revision and VIA keymap to handwired/sono1 (#15296)
* teensy2.0pp revision, via support * updated documentation * Update keyboards/handwired/sono1/t2pp/rules.mk
Diffstat (limited to 'keyboards/handwired/sono1/stm32f103/rules.mk')
-rw-r--r--keyboards/handwired/sono1/stm32f103/rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/handwired/sono1/stm32f103/rules.mk b/keyboards/handwired/sono1/stm32f103/rules.mk
new file mode 100644
index 0000000000..019b1130d9
--- /dev/null
+++ b/keyboards/handwired/sono1/stm32f103/rules.mk
@@ -0,0 +1,8 @@
+# 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