This repository has been archived on 2024-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
bors[bot] 1f6b1333bc
Merge #11
11: Update to v0.1.1 with important bugfix r=robamu a=robamu

This PAC was generated using a patched version of svd2rust with
commit hash 43be074d21132c3a76780816010df592a3603874

It includes bugfix rust-embedded/svd2rust#549

Co-authored-by: Robin Mueller <robin.mueller.m@gmail.com>
2021-11-09 17:17:45 +00:00
.github cross-compile now in CI 2021-11-08 23:52:41 +01:00
src Important fix: Use bitmask everywhere now 2021-11-09 18:15:08 +01:00
svd Updated SVD file handling and README 2021-11-04 22:39:53 +01:00
.gitignore Added gitignore file 2021-11-04 22:37:48 +01:00
build.rs First building PAC version 2021-11-01 23:31:51 +01:00
Cargo.toml bumped revision for bugfix 2021-11-09 18:16:08 +01:00
CHANGELOG.md Merge #11 2021-11-09 17:17:45 +00:00
device.x added files generated from working (but faulty) SVD file 2021-10-29 09:49:48 +02:00
gen-helper.sh Updated SVD file handling and README 2021-11-04 22:39:53 +01:00
LICENSE-APACHE switched license to dual MIT or Apache 2.0 2021-11-02 20:47:04 +01:00
LICENSE-MIT switched license to dual MIT or Apache 2.0 2021-11-02 20:47:04 +01:00
README.md added crates IO badge 2021-11-06 01:37:29 +01:00

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.

Usage

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

[dependencies.va108xx]
version = "0.1.0"
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:

cd svd
svd patch va108xx-patch.yml

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