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