summaryrefslogtreecommitdiff
path: root/totem/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'totem/rules.mk')
-rw-r--r--totem/rules.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/totem/rules.mk b/totem/rules.mk
new file mode 100644
index 0000000..bf77691
--- /dev/null
+++ b/totem/rules.mk
@@ -0,0 +1,31 @@
+# MCU name
+MCU = RP2040
+
+# Bootloader selection
+BOOTLOADER = rp2040
+
+# Ignore some warnings during the build, likely to be fixed before RP2040 PR is merged
+ALLOW_WARNINGS = yes
+
+# LTO must be disabled for RP2040 builds
+LTO_ENABLE = no
+
+SPLIT_KEYBOARD = yes
+SWAP_HANDS_ENABLE = yes
+
+# PIO serial/WS2812 drivers must be used on RP2040
+SERIAL_DRIVER = vendor
+WS2812_DRIVER = vendor
+
+#SPACE SAVING
+EXTRAKEY_ENABLE = no
+AUDIO_ENABLE = no
+MUSIC_ENABLE = no
+LTO_ENABLE = no
+CONSOLE_ENABLE = no
+COMMAND_ENABLE = no
+MOUSEKEY_ENABLE = no
+SPACE_CADET_ENABLE = no
+GRAVE_ESC_ENABLE = no
+MAGIC_ENABLE = no
+