Fix and improve sockets unit test and unit test sys_arch (with a little help of tcpip.c)

This commit is contained in:
goldsimon
2017-03-16 22:49:38 +01:00
parent 8313c4d870
commit fc47f846ed
6 changed files with 170 additions and 54 deletions

View File

@@ -64,9 +64,5 @@ typedef u32_t sys_thread_t;
typedef int (*test_sys_arch_waiting_fn)(void* wait_element);
void test_sys_arch_wait_callback(test_sys_arch_waiting_fn waiting_fn);
/* no multithreading supported: define to nothing */
#define LOCK_TCPIP_CORE()
#define UNLOCK_TCPIP_CORE()
#endif /* LWIP_HDR_TEST_SYS_ARCH_H */