mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-19 16:20:45 +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
f8bafcb298
commit
3db3811054
@ -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…
x
Reference in New Issue
Block a user