-->
Page 1 of 4

Best practise installing ESP8266 & ESP32 on Windows

PostPosted: Tue Mar 21, 2017 6:10 am
by schufti
Hi,

EDIT: new hassle free method w/o python here

For an easy maintainable Arduino-esp8266-ide I would do something like:

a) download:
recent Arduino-ide as .zip version (https://www.arduino.cc/en/Main/Software)
esp8266 arduino core as .zip (https://github.com/esp8266/Arduino/archive/master.zip)
esp32 arduino core as .zip (https://github.com/espressif/arduino-es ... master.zip)
and install python 2.7 (https://www.python.org/downloads/windows/)
b) unpack Arduino to suitable place (e.g. d:\, keep the version info if you like to have several versions)
c) create an empty directory "portable" in this directory
d) create directory "espressif" under "hardware"
e) unpack both core .zip to this directory (and rename to esp8266, esp32 if prefered)
f) in subdir "tool" of "esp8266" core execute "get.py", in subdir "tool" of "esp32" core execute "get.exe"
g) start arduino, you should now be able to see Esp8266/Esp32 devices under tools/boards

If later you want to update to newer .git version, just download the .zip again and copy its content to the existing directory.

this gives you the freedom of the location of your Arduino-ide, simplifies backups (all in one dir) and parallel versions, keeps your settings, all sketches and additional libs in one place (portable\sketchbook)

Re: Best practise installing ESP8266 & ESP32 on Windows

PostPosted: Sat Mar 25, 2017 4:30 am
by schufti
update: no python necessary, esp32 on XP

1) leave out downloading and installing python in a)
2) extract get.exe from attached archive and place in tools under esp8266 before f)
3) execute get.exe for both variants in f)
4) if you use esp32 on win-xp, you will need modified tools (esptool.exe, espfuse.exe, espsecure.exe)
extact them from attached archive and place in tools under esp32

Re: Best practise installing ESP8266 & ESP32 on Windows

PostPosted: Mon Apr 10, 2017 4:26 pm
by roachslayer
esp32 from github already contains a "get.exe". Should that be replaced with the one in the attached files here?

Re: Best practise installing ESP8266 & ESP32 on Windows

PostPosted: Tue Apr 11, 2017 3:05 pm
by schufti
Hi,

2) extract get.exe from attached archive and place in tools under esp8266 before f)

says to place the get.exe in esp8266 branch, not to replace anything in esp32.