Skip to content

Commit

Permalink
prepare release for BSP
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Oct 1, 2024
1 parent 1ca319b commit 9a770c7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
13 changes: 13 additions & 0 deletions vorago-peb1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Change Log
=======

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

# [unreleased]

# [v0.1.0] 2024-10-01

- Initial release
3 changes: 0 additions & 3 deletions vorago-peb1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ features = ["va41630"]
version = ">=0.3, <0.4"

[dependencies.lis2dh12]
git = "https://github.com/us-irs/lis2dh12.git"
# path = "../../lis2dh12"
branch = "all-features"
version = "0.7"
features = ["out_f32"]

Expand Down
15 changes: 6 additions & 9 deletions vorago-peb1/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Rust BSP for the Vorago PEB1 development board

## Using the `.cargo/config.toml` file
[![Crates.io](https://img.shields.io/crates/v/vorago-peb1)](https://crates.io/crates/vorago-peb1)
[![docs.rs](https://img.shields.io/docsrs/vorago-peb1)](https://docs.rs/vorago-peb1)

Use the following command to have a starting `config.toml` file
# Rust BSP for the Vorago PEB1 development board

```sh
cp .cargo/def-config.toml .cargo/config.toml
```
This is the Rust **B**oard **S**upport **P**ackage crate for the Vorago PEB1 development board.
Its aim is to provide drivers for the board features of the PEB1 board.

You then can adapt the `config.toml` to your needs. For example, you can configure runners
to conveniently flash with `cargo run`.
The BSP builds on top of the [HAL crate for VA416xx devices](https://egit.irs.uni-stuttgart.de/rust/va416xx-rs/src/branch/main/va416xx-hal).

## Notes on board revisions

Expand Down
4 changes: 4 additions & 0 deletions vorago-peb1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
pub use lis2dh12;

/// Support for the LIS2DH12 accelerometer on the GPIO board.
///
/// # Example
///
/// - [PEB1 Accelerometer](https://egit.irs.uni-stuttgart.de/rust/va416xx-rs/src/branch/main/examples/simple/examples/peb1-accelerometer.rs)
pub mod accelerometer {

use lis2dh12::{self, detect_i2c_addr, AddrDetectionError, Lis2dh12};
Expand Down

0 comments on commit 9a770c7

Please sign in to comment.