[Wi-Fire] Basic support in RIOT-OS


Recommended Posts

Hello everyone,

PIC32MX and PIC32MZ base support has been merged in RIOT-OS. In addition, basic support for the chipKIT Wifire has also been merged.

RIOT is a small operating systems for embedded devices with the following features:

  • Multi-threading support, with a full stack for each thread
  • Some POSIX compatibility
  • network stack with IPv6 support
  • Drivers for various sensors
  • And many other things

The current support for the chipKIT Wi-Fire is still very incomplete: only a small GPIO driver has been merged. I have written some drivers for SPI, I2C, Random Number Generator (available on my github repository) but it would help a lot if more people contribute: writing drivers for peripherals, reviewing & verifying pull requests, writing documentation in the wiki...

 

How to try RIOT-OS on the Wifire

If you are on Windows, follow the instructions on the wiki: https://github.com/RIOT-OS/RIOT/wiki/Build-RIOT-on-Windows-OS.

  1. Install the MIPS toolchain
  2. Set MIPS_ELF_ROOT environment variable to the MIPS toolchain directory
  3. export PATH=$PATH:$MIPS_ELF_ROOT/bin
  4. cd examples/hello-world
  5. make BOARD=pic32-wifire

The file to flash is bin/pic32-wifire/hello-world.hex. The UART output is configured as baudrate 9600, one stop, no parity bit.

Useful links:
  - RIOT repository: https://github.com/RIOT-OS/RIOT/
  - toolchain: https://community.imgtec.com/developers/mips/tools/codescape-mips-sdk/download-codescape-mips-sdk-essentials/


François

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now