Open xobs opened 2 months ago
It looks like network_changed()
was split into network_changed_link_down()
and network_changed_link_up()
, and in fact network_changed()
was simply renamed to network_changed_link_up()
.
So this should be as simple as renaming the function.
As a workaround while this is getting fixed, you can add this to your CMakeLists.txt
:
idf_build_set_property(COMPILE_DEFINITIONS "dhcp_network_changed=dhcp_network_changed_link_up" APPEND)
Answers checklist.
IDF version.
v5.4-dev-3023-g3c99557eee
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
Previously,
CONFIG_LWIP_DHCP_RESTORE_LAST_IP
compiled just fine.What is the actual behavior?
As of tonight,
CONFIG_LWIP_DHCP_RESTORE_LAST_IP
fails to compile. This is because it invokes a macro defined as:However,
dhcp_network_changed()
no longer exists.Steps to reproduce.
CONFIG_LWIP_DHCP_RESTORE_LAST_IP
Build or installation Logs.