how to compile the liblwip.a in esp8266 sdk?

karlno
Posts: 6
Joined: Mon Dec 21, 2015 9:26 pm

how to compile the liblwip.a in esp8266 sdk?

Postby karlno » Tue Mar 29, 2016 11:24 am

I can get the source code from https://github.com/espressif/ESP8266_RTOS_SDK
But I can not sucess to compile it.

When into the example/project_template ,and compile it by gen_misc.sh, but can not sucess.
I have install xtensa-lx106-elf and set the SDK_PATH in gen_misc.sh file.

So where can find a course to tell me how make my project in ESP8266_RTOS_SDK by linux(ubunut)

And the another question is how to compile a lib in ESP8266_RTOS_SDK.
Because I want modify the lwip code,so I need make a new liblwip.a to replace the old one in ESP8266_RTOS_SDK.
And I open the dir third_party, make by command "make_lib.sh lwip",but I also not sucess to finish the compile work.
Where can find a course or case to help me ,but not the simple command in the page of https://github.com/espressif/ESP8266_RTOS_SDK

luisfer.rigoni
Posts: 6
Joined: Wed Mar 02, 2016 9:55 pm

Re: how to compile the liblwip.a in esp8266 sdk?

Postby luisfer.rigoni » Sat Apr 02, 2016 11:00 pm

Hi karlno,

I'm compiling with success liblwip.a (with same "make_lib.sh lwip") under Linux.
I suggest you look the steps in https://github.com/pfalcon/esp-open-sdk to prepare the toolchain (I use "make STANDALONE=y").

Take a look at viewtopic.php?f=66&t=1975&p=6303 to check a DHCP related error when you recompile liblwip.a.

Who is online

Users browsing this forum: No registered users and 238 guests