Using Eclipse with Arduino ESP8266

Setup Arduino

See theReadme

Setup Eclipse

  • step 1
  • step 2
  • go to Window –> preferences –> Arduino
  • add as private hardware path the Part to the ESP8266

example private hardware path

Windows:C:\Users\[username]\AppData\Roaming\Arduino15\packages\esp8266\hardwareLinux:/home/[username]/.arduino15/packages/esp8266/hardware

Eclipse wont build

if eclipse dont find the path to the Compiler add to the platform.txtafter:

version=1.6.4

this:

runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/../../../tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9runtime.tools.esptool.path={runtime.platform.path}/../../../tools/esptool/0.4.4

Note: - the path may changed, check the current version. - each updateover the Arduino IDE will remove the fix - may not needed in future ifEclipse Plugin get an Update