STM32CubeMX 5.6.0 doesn't generate LwIP IP Address Settings
I'm using STM32CubeMX to create a project for a NUCLEO-F746ZG with the LwIP middleware.
Unfortunately, the IP Address Settings (IP, Netmask, Gateway) don't show up in the code anymore. In MX_LWIP_Init() there's just
void MX_LWIP_Init(void) {
/* IP addresses initialization */
/* Initilialize the LwIP stack without RTOS */
lwip_init();
...without the actual address settings.
Before updating CubeMX the settings where done in between those two comments like this:
void MX_LWIP_Init(void) {
/* IP addresses initialization */
IP_ADDRESS[0] = 192;
IP_ADDRESS[1] = 168;
IP_ADDRESS[2] = 0;
IP_ADDRESS[3] = 2;
NETMASK_ADDRESS[0] = 255;
NETMASK_ADDRESS[1] = 255;
NETMASK_ADDRESS[2] = 255;
NETMASK_ADDRESS[3] = 0;
GATEWAY_ADDRESS[0] = 0;
GATEWAY_ADDRESS[1] = 0;
GATEWAY_ADDRESS[2] = 0;
GATEWAY_ADDRESS[3] = 0;
/* Initilialize the LwIP stack without RTOS */
lwip_init();
...I can't seem to find them anywhere else (they only show up in the .ioc file).
Am I missing something or is this a bug in CubeMX?
I'm using CubeMX 5.6.0 and the STM32F7 MCU package 1.16.0.
Thanks,
Thomas