summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/kb2040/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/kb2040/rules.mk')
-rw-r--r--keyboards/handwired/onekey/kb2040/rules.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/kb2040/rules.mk b/keyboards/handwired/onekey/kb2040/rules.mk
new file mode 100644
index 0000000000..624b331bf8
--- /dev/null
+++ b/keyboards/handwired/onekey/kb2040/rules.mk
@@ -0,0 +1,9 @@
+# MCU name
+MCU = RP2040
+BOOTLOADER = rp2040
+
+OLED_ENABLE = yes
+OLED_DRIVER = SSD1306
+
+OPT_DEFS += -DHAL_USE_I2C=TRUE
+