martin-ger / lwip_nat_arduino

lwip library with NAT feature for Arduino environment
59 stars 20 forks source link

How to setup in PlatformIO IDE #3

Open parthagorai opened 5 years ago

parthagorai commented 5 years ago

Hi, please guide how did I set up this in PlatformIO

martin-ger commented 5 years ago

Sorry, havn't installed that. Guess you can replace the liblwip.a (just added the binary to the repo) somewhere and also the lwip/include directory. But I havn't tested that...

HelloDB commented 5 years ago

@Microinstance @martin-ger hi! It's easy on platformio, just put it in the lib folder. Thanks for a great library. 微信截图_20190513054416 微信截图_20190513054508 微信截图_20190513060106

irwanayeah commented 5 years ago

great, I have success following step by step. thx guys

Syavne commented 4 years ago

In case someone uses only the terminal and not the IDE (personal case), the library to replace is located in ~/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip so you have to do something like the following: $ mv ~/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip /.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip.bkp $ ln -s lwip_nat_arduino/lwip ~/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip

I figured it out a while after reading this page, thank you guys!.

Seyyed1404 commented 4 months ago

Can I use this example for esp32 in platformio arduino?