summaryrefslogtreecommitdiff
path: root/keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
diff options
context:
space:
mode:
author4pplet <mail@4pplet.com>2022-10-05 19:30:41 +0200
committerGitHub <noreply@github.com>2022-10-05 10:30:41 -0700
commit44aad7b92bb38c4fbd0ebc143a3f88c564c7373a (patch)
tree83ca0fd00701e88ad970bad5a362ea1d232ee1c9 /keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
parente7d5a6e490c54c65189fd600c2fcc942191a4ed3 (diff)
[Keyboard] Add waffling60 Rev D ANSI Hotswap (#18579)
Co-authored-by: 4pplet <4pplet@protonmail.com> Co-authored-by: 4pplet <stefan.ess@gmail.com>
Diffstat (limited to 'keyboards/4pplet/waffling60/rev_d_ansi/rules.mk')
-rw-r--r--keyboards/4pplet/waffling60/rev_d_ansi/rules.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/4pplet/waffling60/rev_d_ansi/rules.mk b/keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
new file mode 100644
index 0000000000..df10992a48
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
@@ -0,0 +1,24 @@
+# MCU name
+MCU = STM32F072
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+NKRO_ENABLE = yes # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+
+# Wildcard to allow APM32 MCU
+DFU_SUFFIX_ARGS = -p FFFF -v FFFF
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE