I currently use Arduino IDE to generate binaries for ESP8266. Afterwards I copy the binaries with SFTP to my Raspberry Pi and flash the binaries using esptool.py.

These are lots of steps I need to do manually. Is it possible to automate this and use the Raspberry Pi as a programmer known to the Arduino IDE?

The goal is, that the "Upload" button in Arduino IDE does the full job.

  • 1
    I think the closest you will get is running the IDE on the Pi, which is probably not an improvement over your current method (particularly if it is headless). WRT sftp, it is pretty clunky, people who code remotely would more commonly using sshfs (or NFS, or something along these lines): raspberrypi.stackexchange.com/q/36398/5538 This makes everything more transparent, although you would still have to run esptool.py on the Pi. – goldilocks Dec 28 '16 at 18:07
  • With an FTDI buddy or the like and a simple breadboard circuit you can program direct from the arduino. – Steve Robillard Dec 28 '16 at 18:18
  • @SteveRobillard I don't see an Arduino in this photograph ;) The IDE can be used with the ESP8266 directly, which is what the OP is presumably doing. It just uses a different back end. – goldilocks Dec 28 '16 at 18:30
  • @goldilocks Arduino as in the IDE the FTDI buddy acts as the programmer to the esp8266 – Steve Robillard Dec 28 '16 at 18:58
  • Would the OTA update code for the ESP8266 do what you want? – bobstro Sep 26 '17 at 16:48

Take a look at the Oak which has the esp8266 at the heart of it. Arduino can program direct via particle and also there is the particle online ide to program direct to the Oak.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.