summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-24 16:23:36 +1000
committerDamien George <damien.p.george@gmail.com>2018-04-24 16:23:36 +1000
commitb73adcc3d90da7fd2a66b76161b661a603403506 (patch)
treec3983ba47e4bf81812afa62203befd3bbd37d6a1
parent8b91260169e03a530c956da2e64ab8d4fdf6f5f7 (diff)
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.
-rw-r--r--ports/stm32/Makefile2
-rw-r--r--ports/stm32/pyb_i2c.c (renamed from ports/stm32/i2c.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile
index 0e7f7f71a..4e185b794 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
index 6c135b3a5..6c135b3a5 100644
--- a/ports/stm32/i2c.c
+++ b/ports/stm32/pyb_i2c.c