-
-
Notifications
You must be signed in to change notification settings - Fork 345
Windows Quickstart
This is a package manger, like apt-get but for Windows. Offical website: https://chocolatey.org
Open an administrative cmd.exe command prompt and paste the text from the box below and press enter:
# Install Latest Chocolatey
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco sources add -name kireevco -source 'https://www.myget.org/f/kireevco-chocolatey/'
# Powershell - run as Administrator
choco install sming -y -source 'https://www.myget.org/f/kireevco-chocolatey/'
It will install automatically
- Java Runtime 8
- Eclipse C/C++ (source)
- Unofficial Espressif Development Kit for Windows (source)
- Mingw & required packages (source)
- Latest stable version of Sming (source)
- Spiffy (source)
If for some reason you don't want Eclipse, UDK, mingw and Environment configured just run:
choco install sming.core -y -source 'https://www.myget.org/f/kireevco-chocolatey/'
This will download latest examples and create desktop shortcut Sming Examples.
# Run as Administrator
choco install sming.examples -y -source 'https://www.myget.org/f/kireevco-chocolatey/'
You might want to configure your project before building. Edit Makefile-user.mk to the proper values
Make sure the MinGW make.exe is the only one in the path. This will correct most "make: *** No rule to make target" problems.
# should only show one make
where make.exe
C:\Tools\mingw64\msys\1.0\bin\make.exe
Fix the SDK 1.50 Problems
If you're seeing errors like "undefined reference to aes_wrap", here's the fix.
- Open C:\Espressif
- Rename ESP8266_SDK to ESP8266_SDK_150
- Rename ESP8266_SDK_130 to ESP8266_SDK
- Open Eclipse
- Find SmingFramework project
- Build
or
cd c:\tools\sming.core\Sming
make all
- Open Eclipse via "Sming Examples" Desktop link
- Find Basic_Blink project
- Build
Sming is very dynamic and updates are usually announced in gitter.
choco upgrade sming -y -source 'https://www.myget.org/F/kireevco-chocolatey/'
In case something is broken, this will overwrite current sming installation.
choco install sming -y -force -source 'https://www.myget.org/F/kireevco-chocolatey/'
We highly recommend using our Chocolatey package as it simplifies everything, but if you don't, make sure you configure your environment properly. Check out Manual installation