Skip to content

Commit 8cbeb70

Browse files
authored
Merge pull request #45 from stm32-rs/ral-registers
Replace registers module with ral-registers
2 parents c70257f + fd706af commit 8cbeb70

File tree

4 files changed

+4
-612
lines changed

4 files changed

+4
-612
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111
### Changed
1212

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

1516

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ critical-section = "1.0"
1414
embedded-hal = "0.2.4"
1515
vcell = "0.1.0"
1616
usb-device = "0.3"
17+
ral-registers = "0.1.3"
1718

1819
[package.metadata.docs.rs]
1920
features = ['fs']

src/ral/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
pub mod instances;
44
pub mod peripherals;
5-
pub mod register;
65
pub mod stm32f429;
76

8-
pub use crate::{modify_reg, read_reg, write_reg};
7+
pub use ral_registers as register;
8+
pub use ral_registers::{modify_reg, read_reg, write_reg};
99

1010
pub mod otg_global {
1111
#[cfg(feature = "fs")]

0 commit comments

Comments
 (0)