rp2040

Crates.iorp2040
lib.rsrp2040
version0.1.0
sourcesrc
created_at2021-01-22 12:40:12.595048
updated_at2021-01-22 12:40:12.595048
descriptionPeripheral access API for rp2040 microcontrollers (generated using svd2rust)
homepagehttps://github.com/jannic/rp-microcontroller-rs/
repositoryhttps://github.com/jannic/rp-microcontroller-rs/
max_upload_size
id345302
size5,491,064
Jan Niehusmann (jannic)

documentation

README

rp2040

Peripheral access crate for the rp2040 microcontroller

This crate contains low-level register mappings for the rp2040 microcontroller. It's auto-generated from the svd file.

Usage

To generate the rust source code, some tools are necessary. Once they are installed, use generate.sh to call svd2rust and format the source code using form.

cargo install svd2rust
cargo install form
sh generate.sh

Afterwards, the crate can be compiled:

cargo build --target thumbv6m-none-eabi

License

The register definition file rp2040.svd was downloaded from the raspberrypi/pico-sdk repo. It is Copyright 2020 (c) 2020 Raspberry Pi (Trading) Ltd. and is licensed under the BSD-3-Clause License.

The rest of this repository is licensed under the terms of both the MIT license and the Apache License (Version 2.0), at your option.

Commit count: 50

cargo fmt