Giovanni wrote:Do demos require adjustments after implementing this change?
Definitely. Certainly the lwipopts.h file.
As an absolute minimum, LWIP_NETIF_API==1 is required as part of the fix to bug #729. And there may be other changes as part of a major version update.
The sample configuration file is the one that's currently working for me on an F429; so it should 'just work' on the Olimex E407 demo. I have also run my code on one of the 32F7XX family (32F767, probably) without any networking changes there.
The configuration file has no specific processor dependencies, so should work on the F107 as well (although I guess some memory-related allocations might need to be tightened up on a smaller processor).
There's also now a web server as an option within the lwip addons. IIRC very simple to enable; just two lines in main.c:
Code: Select all
#include "httpd.h"
// Add in main(), after lwip initialised
httpd_init(); // Initialise lwip-based web server