Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update svdtools to version 0.3.1 and regenerate code #86

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

- Collect ADDR\_ENDP\* registers into an array
- Add `host_poll_interval` field to EP\_CONTROL registers
- add EPX\_CONTROL register to USBCTRL\_DPRAM
- Rebuild with svdtools 0.3.1

## [0.5.0] [Crates.io](https://crates.io/crates/rp2040-pac/0.5.0) [Github](https://github.com/rp-rs/rp2040-pac/releases/tag/v0.5.0)

- Rebuild with svd2rust 0.29.0, svdtools 0.3.0 (rust version)
Expand Down
12 changes: 4 additions & 8 deletions svd/rp2040.svd.patched
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<vendor>Raspberry Pi</vendor>
<name>RP2040</name>
<version>0.1</version>
<description>
Dual-core Arm Cortex-M0+ processor, flexible clock running up to 133 MHz\n
<description>Dual-core Arm Cortex-M0+ processor, flexible clock running up to 133 MHz\n
264KB on-chip SRAM\n
2 x UART, 2 x SPI controllers, 2 x I2C controllers, 16 x PWM channels\n
1 x USB 1.1 controller and PHY, with host and device support\n
Expand All @@ -15,13 +14,10 @@
Low-power sleep and dormant modes\n
Accurate on-chip clock\n
Temperature sensor\n
Accelerated integer and floating-point libraries on-chip
</description>
<licenseText>
Copyright (c) 2020 Raspberry Pi (Trading) Ltd.\n
Accelerated integer and floating-point libraries on-chip</description>
<licenseText>Copyright (c) 2020 Raspberry Pi (Trading) Ltd.\n
\n
SPDX-License-Identifier: BSD-3-Clause
</licenseText>
SPDX-License-Identifier: BSD-3-Clause</licenseText>
<cpu>
<name>CM0PLUS</name>
<revision>r0p1</revision>
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cargo install --version 0.29.0 svd2rust
cargo install --version 0.10.0 form
rustup component add rustfmt
if [ "$SVDTOOLS" == "svdtools" ]; then
cargo install --version 0.3.0 svdtools
cargo install --version 0.3.1 svdtools
else
python3 -mvenv --clear .venv
source .venv/bin/activate
Expand Down