diff --git a/tests/host/Makefile b/tests/host/Makefile index 65b36e7d66..57c4b2689a 100644 --- a/tests/host/Makefile +++ b/tests/host/Makefile @@ -301,6 +301,7 @@ ARDUINO_LIBS := \ base64.cpp \ LwipIntf.cpp \ LwipIntfCB.cpp \ + debug.cpp \ ) \ $(addprefix $(abspath ../../libraries/ESP8266WiFi/src)/,\ ESP8266WiFi.cpp \ diff --git a/tests/host/common/mock.h b/tests/host/common/mock.h index f96194a345..da58c889aa 100644 --- a/tests/host/common/mock.h +++ b/tests/host/common/mock.h @@ -99,6 +99,7 @@ uint32_t esp_get_cycle_count(); #ifdef __cplusplus extern "C" { #endif +#include int ets_printf (const char* fmt, ...) __attribute__ ((format (printf, 1, 2))); #define os_printf_plus printf #define ets_vsnprintf vsnprintf