Start implementing unit tests for timers

This commit is contained in:
Dirk Ziegelmeier
2018-01-04 13:37:05 +01:00
parent 40fecab313
commit 756b7431a7
9 changed files with 116 additions and 7 deletions

View File

@@ -32,6 +32,8 @@
#ifndef LWIP_HDR_LWIPOPTS_H
#define LWIP_HDR_LWIPOPTS_H
#define LWIP_TESTMODE 1
#define LWIP_IPV6 1
/* We link to special sys_arch.c (for basic non-waiting API layers unit tests) */
@@ -65,7 +67,7 @@
/* Minimal changes to opt.h required for etharp unit tests: */
#define ETHARP_SUPPORT_STATIC_ENTRIES 1
#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL + 1)
#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL + 5)
/* MIB2 stats are required to check IPv4 reassembly results */
#define MIB2_STATS 1