[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] memp.c with NO_SYS
From: |
robert |
Subject: |
RE: [lwip-users] memp.c with NO_SYS |
Date: |
Thu, 29 May 2008 13:33:15 -0400 (EDT) |
On Thu, 29 May 2008, Bill Auerbach wrote:
These sizes (the array initializer) are #included by memp.c in memp_std.h.
My memp_std.h has NO_SYS wrappers:
#if NO_SYS==0
LWIP_MEMPOOL(TCPIP_MSG_API, MEMP_NUM_TCPIP_MSG_API, sizeof(struct
tcpip_msg), "TCPIP_MSG_API")
LWIP_MEMPOOL(TCPIP_MSG_INPKT,MEMP_NUM_TCPIP_MSG_INPKT, sizeof(struct
tcpip_msg), "TCPIP_MSG_INPKT")
#endif /* NO_SYS==0 */
Thanks Bill, my memp_std.h has NO_SYS wrappers as well, but memp.c does
not. So the structure that causes the compile to fail is this one, in
memp.c
static const u16_t memp_sizes[MEMP_MAX] = {
sizeof(struct pbuf),
sizeof(struct raw_pcb),
sizeof(struct udp_pcb),
sizeof(struct tcp_pcb),
sizeof(struct tcp_pcb_listen),
sizeof(struct tcp_seg),
sizeof(struct netbuf),
sizeof(struct netconn),
sizeof(struct api_msg),
sizeof(struct tcpip_msg),
sizeof(struct sys_timeout)
};
Turning off LWIP_RAW causes a simpilar error for the "struct raw_pcb"
entry. Of course I could just be doing something silly here...:)
--
Best Regards,
Robert
Fighting SPAM with Active Spam Filter, see:
http://a-s-k.sourceforge.net/
- [lwip-users] TCP server app, using select, mick s, 2008/05/29
- RE: [lwip-users] TCP server app, using select, Muhamad Ikhwan Ismail, 2008/05/29
- [lwip-users] Re: TCP server app, using select, mick s, 2008/05/29
- [lwip-users] memp.c with NO_SYS, robert, 2008/05/29
- RE: [lwip-users] memp.c with NO_SYS, Bill Auerbach, 2008/05/29
- RE: [lwip-users] memp.c with NO_SYS, robert, 2008/05/29
- RE: [lwip-users] memp.c with NO_SYS, Bill Auerbach, 2008/05/29
- RE: [lwip-users] memp.c with NO_SYS,
robert <=
- RE: [lwip-users] memp.c with NO_SYS, Bill Auerbach, 2008/05/29
- RE: [lwip-users] memp.c with NO_SYS, robert, 2008/05/29