Skip to content

Commit

Permalink
Merge pull request #45 from stm32-rs/ral-registers
Browse files Browse the repository at this point in the history
Replace registers module with ral-registers
  • Loading branch information
Disasm authored Nov 25, 2023
2 parents c70257f + fd706af commit 8cbeb70
Showing 4 changed files with 4 additions and 612 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed

* Use `critical-section` crate for critical sections.
* Replaced bundled RAL macros with `ral-registers`


## [v0.4.0] - 2023-11-18
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ critical-section = "1.0"
embedded-hal = "0.2.4"
vcell = "0.1.0"
usb-device = "0.3"
ral-registers = "0.1.3"

[package.metadata.docs.rs]
features = ['fs']
4 changes: 2 additions & 2 deletions src/ral/mod.rs
Original file line number Diff line number Diff line change
@@ -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")]
Loading

0 comments on commit 8cbeb70

Please sign in to comment.