diff --git a/nrf5/Makefile b/nrf5/Makefile index 310b936331..e6e1c650bc 100644 --- a/nrf5/Makefile +++ b/nrf5/Makefile @@ -140,7 +140,6 @@ SRC_C += \ builtin_open.c \ modusocket.c \ modnetwork.c \ - rtc.c \ DRIVERS_SRC_C += $(addprefix modules/,\ display/moddisplay.c \ @@ -165,6 +164,7 @@ DRIVERS_SRC_C += $(addprefix modules/,\ machine/adc.c \ machine/pin.c \ machine/timer.c \ + machine/rtc.c \ ) #ifeq ($(SD), ) diff --git a/nrf5/rtc.c b/nrf5/modules/machine/rtc.c similarity index 100% rename from nrf5/rtc.c rename to nrf5/modules/machine/rtc.c diff --git a/nrf5/rtc.h b/nrf5/modules/machine/rtc.h similarity index 100% rename from nrf5/rtc.h rename to nrf5/modules/machine/rtc.h