Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days ago
JSON representation
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
- Host: GitHub
- URL: https://github.com/xmc-rs/xmc4200
- Owner: xmc-rs
- License: mit
- Created: 2017-10-02T03:32:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T05:28:19.000Z (about 1 month ago)
- Last Synced: 2024-11-24T13:36:49.385Z (18 days ago)
- Topics: cortex-m, infineon, rust-lang, svd2rust, xmc
- Language: Rust
- Size: 6.69 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- rust-embedded - `xmc4200` - [![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
- awesome-embedded-rust - `xmc4200` - [![crates.io](https://img.shields.io/crates/v/xmc4200.svg)](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
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 rustfmtsvd.sh # Generates code from crate and formats to rustfmt
```