Skip to content

Commit 810bbdb

Browse files
committed
update MMU code
1 parent 3e7ba65 commit 810bbdb

3 files changed

Lines changed: 262 additions & 44 deletions

File tree

cortex-ar/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Added
1111

1212
- `dmb` data memory barrier in ASM module.
13+
- MMU code: `SectionAttributes::raw()` method and `SectionAttributes::from_raw()` and
14+
`SectionAttributes::from_raw_unchecked` constructors.
15+
16+
### Changed
17+
18+
- MMU code: Use more `arbitrary-int` types for MMU configuration bits.
1319

1420
## [v0.2.0]
1521

cortex-ar/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ arbitrary-int = "1.3.0"
2929
bitbybit = "1.3.3"
3030
num_enum = { version = "0.7", default-features = false }
3131
critical-section = {version = "1.2.0", features = ["restore-state-u8"], optional = true}
32+
thiserror = { version = "2", default-features = false }
3233
defmt = {version = "0.3", optional = true}
3334

3435
[build-dependencies]
@@ -42,7 +43,7 @@ critical-section-single-core = ["critical-section"]
4243
# a CAS spinlock.
4344
critical-section-multi-core = ["critical-section"]
4445
# Adds defmt::Format implementation for the register types
45-
defmt = ["dep:defmt"]
46+
defmt = ["dep:defmt", "arbitrary-int/defmt"]
4647

4748
[package.metadata.docs.rs]
4849
targets = ["armv7r-none-eabihf", "armv7r-none-eabi", "armv7a-none-eabihf"]

0 commit comments

Comments
 (0)