I just received my ESP8266-12F from Electrodragon. I'm going to document the steps to use that thing on a GNU/Linux machine.
I just updated this page to add the Archlinux and correct some mistakes.
- Install the SDK
The SDK I used here is https://github.com/pfalcon/esp-open-sdk
The machine I used first was a Debian Sid. I did follow the same steps (except the package install part) and it worked exactly the same.
Change regarding their README, unrar is unrar-free
$ sudo apt-get install make autoconf automake libtool gcc g++ gperf \ flex bison texinfo gawk ncurses-dev libexpat-dev python python-serial sed \ git unzip unrar-free libtool-bin $ git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
I want a the more open version possible, so we separate the closed SDK from the open parts.
$ make STANDALONE=n
At this point I would recommend that you keep a backup of this whole toolchain. It is downloading a lot of stuff and if one gets abandonned, you will never be able to use this toolchain anymore in some years.
To use it:
$ export PATH=/home/$USER/Programmes/ESP/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
To link with the proprietary SDK if needed:
xtensa-lx106-elf-gcc -I/home/$USER/Programmes/ESP/esp-open-sdk/sdk/include -L/home/$USER/Programmes/ESP/esp-open-sdk/sdk/lib