I am working with a STM32F767-NUCLEO board, rev. Z and I am running into a bit of trouble with the example project provided for lwip. Out of the box, I can run the program in debug mode and ping the address acquired via DHCP. The problem I'm having is that if I enforce the static IP address, I can no longer ping the board. Here's what I changed in the example code [app_ethernet.c]
// if (dhcp_supplied_address(netif))
// DHCP_state = DHCP_ADDRESS_ASSIGNED;
That results in the static IP of 192.168.0.10 being used. I can see the static IP address with my IP scanner, it claims to be "alive" but I get a timeout when I ping. Am I missing something as to why I can't connect with a static IP but can when it's dynamic?