-
-
Notifications
You must be signed in to change notification settings - Fork 347
Windows Manual Installation
This is a DEPRECATED way of installing Sming. It will not be supported in the next versions.
Please consider using a simple way of installing Sming via Chocolatey. Package sources are available as well
If you still want to install it manually, please make sure the following steps are taken:
- Install Universial Development Kit.
- Install Java Runtime Environment.
- Install Eclipse Luna. Unpack the archive to
c:\Eclipse
- Install MingGW. Run mingw-get-setup.exe. Add install support for the graphical user interface. Install to
c:\MinGW
. - Install additional modules for MinGW. Run
install-mingw-package.bat
- Start the Eclipse Luna from the directory c:\Eclipse\eclipse.exe
- In Eclipse, select File -> Import -> General -> Existing Project into Workspace, in the line Select root directory, select the directory C:\Espressif\examples and import work projects. Further, the right to select the Make Target project, such as hello-world and run the target All the assembly, while in the console window should display the progress of the build. To select the target firmware flash.
C:\MinGW\bin\mingw-get install "msys-make"
mklink /d c:\Espressif\sdk c:\Espressif\ESP8266_SDK
Windows System PATH variable should contain a path to c:\mingw\bin
and c:\mingw\msys\1.0\bin
:
Make sure it is in this exact order. This step is also required for some old sming installations.
SETX PATH /M C:\mingw\bin;C:\mingw\msys\1.0\bin;%PATH%
SETX SMING_HOME c:\tools\Sming\Sming
SETX ESP_HOME c:\Espressif
git clone https://github.com/raburton/esptool2
### Download libwinpthread-1.dll from internet and copy to esptool2 directory and $(SMING_HOME)/spiffy directory
cd esptool2
make
cd $(SMING_HOME)/spiffy
make
Also make sure, mingw64/bin is path before cygwin bin in %PATH% environmental variable in windows.
You can manually add variables into Eclipse IDE: Window > Preferences -> C/C++ > Build > Environment
It won't be accessible outside Eclipse IDE