free-dmo / free-dmo-stm32

Endless freedom for D.MO 550 series label writer printer.
GNU General Public License v3.0
166 stars 33 forks source link

STM32F103C6T6 #15

Closed malebuffy closed 2 years ago

malebuffy commented 2 years ago

Hi since I have a STM32F103C6T6 around which is not compatible, I would be interested to know why? Is this a limitation of Hardware or just that the source is written to be compiled for the STM32F103C8T6?

malebuffy commented 2 years ago

I tried to create a new project with the CubeMX application and use the .ioc file and import it in a STM32F103C6x project. At first seems to work and code is generated, but after that I am kind of struggling. The main difference is that the CubeMX doesn't generate a .ioc file that has I2C2 defined, and it doesn't build.

Any idea what is happening?

malebuffy commented 2 years ago

So after further diging in, the STM32F103C6T6 has only one I2C channel and the code needs 2, so thats probably why this is not compatible.