Skip to content

Commit

Permalink
prepare HAL release
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Jul 1, 2024
1 parent 3517fb6 commit 1bd3962
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 127 deletions.
38 changes: 0 additions & 38 deletions va416xx-hal/.cargo/config.toml

This file was deleted.

39 changes: 0 additions & 39 deletions va416xx-hal/.cargo/def-config.toml

This file was deleted.

4 changes: 2 additions & 2 deletions va416xx-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
authors = ["Robin Mueller <[email protected]>"]
edition = "2021"
description = "HAL for the Vorago VA416xx family of MCUs"
homepage = "https://egit.irs.uni-stuttgart.de/rust/va416xx-hal"
repository = "https://egit.irs.uni-stuttgart.de/rust/va416xx-hal"
homepage = "https://egit.irs.uni-stuttgart.de/rust/va416xx-rs"
repository = "https://egit.irs.uni-stuttgart.de/rust/va416xx-rs"
license = "Apache-2.0"
keywords = ["no-std", "hal", "cortex-m", "vorago", "va416xx"]
categories = ["embedded", "no-std", "hardware-support"]
Expand Down
9 changes: 2 additions & 7 deletions va416xx-hal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ raw PAC. This crate also implements traits specified by the
[embedded-hal](https://github.com/rust-embedded/embedded-hal) project, making it compatible with
various drivers in the embedded rust ecosystem.

## Supported Boards

The first way to use this HAL will probably be with the
[PEB1 development board](https://www.voragotech.com/products/peb1va416x0-development-kit).
The BSP provided for this board also contains instructions how to flash the board.

## Building

Building an application requires the `thumbv7em-none-eabihf` cross-compiler toolchain.
Expand Down Expand Up @@ -44,7 +38,8 @@ is contained within the
1. Set up your Rust cross-compiler if you have not done so yet. See more in the [build chapter](#Building)
2. Create a new binary crate with `cargo init`
3. To ensure that `cargo build` cross-compiles, it is recommended to create a `.cargo/config.toml`
file. A sample `.cargo/config.toml` file is provided in this repository as well
file. You can use [this](https://egit.irs.uni-stuttgart.de/rust/va416xx-rs/src/branch/main/.cargo/def-config.toml)
sample file as a starting point.
4. Copy the `memory.x` file into your project. This file contains information required by the linker.
5. Copy the `blinky.rs` file to the `src/main.rs` file in your binary crate
6. You need to add some dependencies to your `Cargo.toml` file
Expand Down
4 changes: 2 additions & 2 deletions va416xx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.2.0"
authors = ["Robin Mueller <[email protected]>"]
edition = "2021"
description = "PAC for the Vorago VA416xx family of MCUs"
homepage = "https://egit.irs.uni-stuttgart.de/rust/va416xx"
repository = "https://egit.irs.uni-stuttgart.de/rust/va416xx"
homepage = "https://egit.irs.uni-stuttgart.de/rust/va416xx-rs"
repository = "https://egit.irs.uni-stuttgart.de/rust/va416xx-rs"
license = "Apache-2.0"
keywords = ["no-std", "arm", "cortex-m", "vorago", "va416xx"]
categories = ["embedded", "no-std", "hardware-support"]
Expand Down
39 changes: 0 additions & 39 deletions vorago-peb1/.cargo/def-config.toml

This file was deleted.

0 comments on commit 1bd3962

Please sign in to comment.