summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/kb2040/rules.mk
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2022-08-05 21:38:10 -0500
committerGitHub <noreply@github.com>2022-08-05 19:38:10 -0700
commit7bbc1b21dd97d0d1577b5ed288adc48475512497 (patch)
tree5c850857dfbb5052ff2779dd2c1d27e24fa91d85 /keyboards/handwired/onekey/kb2040/rules.mk
parentad4ef47d2b92c158d49feabf28cc3b5eb367a1c4 (diff)
Add kb2040 onkey keyboard that works with the oled keymap (#17786)
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
+