Skip to content

Windows Manual Installation

Dmitry Kireev edited this page May 11, 2015 · 12 revisions

Please consider using a simple way of installing Sming via Chocolatey. If not, please make sure the following steps are taken:

1. Install Unofficial Development Kit
  1. Install Universial Development Kit.
  2. Install Java Runtime Environment.
  3. Install Eclipse Luna. Unpack the archive to c:\Eclipse
  4. Install MingGW. Run mingw-get-setup.exe. Add install support for the graphical user interface.
  5. Install additional modules for MinGW. Run install-mingw-package.bat
  6. Start the Eclipse Luna from the directory c:\Eclipse\eclipse.exe
  7. 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.
2. Set Environment Variables (requires Eclipse/cmd restart)

Windows System PATH variable should contain a path to mingw64\bin and mingw64\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:\tools\mingw64\bin;C:\tools\mingw64\msys\1.0\bin;%PATH%
3. Make sure to set SMING_HOME and ESP_HOME environment variables:
SETX SMING_HOME c:\tools\Sming\Sming
SETX ESP_HOME c:\Espressif

Please make sure there are no trailing slashes at the end of both paths.

Eclipse IDE variables

You can manually add variables into Eclipse IDE: Window > Preferences -> C/C++ > Build > Environment

It won't be accessible outside Eclipse IDE