Skip to content

Fix DMAC documentation #703

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

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Fix DMAC documentation #703

merged 3 commits into from
Nov 13, 2023

Conversation

wolfenick
Copy link
Contributor

Summary

The current documentation for the HAL on crates.io does not include documentation for the DMAC peripheral. This PR modifies the metadata to include the dma trait such that this is included in the online documentation. Simultaneously, the dma and library features should not be combined, due to dma enabling code that relies on a PAC across many source files. A compile error is added to prohibit compilation with dma and library features combined.

@jbeaurivage
Copy link
Contributor

Thank you!

@jbeaurivage jbeaurivage merged commit 7d7b21a into atsamd-rs:master Nov 13, 2023
benvonhandorf pushed a commit to benvonhandorf/atsamd that referenced this pull request Nov 29, 2023
* Added the dma feature to package.metadata.docs.rs in Cargo.toml

* Added a compile error for the condition of library + dma features

* Updated CHANGELOG.md to include DMAC documentation fixes

---------

Co-authored-by: avawolfe <ava.wolfe@ooma.com>
benvonhandorf pushed a commit to benvonhandorf/atsamd that referenced this pull request Nov 29, 2023
* Added the dma feature to package.metadata.docs.rs in Cargo.toml

* Added a compile error for the condition of library + dma features

* Updated CHANGELOG.md to include DMAC documentation fixes

---------

Co-authored-by: avawolfe <ava.wolfe@ooma.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants