Fixed WINDOWS.md

pull/72/head
Benjamin Runnels 9 years ago
parent ed9b11186c
commit 8a93a5eebe
  1. 19
      WINDOWS.md

@ -1,13 +1,14 @@
* Install [SourceTree](https://www.sourcetreeapp.com) and check CLI git or other git distribution to do git from CLI * Install [SourceTree](https://www.sourcetreeapp.com) and check CLI git or other git distribution to obtain git from CLI
* Install and latest Java * Install the latest Java JRE
* Install Python 2.7 to C:\Python27 * Install Python 2.7 to C:\Python27
* Install link shell extension from [here](http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html) * Install link shell extension from [here](http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html)
* Download and install the [Windows Unofficial Development Kit for Espressif ESP8266](http://programs74.ru/get.php?file=EspressifESP8266DevKit) to c:\espressif * Download and install the [Windows Unofficial Development Kit for Espressif ESP8266](http://programs74.ru/get.php?file=EspressifESP8266DevKit) to c:\espressif
* Create a symbolic link for java/bin and git/bin directories under C:\espressif\git-bin and C:\espressif\java-bin. You have to do it like that because make doesn't like the full path with program files(x86). You can see all the expected paths in the [espmake.cmd](https://github.com/jeelabs/esp-link/blob/master/espmake.cmd) * Create a symbolic link for java/bin and git/bin directories under C:\espressif\git-bin and C:\espressif\java-bin. You must do this because "make" doesn't work properly with paths like "program files(x86)". You can see all the expected paths in the [espmake.cmd](https://github.com/jeelabs/esp-link/blob/master/espmake.cmd)
* [Download](http://sourceforge.net/projects/mingw/files/Installer/) and install MinGW. Run mingw-get-setup.exe, the installation process to select without GUI, ie uncheck "... also install support for the graphical user interface". * [Download](http://sourceforge.net/projects/mingw/files/Installer/) and install MinGW. Run mingw-get-setup.exe. During the installation process select without GUI. (uncheck "... also install support for the graphical user interface")
* [Download](http://programs74.ru/get.php?file=EspressifESP8266DevKitAddon) the scripts to automate the installation of additional modules for MinGW. * [Download](http://programs74.ru/get.php?file=EspressifESP8266DevKitAddon) the scripts to automate the installation of additional modules for MinGW.
* Run install-mingw-package.bat. This will establish the basic modules for MinGW. Installation should proceed without error. * Run install-mingw-package.bat. This will install the basic modules required for MinGW to build esp8266.
* Checkout esp-link under C:\espressif\esp-link * Checkout esp-link from git to C:\espressif\esp-link
* espmake.cmd "make all wiflash" * When you're done open a command prompt and run: espmake.cmd "make all wiflash"
* new flash over serial then is espmake.cmd "make all flash" * For a new flash over serial use: espmake.cmd "make all flash"
* if you want to program with serial but not loose your config each time espmake.cmd "make all baseflash" * If you want to program with serial but not loose your config each time use: espmake.cmd "make all baseflash"
* You can open the esp-link.sln file in Visual Studio 2013. "Build Solution" will issue "make all wiflash". "Clean Solution" will issue "make clean". "Rebuild Solution" will issue "make clean all". This can be changed under solution properties -> Configuration Properties -> NMake
Loading…
Cancel
Save