Skip to content

OLIMEX/ESP8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 2, 2024
c8eb5c0 · Jul 2, 2024
May 1, 2017
Jul 2, 2024
Jan 29, 2015
Sep 2, 2021
Nov 11, 2015
Nov 8, 2016
Mar 19, 2015
Jul 14, 2015
May 15, 2015
Jan 30, 2015
Sep 11, 2018
Dec 16, 2015

Repository files navigation

README

These apps accomplish the following:

-- ESP8266-EVB-blinkLED : Blink by green LED on ESP8266-EVB

-- arduino_style :

-- esphttpd : Advanced web-server for ESP8266-EVB (Config, Rele, Button).

Build toolchain

https://github.com/pfalcon/esp-open-sdk is easy to use, it basically does all on its own.

  • Clone the repository to /opt/Espressif (or somewhere else, this path seems to be preferred by some people)
  • Install dependencies: sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf flex bison texinfo gawk ncurses-dev libexpat-dev python sed
  • make, wait a few minutes, done.
  • Add export PATH="${PATH}:/opt/Espressif/xtensa-lx106-elf/bin to your .bashrc, .profile, .zshrc, whatever. Or just run it every time you want to use the toolchain.

In some versions of the SDK there seems to be a problem with some type definitions. If you have problems compiling with errors that some types are not defined try opening xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/c_types.h and replace #if 0 near the top with #if 1.

Get esptool

Some projects use esptool, which is something completely different as esptool.py and which is not installed by esp-open-sdk. You can get esptool here:

or here: