]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Parameterise STM32 I2C pin modes and timing parameters. (#5671)
authorNick Brassel <nick@tzarc.org>
Sat, 1 Jun 2019 23:04:09 +0000 (09:04 +1000)
committerDrashna Jaelre <drashna@live.com>
Sat, 1 Jun 2019 23:04:09 +0000 (16:04 -0700)
I2C timing parameters were seemingly set up for an STM32F303 target MCU, at a specific clock speed. This commit allows specifying the timing parameters via config.h, allowing other STM32 MCUs to be targeted, potentially at different clock frequencies.
Alternate function modes for the I2C pins are now also configurable, allowing for remapping to other pins.


No differences found