From b73adcc3d90da7fd2a66b76161b661a603403506 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 24 Apr 2018 16:23:36 +1000 Subject: [PATCH] stm32: Rename i2c.c to pyb_i2c.c. i2c.c implements the legacy pyb.I2C class so rename the file to make this explicit, and also to make room for an improved I2C driver. --- ports/stm32/Makefile | 2 +- ports/stm32/{i2c.c => pyb_i2c.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename ports/stm32/{i2c.c => pyb_i2c.c} (100%) diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 0e7f7f71af..4e185b7948 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