Compare commits
1 Commits
main
...
docs-and-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1add03abd5 |
3
justfile
3
justfile
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user