In case, for example, you want to debug it.
- Make sure your
~/.platformio/packages/framework-arduinoespressif8266
is a git repository. You can rungit status
in that directory to find out. If it's not, remove the entire directory and rebuild you sketch. This will pull the stable granch from the official repository. All following paths are relative to this directory. - Install the toolchain:
cd tools && ./get.py
. - Edit LwIP2 source code which is under
sdk/lwip2/builder/lwip2-src
. If you just want to change the build options, editsdk/lwip2/builder/glue-lwip/arduino/lwipopts.h
accordingly. - Still in
tools
, cd tosdk/lwip2
. - Run
make install
.
The recompiled libraries end up in tools/sdk/lib
. They will be used the next time you build your sketch.