diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2026-10-26 17:53:21 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2026-10-27 11:35:22 -0400 |
| commit | f0ef2b86cee6b44e801eb80ba301888a608fdd76 (patch) | |
| tree | 23251fe48a1d14c53fd002abd3d49060ddd0258e /board/src | |
| parent | efe328a7bd17df1962a1db2a517c79f1e76a7b05 (diff) | |
Add ECC stress test for 1170EVK testing
A little firmware that you can run on your 11xx with ECC RAM active.
If I'm doing the preloading correctly and considering speculative reads
into unused memory, this test should pass. Right now, it definitely does
not pass, since the __pre_init only (maybe) zeros the program sections.
Diffstat (limited to 'board/src')
| -rw-r--r-- | board/src/imxrt1170evk_cm7.rs | 6 | ||||
| -rw-r--r-- | board/src/lib.rs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/board/src/imxrt1170evk_cm7.rs b/board/src/imxrt1170evk_cm7.rs index f1a72d7..089c9e8 100644 --- a/board/src/imxrt1170evk_cm7.rs +++ b/board/src/imxrt1170evk_cm7.rs @@ -14,6 +14,12 @@ pub mod rtic_support { #[allow(non_snake_case)] // For RTIC trickery... pub mod Interrupt { pub const PIT: crate::ral::Interrupt = crate::ral::Interrupt::PIT1; + pub const FLEXRAM: crate::ral::Interrupt = crate::ral::Interrupt::FLEXRAM; + pub const FLEXRAM_ECC: crate::ral::Interrupt = crate::ral::Interrupt::FLEXRAM_ECC; + pub const MECC1_INT: crate::ral::Interrupt = crate::ral::Interrupt::MECC1_INT; + pub const MECC1_FATAL_INT: crate::ral::Interrupt = crate::ral::Interrupt::MECC1_FATAL_INT; + pub const MECC2_INT: crate::ral::Interrupt = crate::ral::Interrupt::MECC2_INT; + pub const MECC2_FATAL_INT: crate::ral::Interrupt = crate::ral::Interrupt::MECC2_FATAL_INT; } pub use Interrupt as interrupt; } diff --git a/board/src/lib.rs b/board/src/lib.rs index ebc76ad..fa2afcd 100644 --- a/board/src/lib.rs +++ b/board/src/lib.rs @@ -1,7 +1,7 @@ //! A very simple, multi-board BSP for imxrt-rt-support examples. #![no_std] -use imxrt_ral as ral; +pub use imxrt_ral as ral; cfg_if::cfg_if! { if #[cfg(feature = "teensy4")] { |
