jonask1337 / esp-idf-nat-example

ESP-IDF example project with NAT setup.
83 stars 15 forks source link

arduino example #2

Open kotakomputer opened 5 years ago

kotakomputer commented 5 years ago

any example for arduino?

kotakomputer commented 5 years ago

include "lwip/lwip_napt.h"

include "lwip/app/dhcpserver.h"

> C:\Users\User\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1/tools/sdk/include/tcpip_adapter/tcpip_adapter.h:24:26: fatal error: lwip/ip_addr.h: No such file or directory
> 
> compilation terminated.

I see ip_addr.h located at C:\Users\User\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\tools\sdk\include\lwip\src\include\lwip\ip_addr.h

jonask1337 commented 5 years ago

Sorry, there is no example for arduino. At the moment this is only intended to be used with the ESP-IDF.