3 Commits

Author SHA1 Message Date
Robin Mueller
1add03abd5 docs and clippy
Some checks are pending
ci / Check build (push) Waiting to run
ci / Check formatting (push) Waiting to run
ci / Check Documentation Build (push) Waiting to run
ci / Clippy (push) Waiting to run
ci / Check build (pull_request) Waiting to run
ci / Check formatting (pull_request) Waiting to run
ci / Check Documentation Build (pull_request) Waiting to run
ci / Clippy (pull_request) Waiting to run
2025-11-27 12:47:08 +01:00
06702e2c92 Merge pull request 'README updated after switch to aarch32 dependency' (#23) from mohr/readme into main
Some checks failed
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
Reviewed-on: #23
2025-11-24 22:12:03 +01:00
fcb171c093 README updated after switch to aarch32 dependency
Some checks failed
ci / Check build (push) Failing after 8s
ci / Check formatting (push) Failing after 8s
ci / Check Documentation Build (push) Failing after 7s
ci / Clippy (push) Failing after 9s
ci / Check build (pull_request) Failing after 9s
ci / Check formatting (pull_request) Failing after 7s
ci / Check Documentation Build (pull_request) Failing after 7s
ci / Clippy (pull_request) Failing after 7s
2025-11-24 13:36:43 +01:00
3 changed files with 5 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ fmt target:
clippy target:
cd {{target}} && cargo clippy -- -D warnings
[working-directory: 'zynq']
docs-zynq: docs-pac docs-hal
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000-mmu
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000-rt
@@ -35,7 +36,7 @@ docs-pac-html:
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000 --open
[working-directory: 'zynq']
docs-hal:
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000-hal --features alloc
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000-hal --features alloc --no-deps
[working-directory: 'zynq']
docs-hal-html:
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p zynq7000-hal --features alloc --open

View File

@@ -57,7 +57,7 @@ fn main() {
writeln!(buf_writer, "use crate::mmu::section_attrs;").unwrap();
writeln!(buf_writer, "use cortex_ar::mmu::L1Section;").unwrap();
writeln!(buf_writer, "use zynq7000_mmu::L1Table;").unwrap();
writeln!(buf_writer, "").unwrap();
writeln!(buf_writer).unwrap();
writeln!(buf_writer, "/// MMU Level 1 Page table.").unwrap();
writeln!(buf_writer, "///").unwrap();
@@ -200,7 +200,7 @@ fn main() {
offset_u64 += ONE_MB as u64;
}
// Check that the full 4 GB were covered (not too much, or less)
assert_eq!(offset_u64, 0x1_0000_0000 as u64);
assert_eq!(offset_u64, 0x1_0000_0000_u64);
writeln!(buf_writer, "]);").unwrap();
// Finish the file.

View File

@@ -15,7 +15,7 @@ Some major differences:
- MMU table is specified as Rust code.
- Modification to the stack setup code, because a different linker script is used.
This crate pulls in the [cortex-a-rt](https://github.com/us-irs/cortex-ar/tree/cortex-a-addition/cortex-a-rt)
This crate pulls in the [aarch32-rt](https://github.com/rust-embedded/aarch32/tree/main/aarch32-rt)
crate to provide ARM vectors and the linker script.
## Features