Skip to content

Re-export avr_device from the HAL crates - #707

Merged
Rahix merged 1 commit into
Rahix:mainfrom
ChrisJr404:reexport-avr-device
Aug 29, 2026
Merged

Re-export avr_device from the HAL crates#707
Rahix merged 1 commit into
Rahix:mainfrom
ChrisJr404:reexport-avr-device

Conversation

@ChrisJr404

Copy link
Copy Markdown
Contributor

Fixes #698. The atmega-hal, attiny-hal and arduino-hal crates already re-export avr_device::entry and the selected chip module as pac, so this adds a plain pub use avr_device; to each. Downstream code can then reach items like avr_device::interrupt through the HAL without adding a separate avr-device dependency and keeping its version in sync manually.

This lets downstream code reach items like avr_device::interrupt without
depending on avr-device directly and keeping its version in sync manually.

Closes Rahix#698

@Rahix Rahix left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Rahix
Rahix merged commit e0b0105 into Rahix:main Aug 29, 2026
28 checks passed
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.

Consider re-exporting avr_device within avr_hal

2 participants