Skip to content

Commit

Permalink
Replace registers module with ral-registers
Browse files Browse the repository at this point in the history
  • Loading branch information
Disasm committed Nov 19, 2023
1 parent 6bed82a commit 325cb4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 613 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed
* `usb-device` version bumped to v0.3.0

* Replace bundled RAL macros with `ral-registers`


[Unreleased]: https://github.com/stm32-rs/synopsys-usb-otg/compare/v0.4.0...HEAD
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ cortex-m = { version = "0.7.0", optional = true }
embedded-hal = "0.2.4"
vcell = "0.1.0"
usb-device = "0.3"
ral-registers = "0.1.3"

[package.metadata.docs.rs]
features = ['cortex-m', 'fs']
Expand Down
4 changes: 2 additions & 2 deletions src/ral/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

pub mod instances;
pub mod peripherals;
pub mod register;
pub mod stm32f429;

pub use crate::{modify_reg, read_reg, write_reg};
pub use ral_registers as register;
pub use ral_registers::{modify_reg, read_reg, write_reg};

pub mod otg_global {
#[cfg(feature = "fs")]
Expand Down
Loading

0 comments on commit 325cb4f

Please sign in to comment.