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 08b2d7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 613 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed
* Replaced bundled RAL macros with `ral-registers`

## [v0.4.0] - 2023-11-18

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



[Unreleased]: https://github.com/stm32-rs/synopsys-usb-otg/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/stm32-rs/synopsys-usb-otg/compare/v0.4.0...v0.3.2
[0.3.2]: https://github.com/stm32-rs/synopsys-usb-otg/compare/v0.3.2...v0.3.1
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 08b2d7d

Please sign in to comment.