Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ MOCK_CPP_FILES_COMMON := $(addprefix common/,\
WMath.cpp \
MockSerial.cpp \
MockTools.cpp \
MocklwIP.cpp \
)

MOCK_CPP_FILES := $(MOCK_CPP_FILES_COMMON) $(addprefix common/,\
Expand Down
15 changes: 15 additions & 0 deletions tests/host/common/MocklwIP.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#include <lwip/netif.h>

extern "C"
{

netif* netif_list = nullptr;

err_t dhcp_renew(struct netif *netif)
{
(void)netif;
return ERR_OK;
}

} // extern "C"