diff --git a/nrf5/Makefile b/nrf5/Makefile index 85353567bc..984281e4b2 100644 --- a/nrf5/Makefile +++ b/nrf5/Makefile @@ -128,7 +128,6 @@ endif SRC_C += \ main.c \ - modpyb.c \ mphalport.c \ help.c \ gccollect.c \ @@ -166,6 +165,7 @@ DRIVERS_SRC_C += $(addprefix modules/,\ network/modnetwork.c \ uos/moduos.c \ utime/modutime.c \ + pyb/modpyb.c \ ) #ifeq ($(SD), ) diff --git a/nrf5/modpyb.c b/nrf5/modules/pyb/modpyb.c similarity index 100% rename from nrf5/modpyb.c rename to nrf5/modules/pyb/modpyb.c