Peripheral access crate (PAC) for the Vorago VA108xx family of MCUs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Robin Müller f626e33e72
simplify CI
2 years ago
.github simplify CI 2 years ago
automation only use check instead of build for CI/CD 2 years ago
src added missing cascade field 2 years ago
svd added missing cascade field 2 years ago
.gitignore Added gitignore file 2 years ago
CHANGELOG.md bump version to 0.2.4 2 years ago
Cargo.toml update repo and homepage links in manifest 2 years ago
LICENSE-APACHE switched license to dual MIT or Apache 2.0 2 years ago
NOTICE NOTICE Draft 2 years ago
README.md update HAL link 2 years ago
build.rs First building PAC version 2 years ago
device.x added files generated from working (but faulty) SVD file 2 years ago
gen-helper.sh Updated SVD file handling and README 2 years ago

README.md

Crates.io build docs.rs

PAC for the Vorago VA108xx microcontroller family

This repository contains the Peripheral Access Crate (PAC) for Voragos VA108xx series of Cortex-M0 based microcontrollers.

The crate was generated using svd2rust.

If you are interested in higher-level abstractions, it is recommended you visit the va108xx-hal HAL crate and the vorago-reb1 BSP crate which build on top of this PAC and provide application examples as well.

Usage

To use this crate, add this to your Cargo.toml

[dependencies.va108xx]
version = "<Most Recent Version>"
features = ["rt"]

The rt feature is optional and recommended. It brings in support for cortex-m-rt.

For full details on the autgenerated API, please see the svd2rust documentation.

Regenerating the PAC

The base file used by svd2rust is generated using the svdtools package and a YAML patch file. You can create the patched file by running this command after installing the Python svdtools package and the form tool with cargo install form:

cd svd
svd patch va108xx-patch.yml

After that, you can regenerate the PAC by running the gen-helper.sh helper script.