Closed eliasbakken closed 9 months ago
To clarify, I2C is supported, but:
In order to get this working without too many changes, I suggest we enable it for the A7 which has 32 KB of flash instead of 16 KB. It should be possible to change the flash size in the config for Klipper, enable i2ccmds.c and add a second .bin file to /opt/firmware that can in turn be flashed during the first boot. The flash-stm32 script can determine if we have an A7 and flash with 32 KB version or A6 and earlier and flash with 16 KB version.
Merged in master
There is peripheral support for I2C on the STM32F031 and the pins have been broken out on the MCU header. But the Klipper code does not yet support I2C. This should be added.