From 72c19a33e09d31304575daed4576b9b43c96c1c1 Mon Sep 17 00:00:00 2001 From: utzig Date: Mon, 1 Sep 2014 00:38:35 +0000 Subject: [PATCH] [KINETIS] Move I2C driver to LLD git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7220 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/K20x/platform.mk | 2 +- os/hal/ports/KINETIS/KL2x/platform.mk | 1 + os/hal/ports/KINETIS/{K20x => LLD}/i2c_lld.c | 0 os/hal/ports/KINETIS/{K20x => LLD}/i2c_lld.h | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename os/hal/ports/KINETIS/{K20x => LLD}/i2c_lld.c (100%) rename os/hal/ports/KINETIS/{K20x => LLD}/i2c_lld.h (100%) diff --git a/os/hal/ports/KINETIS/K20x/platform.mk b/os/hal/ports/KINETIS/K20x/platform.mk index 1052adc65..47fcb9dc3 100644 --- a/os/hal/ports/KINETIS/K20x/platform.mk +++ b/os/hal/ports/KINETIS/K20x/platform.mk @@ -4,7 +4,7 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/ports/common/ARMCMx/nvic.c \ ${CHIBIOS}/os/hal/ports/KINETIS/K20x/pal_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/K20x/serial_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/K20x/spi_lld.c \ - ${CHIBIOS}/os/hal/ports/KINETIS/K20x/i2c_lld.c \ + ${CHIBIOS}/os/hal/ports/KINETIS/LLD/i2c_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/LLD/ext_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/K20x/st_lld.c diff --git a/os/hal/ports/KINETIS/KL2x/platform.mk b/os/hal/ports/KINETIS/KL2x/platform.mk index 1c7e9296e..a1ab56885 100644 --- a/os/hal/ports/KINETIS/KL2x/platform.mk +++ b/os/hal/ports/KINETIS/KL2x/platform.mk @@ -3,6 +3,7 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/ports/common/ARMCMx/nvic.c \ ${CHIBIOS}/os/hal/ports/KINETIS/KL2x/hal_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/KL2x/pal_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/KL2x/serial_lld.c \ + ${CHIBIOS}/os/hal/ports/KINETIS/LLD/i2c_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/LLD/ext_lld.c \ ${CHIBIOS}/os/hal/ports/KINETIS/KL2x/st_lld.c diff --git a/os/hal/ports/KINETIS/K20x/i2c_lld.c b/os/hal/ports/KINETIS/LLD/i2c_lld.c similarity index 100% rename from os/hal/ports/KINETIS/K20x/i2c_lld.c rename to os/hal/ports/KINETIS/LLD/i2c_lld.c diff --git a/os/hal/ports/KINETIS/K20x/i2c_lld.h b/os/hal/ports/KINETIS/LLD/i2c_lld.h similarity index 100% rename from os/hal/ports/KINETIS/K20x/i2c_lld.h rename to os/hal/ports/KINETIS/LLD/i2c_lld.h