2020-03-09 06:57 PM
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
Solved! Go to Solution.
2020-03-10 12:12 AM
Hello @Thomas Günzel
Thanks for your feedback , the fix will be available in the next CubeMX release
Best Regards,
Khouloud
2020-03-10 12:12 AM
Hello @Thomas Günzel
Thanks for your feedback , the fix will be available in the next CubeMX release
Best Regards,
Khouloud
2020-04-10 06:34 AM
2020-04-10 07:05 AM
Hello @PTiha ,
The fix will be available for the 6.0.0 MX version. The 5.6.1 is an exception version for the most critical bugs.
Best regards,
Khouloud
2020-04-11 02:45 AM
Thanks for the information!
When is the next big version (maybe 6.0) expected?
Best regards,
Peter