mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too
This commit is contained in:
parent
86766f4e20
commit
fc7da615fb
@ -32,6 +32,11 @@
|
|||||||
#ifndef __LWIPOPTS_H__
|
#ifndef __LWIPOPTS_H__
|
||||||
#define __LWIPOPTS_H__
|
#define __LWIPOPTS_H__
|
||||||
|
|
||||||
|
/* Prevent having to link sys_arch.c (we don't test the API layers in unit tests) */
|
||||||
|
#define NO_SYS 1
|
||||||
|
#define LWIP_NETCONN 0
|
||||||
|
#define LWIP_SOCKET 0
|
||||||
|
|
||||||
/* Minimal changes to opt.h required for tcp unit tests: */
|
/* Minimal changes to opt.h required for tcp unit tests: */
|
||||||
#define MEM_SIZE 16000
|
#define MEM_SIZE 16000
|
||||||
#define TCP_SND_QUEUELEN 40
|
#define TCP_SND_QUEUELEN 40
|
||||||
|
Loading…
Reference in New Issue
Block a user