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