summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/QMK_BLOK/configs/config.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2024-02-28 21:47:37 +1100
committerNick Brassel <nick@tzarc.org>2024-02-28 21:47:37 +1100
commit4e369d405af6bba1adce6337b2e1b1ea1788566c (patch)
treeb0f020feff1809e37c9e7795d344929ff0bb290a /platforms/chibios/boards/QMK_BLOK/configs/config.h
parent4e04da397ef643f8fcf4afbe1d19f63aee1fc561 (diff)
parentdd1706e468bb18dd7f7ae143de735a5d3be1bfb8 (diff)
Merge branch 'develop'
Diffstat (limited to 'platforms/chibios/boards/QMK_BLOK/configs/config.h')
-rw-r--r--platforms/chibios/boards/QMK_BLOK/configs/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/platforms/chibios/boards/QMK_BLOK/configs/config.h b/platforms/chibios/boards/QMK_BLOK/configs/config.h
index 168afb1fc4..834dc497d3 100644
--- a/platforms/chibios/boards/QMK_BLOK/configs/config.h
+++ b/platforms/chibios/boards/QMK_BLOK/configs/config.h
@@ -3,6 +3,10 @@
#pragma once
+/**======================
+ ** I2C Driver
+ *========================**/
+
#ifndef I2C_DRIVER
# define I2C_DRIVER I2CD0
#endif
@@ -13,6 +17,26 @@
# define I2C1_SCL_PIN D0
#endif
+/**======================
+ ** UART Driver
+ *========================**/
+
+#ifndef UART_DRIVER
+# define UART_DRIVER SIOD0
+#endif
+
+#ifndef UART_TX_PIN
+# define UART_TX_PIN D3
+#endif
+
+#ifndef UART_RX_PIN
+# define UART_RX_PIN D2
+#endif
+
+/**======================
+ ** Double-tap
+ *========================**/
+
#ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET
# define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#endif