rp2040 0.1.0

Peripheral access API for rp2040 microcontrollers (generated using svd2rust)
Documentation

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.