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
2 changes: 1 addition & 1 deletion tests/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ MOCK_CPP_FILES_EMU := $(MOCK_CPP_FILES_COMMON) $(addprefix common/,\
ArduinoMain.cpp \
ArduinoMainUdp.cpp \
ArduinoMainSpiffs.cpp \
ArduinoMainLittlefs.cpp \
user_interface.cpp \
)
#(not in tree) ArduinoMainLittlefs.cpp

MOCK_C_FILES := $(addprefix common/,\
md5.c \
Expand Down
6 changes: 6 additions & 0 deletions tests/host/common/Arduino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ extern "C" void delayMicroseconds(unsigned int us)
{
usleep(us);
}

#include "cont.h"
cont_t* g_pcont = NULL;
extern "C" void cont_yield(cont_t*)
{
}
4 changes: 2 additions & 2 deletions tests/host/common/ArduinoMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static struct option options[] =
void cleanup ()
{
mock_stop_spiffs();
mock_stop_littlefs();
// mock_stop_littlefs();
mock_stop_uart();
}

Expand Down Expand Up @@ -239,7 +239,7 @@ int main (int argc, char* const argv [])
name += "-littlefs";
name += String(littlefs_kb > 0? littlefs_kb: -littlefs_kb, DEC);
name += "KB";
mock_start_littlefs(name, littlefs_kb);
// mock_start_littlefs(name, littlefs_kb);
}

// setup global global_ipv4_netfmt
Expand Down