Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xmc-rs/xmc4200

Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
https://github.com/xmc-rs/xmc4200

cortex-m infineon rust-lang svd2rust xmc

Last synced: 9 days ago
JSON representation

Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust

Awesome Lists containing this project

README

        

# xmc4200

> THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

[![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200)
[![rust](https://github.com/xmc-rs/xmc4200/workflows/Rust/badge.svg)](https://github.com/xmc-rs/xmc4200/workflows/Rust/badge.svg)

This is a 'peripheral access crate' for interfacing to the XMC4200 series of microcontrollers for embedded support in Rust that is generated using [svd2rust](https://docs.rs/svd2rust) and an SVD file provided by Infineon.

The features of `rt` and `critical-section` have been enabled by default.

All API's and usage (besides what registers exist) are defined by [svd2rust](https://docs.rs/svd2rust)

## Generate Crate from SVD

```bash
# Necessary 3rd-party tools
cargo install svd2rust
cargo install form
rustup component add rustfmt

svd.sh # Generates code from crate and formats to rustfmt
```