diff --git a/drivers/drivers.mk b/drivers/drivers.mk index 0a9af7d5..a71f568c 100644 --- a/drivers/drivers.mk +++ b/drivers/drivers.mk @@ -1,11 +1,11 @@ PROJ_ROOT := $(dir $(lastword $(MAKEFILE_LIST)))/../ CFLAGS += -I $(PROJ_ROOT)/drivers/device -CFLAGS += -I $(PROJ_ROOT)/drivers/serial CFLAGS += -I $(PROJ_ROOT)/drivers/periph +CFLAGS += -I $(PROJ_ROOT)/drivers/periph/serial -SRC += $(PROJ_ROOT)/drivers/serial/uart.c \ - $(PROJ_ROOT)/drivers/serial/console.c \ - $(PROJ_ROOT)/drivers/serial/mavlink.c \ - $(PROJ_ROOT)/drivers/serial/debug_link.c \ +SRC += $(PROJ_ROOT)/drivers/periph/serial/uart.c \ + $(PROJ_ROOT)/drivers/periph/serial/console.c \ + $(PROJ_ROOT)/drivers/periph/serial/mavlink.c \ + $(PROJ_ROOT)/drivers/periph/serial/debug_link.c \ $(PROJ_ROOT)/drivers/periph/pwm.c diff --git a/drivers/serial/console.c b/drivers/periph/serial/console.c similarity index 100% rename from drivers/serial/console.c rename to drivers/periph/serial/console.c diff --git a/drivers/serial/debug_link.c b/drivers/periph/serial/debug_link.c similarity index 100% rename from drivers/serial/debug_link.c rename to drivers/periph/serial/debug_link.c diff --git a/drivers/serial/mavlink.c b/drivers/periph/serial/mavlink.c similarity index 100% rename from drivers/serial/mavlink.c rename to drivers/periph/serial/mavlink.c diff --git a/drivers/serial/serial.h b/drivers/periph/serial/serial.h similarity index 100% rename from drivers/serial/serial.h rename to drivers/periph/serial/serial.h diff --git a/drivers/serial/uart.c b/drivers/periph/serial/uart.c similarity index 100% rename from drivers/serial/uart.c rename to drivers/periph/serial/uart.c diff --git a/drivers/serial/uart.h b/drivers/periph/serial/uart.h similarity index 100% rename from drivers/serial/uart.h rename to drivers/periph/serial/uart.h