[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Size of Mailbox
From: |
rishi |
Subject: |
Re: [lwip-users] Size of Mailbox |
Date: |
Mon, 18 Aug 2008 06:26:44 -0400 (EDT) |
User-agent: |
SquirrelMail/1.4.10a |
In memp_init:memp.c add this line:
change this:
#if MEMP_STATS
for (i = 0; i < MEMP_MAX; ++i) {
printf("%d\t%d\t%s\n", memp_num[i],memp_sizes[i],memp_desc[i]);
lwip_stats.memp[i].used = lwip_stats.memp[i].max =
lwip_stats.memp[i].err = 0;
lwip_stats.memp[i].avail = memp_num[i];
}
#endif /* MEMP_STATS */
to this:
#if MEMP_STATS
for (i = 0; i < MEMP_MAX; ++i) {
LWIP_PLATFORM_DIAG(("%d\t%d\t%s\n", memp_num[i], memp_sizes[i],
memp_desc[i]));
lwip_stats.memp[i].used = lwip_stats.memp[i].max =
lwip_stats.memp[i].err = 0;
lwip_stats.memp[i].avail = memp_num[i];
}
#endif /* MEMP_STATS */
> Hello,
>
> I'm in the process of porting lwip to IAR's ARM workbench.
>
> I need to know what is the size of the mailboxes to be created (i.e.
> size/mail and max no of mails/mail box).
>
> Also do i need to change the values in opt.h? if yes, that are the typical
> values.
>
> Thanks a lot.
>
> AB
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
- [lwip-users] Size of Mailbox, Akshat Bisht, 2008/08/18
- Re: [lwip-users] Size of Mailbox,
rishi <=
- Re: [lwip-users] Size of Mailbox, Akshat Bisht, 2008/08/18
- Re: [lwip-users] Size of Mailbox, Rishi Khan, 2008/08/18
- Re: [lwip-users] Size of Mailbox, Akshat Bisht, 2008/08/18
- Re: [lwip-users] Size of Mailbox, Kieran Mansley, 2008/08/18
- Re: [lwip-users] Size of Mailbox, Rishi Khan, 2008/08/18
- Re: [lwip-users] Size of Mailbox, Akshat Bisht, 2008/08/18