Closed burrbull closed 1 year ago
You have used _delete
incorrect. Now both rust and python svdtools should work.
I tried to upgrade rp2040-hal to a pac generated with this pull request. But I got some problems regarding the ADC CS register, which has a bit START_ONCE which is annotated as <modifiedWriteValues>clear</modifiedWriteValues>
in the svd file.
I guess it's because the version of svd2rust used in this PR does not yet contain https://github.com/rust-embedded/svd2rust/pull/673
Clippy fails because the merge request doesn't yet contain updated, generated sources.
I intentionally left them out to make the review easier. But I'll add them now, the commits are small enough to review them one by one if the changes to src/
are too confusing.
Updating src/
was a bad idea, as it causes merge conflicts. → undone
Let's merge it first and then update the sources in a separate merge request.
Seems like @jannic feedbacks have been applied already. Merging.
Switching from _derive to _copy does not work correctly with the other patches we make.
Specifically:
fails with
and
fails with