diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 0e7f7f71af9da259f089ca63638df833e6140127..4e185b79486d1a3c293f1a133aa744bc9d812a42 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -216,7 +216,7 @@ SRC_C = \ pin_named_pins.c \ bufhelper.c \ dma.c \ - i2c.c \ + pyb_i2c.c \ spi.c \ qspi.c \ uart.c \ diff --git a/ports/stm32/i2c.c b/ports/stm32/pyb_i2c.c similarity index 100% rename from ports/stm32/i2c.c rename to ports/stm32/pyb_i2c.c