5 releases (3 breaking)
Uses old Rust 2015
0.5.0 | Jul 28, 2017 |
---|---|
0.4.0 | Jun 19, 2017 |
0.3.0 | Jun 19, 2017 |
0.2.1 | Jun 15, 2017 |
0.2.0 | Jun 14, 2017 |
#21 in #pwm
46KB
707 lines
libbeaglebone
libbeaglebone
is a WIP Rust library that aims to provide a friendly interface for common embedded functionality for the BeagleBone family of devices.
Features
libbeaglebone will be feature-complete when the following interfaces are all implemented:
- GPIO
- PWM
- ADC
- UART
- SPI
- I2C
Note: libbeaglebone
is still in development meaning many of the features haven't yet been implemented.
Usage
Simply add libbeaglebone = "0.5.0"
under [dependencies]
in your Cargo.toml
and you're all set.
Examples
There are example programs available in the examples/
directory.
You can compile them by running:
cargo build --example blinker
substituting blinker
for the filename of the example you'd like to compile.
Once compilation is complete, you can find the binary in the target/debug/examples
directory.
Acknowlegements
I'd like to thank (in no particular order):
- Trevor Woerner for his mentoring
- The BeagleBoard organization for their help
- Google for their sponsorship of the project
License
libbeaglebone
is licensed under version 3 of the GPL license.
See also
Dependencies
~4.5–9.5MB
~111K SLoC