|
From: | Akshat Bisht |
Subject: | Re: [lwip-users] Size of Mailbox |
Date: | Mon, 18 Aug 2008 16:21:00 +0530 |
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 mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |