-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Description
I don't see sense to built this code in each file that svd2rust
generates.
I propose to move it in new crate with will be dependency for pac
s.
It should have short name. Maybe (pa
or ra
as abbreviation of Peripheral Access
an Register Access
).
I see only advantages, no disadvantages:
- we can simplify
svd2rust
code, remove some tricks instm32-rs
- we can use
Cargo.toml
for optionally enabling features like atomic operations (Support for atomic bitwise operations in MSP430 PAC API #407) - use "semver" to control that crates have identical API
- avoid potential name conflicts when reexport generic.rs
Metadata
Metadata
Assignees
Labels
No labels