-
Notifications
You must be signed in to change notification settings - Fork 1
Build RIOT on Windows OS
This page documents a brief description about building RIOT on Windows OS. There is no special build trick for RIOT so default build system settings for arm cross compilers will be described for Windows Operating Systems.
1- Installing ARM GCC Toolchain
-
Download installer from here and start the installation.
-
Please select a path (Destination Folder) without spaces: e.g. "C:/armgcc"
-
Select "Add path to environment variable"
2- Installing MinGW and MSYS
- Download MINGW from here and start installation. Please select short paths without spaces for MinGW directory: e.g. c:\MinGW
![MinGW Path](http://i61.tinypic.com/1zbs27a.jpg)
- Select following items to install in MinGW Setup : mingw32-base, mingw32-gcc-g++, msys-base
![MINGW Items](http://i62.tinypic.com/b8oimp.jpg)
and also install Mintty for terminal emulation under "All Packages" : msys-mintty
![MINTTY](http://i59.tinypic.com/152nsee.jpg)
and now click "Apply Changes" under "Installation" Menu.
- Find mintty under "C:\MinGW\msys\1.0\bin" and create a Desktop shortcut. And right click on the desktop shortcut, select "Properties" and change target to "C:\MinGW\msys\1.0\bin\mintty.exe /bin/bash -l"
![MINTTY Target](http://i57.tinypic.com/3097p6d.jpg)
- Open MINTTY by clicking desktop shortcut and install updates by following command : mingw-get update
![MINGW Updates](http://i62.tinypic.com/x56qtj.jpg)
Install also following items in MINTTY by "**mingw-get install**" command: **msys-wget**, **msys-zlib**, **msys-unzip**
![MINGW Tools](http://i61.tinypic.com/dnewdw.jpg)
- Add following paths to Environment Variables : "C:\MinGW\bin", "C:\MinGW\msys\1.0\bin"
![Environment Variables](http://i62.tinypic.com/34xiyie.jpg)
3- Build environment is ready now. Build your RIOT application.
4- Flashing
- On some platforms RIOT uses OpenOCD for flashing the nodes. Although, OpenOCD does not support Windows officially, they do provide a link to some Windows binaries of their flashing tool. You can find the link at the OpenOCD homepage.
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: CC2538DK
- Board: CC2650STK
- Board: HikoB Fox
- Board: IoT LAB M3
- Board: LimiFrog-v1
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: Nucleo-L1
- Board: Nucleo-F334
- Board: Nucleo-F303
- Board: Nucleo-F091
- Board: Mulle
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: Phytec phyWAVE-KW22
- Board: RFduino
- Board: SAMR21-xpro
- Board: SAML21-xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: UDOO
- Board: yunjia-nrf51822
- Board: Zolertia remote
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo