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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users




_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to