Windows¶
Wio is available for windows through NPM
and Scoop
.
Scoop¶
Scoop is a windows package manager. It downloads binaries like how linux package managers do. You can use scoop if you have powershell 13 or above. To install Scoop, type the following in powershell:
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
If you get an error you might need to change the execution policy (i.e. enable Powershell):
set-executionpolicy -s cu unrestricted
Now that you have scoop
, you can use it to install wio
:
scoop bucket add wio http://prose.io/#dhillondeep/wio-bucket.git
scoop install wio
NPM¶
NPM is a node package manager and can be downloaded using:
# using scoop
scoop install nodejs
If you do not want to use scoop, you can download NPM from their official website.
Now that you have NPM
installed, you can use it to install wio
:
npm install -g wio
Hurray! you have wio installed but wait there are few more things before you get started. You will have to install toolchain for the platform you are building. You will also have to install build tools used by wio
Wio build Tools¶
Wio uses cmake
and make
to compile the project. To install cmake
and make
:
# using scoop
scoop install cmake make
If you do not like scoop
or if you wany more information on how to install, check cmake website and make website. Note: Make sure to add both cmake and make to Environment PATH.
Platform toolchain¶
Atmel AVR toolchain¶
This toolchain is used to build any AVR project and must be installed:
- Download Core Arduino and install it. This will contains all the compilers and tools needed for building and uploading the binaries
- Go to Arduino install directory, ex:
C:\Program Files (x86)\Arduino
and from there go tohardware\tools\avr\bin
. Grab the whole path and add that to your environment PATH
Native toolchain¶
In order to develop C/C++ programs, you need to develop toolchain to compile and build those projects. For windows, most popular for them are MinGW
and Cygwin
. To install those, you can follow this tutorial or just google instructions.