Skip to content
hreintke edited this page Oct 22, 2015 · 54 revisions

Install Chocolatey

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

Add package repository

choco sources add -name kireevco -source 'https://www.myget.org/F/kireevco-chocolatey/'

Install Sming

# 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/'

Install Sming Examples (optional)

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/'

Configuration

You might want to configure your project before building. Edit Makefile-user.mk to the proper values

Build Sming Libarary

  1. Open Eclipse
  2. Find SmingFramework project
  3. Build

Build Basic_Blink

  1. Open Eclipse via "Sming Examples" Desktop link
  2. Find Basic_Blink project
  3. Build

Update Sming

Sming is very dynamic and updates are usually announced in gitter.

choco upgrade sming -y -source 'https://www.myget.org/F/kireevco-chocolatey/'

Force Reinstall Sming

In case something is broken, this will overwrite current sming installation.

choco install sming -y -force -source 'https://www.myget.org/F/kireevco-chocolatey/'

If you don't use 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