Skip to content

Commit e25ad86

Browse files
authored
mock: +hexdump() from debug.cpp (#7789)
1 parent 51c2a14 commit e25ad86

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: tests/host/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ ARDUINO_LIBS := \
301301
base64.cpp \
302302
LwipIntf.cpp \
303303
LwipIntfCB.cpp \
304+
debug.cpp \
304305
) \
305306
$(addprefix $(abspath ../../libraries/ESP8266WiFi/src)/,\
306307
ESP8266WiFi.cpp \

Diff for: tests/host/common/mock.h

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ uint32_t esp_get_cycle_count();
9999
#ifdef __cplusplus
100100
extern "C" {
101101
#endif
102+
#include <osapi.h>
102103
int ets_printf (const char* fmt, ...) __attribute__ ((format (printf, 1, 2)));
103104
#define os_printf_plus printf
104105
#define ets_vsnprintf vsnprintf

0 commit comments

Comments
 (0)