summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/stm32f405_feather/rules.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-09-25 00:19:41 +0100
committerGitHub <noreply@github.com>2021-09-25 00:19:41 +0100
commit3a2a39e5ecd43756b5df5e382bd02d9f41061c78 (patch)
treeb011b46243bd67b3452f668034b24ba10509a15d /keyboards/handwired/onekey/stm32f405_feather/rules.mk
parente1dfbfbfd32e923e2bd499a324f18122a90ac998 (diff)
Initial pass of F405 support (#14584)
* Initial pass of F405 support * remove some conf files * docs * clang
Diffstat (limited to 'keyboards/handwired/onekey/stm32f405_feather/rules.mk')
-rw-r--r--keyboards/handwired/onekey/stm32f405_feather/rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f405_feather/rules.mk b/keyboards/handwired/onekey/stm32f405_feather/rules.mk
new file mode 100644
index 0000000000..bff7a7e297
--- /dev/null
+++ b/keyboards/handwired/onekey/stm32f405_feather/rules.mk
@@ -0,0 +1,8 @@
+# MCU name
+MCU = STM32F405
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE