Skip to content

Firmware libraries for running Rust on Particle devices (feature/rust branch)

License

Notifications You must be signed in to change notification settings

zsup/firmware-rust

 
 

Repository files navigation

Build Status

This repository is a starting point for incorporating Rust as a supported language for writing firmware applications on Particle devices (Core, Photon, and Electron).

Once this repository has been built out and has some level of stability, it will be merged into the Particle firmware repo.

Getting started

$ rustc -v --version
rustc 1.7.0-nightly (4405944b9 2016-01-11)
binary: rustc
commit-hash: 4405944b9414d9d39d98c988c420b77e93acba96
commit-date: 2016-01-11
host: x86_64-apple-darwin
release: 1.7.0-nightly
cd build/arm/rust
./build-core.sh <path-to-rust-repo>
  • Build and flash the system modules (Photon/Electron)
  • Build the default app (rust blinky) just as you normally would
cd main
make PLATFORM=photon all program-dfu

Project status

This project is currently a proof of concept. We are seeking contributors and a maintainer to drive this project forward, with heavy support from the Particle team. If you are interested in joining as a contributors or taking on the role of maintainer, please join the discussion on our forums.

CREDITS AND ATTRIBUTIONS

The firmware uses the GNU GCC toolchain for ARM Cortex-M processors, ARM's CMSIS libraries, STM32 standard peripheral libraries and Arduino's implementation of Wiring.

On the Core: TI's CC3000 host driver libraries, On the photon: Broadcom's WICED WiFi SDK.

LICENSE

Unless stated elsewhere, file headers or otherwise, all files herein are licensed under an LGPLv3 license. For more information, please read the LICENSE file.

CONTRIBUTE

If you are interested in joining as a contributors or taking on the role of maintainer, please join the discussion on our forums.

CONNECT

Having problems or have awesome suggestions? Connect with us here.

About

Firmware libraries for running Rust on Particle devices (feature/rust branch)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.3%
  • C++ 17.8%
  • Shell 1.2%
  • Makefile 0.9%
  • Perl 0.2%
  • HTML 0.2%
  • Other 0.4%