LWiP debug output not working...
hoping someone might be able to help....
Im trying to enable debug output from LWIP , but having troubles. Im working with the NucleoF767ZI board, but I dont imagine this issue is specific.
I’ve setup a project via CubeMX, imported into SW4STM32 and things are starting to look OK, RTOS is up and running, LWIP appears on the network so is up an running also. Now I’d like to enable some debug out from LWIP.
printf has been rerouted to UART3 for debug via the virtual COM. From what I learned it should be able to use the printf when enabled and output some debug.
in the lwipopts.h I added code to enable it ;
- define LWIP_DEBUG 1
- define ETHARP_DEBUG LWIP_DBG_ON
- define NETIF_DEBUG LWIP_DBG_ON
- define ICMP_DEBUG LWIP_DBG_ON
- define IP_DEBUG LWIP_DBG_ON
No luck so far with this, I have to be missing something here... let me know any ideas please