#cortex-m #svd2rust #embedded #xmc4x #no-std

no-std xmc4800

XMC peripheral library for XMC4800 generated from SVD

5 releases (3 breaking)

0.6.0 Dec 30, 2022
0.5.0 Nov 22, 2021
0.4.0 Aug 28, 2020
0.2.1 Oct 20, 2019
0.2.0 Sep 17, 2019

#820 in Embedded development


Used in xmc4-hal

MIT license

12MB
370K SLoC

XMC4800

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESED

crates.io rust

This is a 'peripheral access crate' for interfacing to the XMC4800 series of microcontrollers for embedded support in Rust that is generated using svd2rust and an SVD file provided by Infineon.

There is an optional rt that can be utilized. An explanation of the feature is given by svd2rust

All API's and usage (besides what registers exist) are defined by svd2rust

Generate Crate from SVD

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

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

The inclusion of EtherCAT has been removed from src/lib.rs. This is due to an issue either with the SVD file or the generation of the code using svd2rust. There is no support at this time until a fix can be made. This has not been tested on hardware to ensure that nothing else has been impacted.

Using Crate

[dependencies.xmc4800]
version = "0.2.1"
features = ["rt"]

Dependencies