diff options
| author | Joel Challis <git@zvecr.com> | 2020-07-25 22:50:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-26 07:50:56 +1000 |
| commit | d91987ab9adbf7bba9f47deb6b30a02d28e7195d (patch) | |
| tree | 6356f4f6c167dd2b50dec84a5124418cb9d649fc /tmk_core | |
| parent | db540e2832b0d3bed6ae2ca3a2c893d9c79a7f5d (diff) | |
| download | qmk_firmware-d91987ab9adbf7bba9f47deb6b30a02d28e7195d.tar.gz qmk_firmware-d91987ab9adbf7bba9f47deb6b30a02d28e7195d.zip | |
Enable OLED support for Teensy 3.2/LC (#7591)
* I2C_TIMEOUT is not defined on arm teensy
* Work round teensy having different ChibiOS config options
* Stash OLED conf files
* update comment
* update comment
* Remove stm32 alias to allow teensy alt mode
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/chibios/chibios_config.h | 7 |
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 @@ | |||
| 22 | #if defined(STM32F1XX) || defined(STM32F2XX) || defined(STM32F4XX) || defined(STM32L1XX) | 22 | #if defined(STM32F1XX) || defined(STM32F2XX) || defined(STM32F4XX) || defined(STM32L1XX) |
| 23 | # define USE_I2CV1 | 23 | # define USE_I2CV1 |
| 24 | #endif | 24 | #endif |
| 25 | |||
| 26 | // teensy | ||
| 27 | #if defined(K20x) || defined(KL2x) | ||
| 28 | # define USE_I2CV1 | ||
| 29 | # define USE_I2CV1_CONTRIB // for some reason a bunch of ChibiOS-Contrib boards only have clock_speed | ||
| 30 | # define USE_GPIOV1 | ||
| 31 | #endif | ||
