diff --git a/cpu/native/Makefile.dep b/cpu/native/Makefile.dep index 5563226643..a1afcf7088 100644 --- a/cpu/native/Makefile.dep +++ b/cpu/native/Makefile.dep @@ -4,3 +4,8 @@ endif ifeq (,$(filter stdio_%,$(USEMODULE))) USEMODULE += stdio_native endif + +USEMODULE += periph + +# UART is needed by startup.c +USEMODULE += periph_uart diff --git a/cpu/native/Makefile.include b/cpu/native/Makefile.include index f2abf40848..641cb6fc7e 100644 --- a/cpu/native/Makefile.include +++ b/cpu/native/Makefile.include @@ -5,7 +5,4 @@ ifeq ($(BUILDOSXNATIVE),1) NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra endif -USEMODULE += periph -USEMODULE += periph_uart - TOOLCHAINS_SUPPORTED = gnu llvm afl