aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/chibios/chibios_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/chibios/chibios_config.h')
-rw-r--r--tmk_core/common/chibios/chibios_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/chibios_config.h b/tmk_core/common/chibios/chibios_config.h
index 272529608..1dd979f6a 100644
--- a/tmk_core/common/chibios/chibios_config.h
+++ b/tmk_core/common/chibios/chibios_config.h
@@ -22,3 +22,10 @@
#if defined(STM32F1XX) || defined(STM32F2XX) || defined(STM32F4XX) || defined(STM32L1XX)
# define USE_I2CV1
#endif
+
+// teensy
+#if defined(K20x) || defined(KL2x)
+# define USE_I2CV1
+# define USE_I2CV1_CONTRIB // for some reason a bunch of ChibiOS-Contrib boards only have clock_speed
+# define USE_GPIOV1
+#endif