2 releases
0.1.0 |
|
---|---|
0.0.2 | Jan 11, 2024 |
0.0.1 | Jan 11, 2024 |
#954 in Embedded development
28KB
391 lines
Calliope Board Support Crate
This project should become a board support crate for the Calliope mini single board computer.
At current, it is very beta!
As of now, the code is only tested with a Calliope mini 1.0 due to hardware availability.
The Calliope mini 1.0 is very similar to the Microbit v1.3, uses the same Nordic nRF51822 processor and has some similarities in the schematic. Some code, especially for the 25 LEDs works on both boards.
Therefore, we will take over some code from the microbit board support crate and examples from the rust discovery book.
Warning: I'm still learning embedded Rust and HAL design, so none of this looks good yet!
Here is the state of the supported hardware:
Peripheral | State |
---|---|
RTT | Works |
Leds | Techdemo |
WS2812b (RGB LED) | Techdemo |
BMX055 (I2C gyroscope, accelerometer and magnetometer) | Techdemo |
Speaker | Techdemo |
Microphone | No operation |
Touch input | No operation |
Buttons | No operation |
Radio | No operation |
Analog input | No operation |
Repositories
ToDo
- Improve many things
- Demos are bypassing the board support crates functions
- Bring microphone to operation
- Bring buttons to operation
- Bring analog input to operation
- Bring microphone to operation
- Bring touch input to operation
- Bring radio to operation
- Bring microphone to operation
References
References:
- https://calliope.cc
- https://crates.io/crates/nrf51-hal
- https://crates.io/crates/microbit
- https://docs.rust-embedded.org/discovery/microbit
Developer Setup:
Dependencies:
Furhter links:
Dependencies
~5.5MB
~134K SLoC