Closed vinhjaxt closed 3 years ago
Thanks for your contribution.
Hi @david-cermak , Here we go:
git clone https://github.com/espressif/ESP8266_RTOS_SDK.git
cd ESP8266_RTOS_SDK/examples/get-started/hello_world/
make menuconfig
--> Component config
--> LWIP
[*] Enable copy between Layer2 and Layer3 packets
[*] Enable IP forwarding
[*] Enable NAT (new/experimental) (NEW)
make
@vinhjaxt Would it help if you also enable IPv6 in menuconfig?
make menuconfig
--> Component config
--> LWIP
[*] CONFIG_LWIP_IPV6 -> 1
The trouble is that the changes you are proposing break IDF builds.
At
./src/include/lwip/ip4_addr.h
line51
:So I changed
ip_addr.u_addr.ip4.addr
toip_addr.addr
to fix the compile error on my esp8266 project.