-->
Page 1 of 1

Cross Compile ESP8266 SDK Code for Linux

PostPosted: Wed Aug 12, 2015 10:26 am
by afnid
Definitely alpha code, but I run the networking with a udp listener, tcp listener, tcp clients, and udp broadcasts.

It proved useful for regression testing with valgrind and for certain types of testing before flashing.

Many calls are just stubbed out to get it to link and run with the essentials so mileage will vary.

https://github.com/afnid/espsim

Let me know if you get it to work, find it useful, or would like to contribute any changes.

Re: Cross Compile ESP8266 SDK Code for Linux

PostPosted: Thu Aug 13, 2015 4:32 pm
by afnid
I received some questions, to be clear, this is for creating a linux native 32-bit executable vs what you typically do is create an exp8266 native file using the xtensa cross-compiler.

That allows you to run a Linux process and use any Linux based tools like gdb or valgrind to catch pointer/memory problems, the next best thing to having an embedded debugger.