diff --git a/cpu/esp_common/Makefile.dep b/cpu/esp_common/Makefile.dep index d307a61a85..166114e185 100644 --- a/cpu/esp_common/Makefile.dep +++ b/cpu/esp_common/Makefile.dep @@ -13,7 +13,11 @@ USEMODULE += periph_hwrng USEMODULE += periph_flash USEMODULE += periph_uart USEMODULE += random -USEMODULE += stdio_uart + +ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE))) + USEMODULE += stdio_uart +endif + USEMODULE += xtensa # Features used by ESP*