From cb2d040726e84f778d18df3ed0eb8ad5e1026c2f Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 5 Feb 2017 00:00:42 +0100 Subject: [PATCH] nrf5/uart: Moving uart module into modules/machine to start converting it into machine module and not pyb. --- nrf5/Makefile | 2 +- nrf5/{ => modules/machine}/uart.c | 0 nrf5/{ => modules/machine}/uart.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename nrf5/{ => modules/machine}/uart.c (100%) rename nrf5/{ => modules/machine}/uart.h (100%) diff --git a/nrf5/Makefile b/nrf5/Makefile index cd7bad669a..9dde4f7756 100644 --- a/nrf5/Makefile +++ b/nrf5/Makefile @@ -130,7 +130,6 @@ SRC_C += \ modpyb.c \ led.c \ mphalport.c \ - uart.c \ spi.c \ pwm.c \ i2c.c \ @@ -165,6 +164,7 @@ DRIVERS_SRC_C += $(addprefix modules/,\ display/framebuffer.c \ graphic/draw.c \ machine/modmachine.c \ + machine/uart.c \ ) #ifeq ($(SD), ) diff --git a/nrf5/uart.c b/nrf5/modules/machine/uart.c similarity index 100% rename from nrf5/uart.c rename to nrf5/modules/machine/uart.c diff --git a/nrf5/uart.h b/nrf5/modules/machine/uart.h similarity index 100% rename from nrf5/uart.h rename to nrf5/modules/machine/uart.h