#nrf52840 #hal #arm #cortex-m

no-std particle-xenon

Board support crate for the Particle Xenon device

1 unstable release

0.0.1 Aug 17, 2019

#7 in #nrf52840

MIT/Apache

11KB
213 lines

particle

Rust board support packages for 3rd-generation Particle hardware.

Boards

  • Xenon - particle-xenon
  • Argon - Not yet supported
  • Boron - Not yet supported

Status

This crate was made to scratch an itch, and I only own the Xenon board. As such, contributions are welcome for the other 3rd-gen Particle IOT products.

So far, I’ve gotten the blinky example to run. The plan is to use the particle-xenon crate as the basis for an embedded project, so stay tuned.

Peripherals not yet supported, but on the horizon:

  • USB device
  • Bluetooth radio

Quickstart

Included is a shell.nix file for easily setting up a development environment using Nix. Simply run

nix-shell

to enter the environment. Otherwise, check dev-deps.nix for the list of needed packages.

Once set up, the bobbin tool can be used to manage the device and run the example. This has been tested with the official Particle Debugger, but should work with any CMSIS-DAP-capable debug adapter.

# This should blink the onboard LED quickly
bobbin run --example blinky

See bobbin help for more options.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~8.5MB
~235K SLoC