aboutsummaryrefslogtreecommitdiff
path: root/board/src/lib.rs
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2026-11-21 13:39:55 -0500
committerIan McIntyre <me@mciantyre.dev>2026-11-22 10:47:30 -0500
commitea60b60f3ff579cd175abecde49d2d9397420dc0 (patch)
treebce393fb98a32c1ee563ebcfdadeddef8e76cd52 /board/src/lib.rs
parent1087e9bb7cd31e6fd88532ead08a927168e36de7 (diff)
Prototype secondary core supportHEADmain
Haven't tested the included examples on hardware. It's just here so I can define an inspect_elf test. Out of tree, there's a basic example on an 1170EVK.
Diffstat (limited to 'board/src/lib.rs')
-rw-r--r--board/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/src/lib.rs b/board/src/lib.rs
index fa2afcd..0f60c66 100644
--- a/board/src/lib.rs
+++ b/board/src/lib.rs
@@ -22,6 +22,12 @@ cfg_if::cfg_if! {
mod imxrt1170evk_cm7;
pub use imxrt1170evk_cm7::*;
+ } else if #[cfg(feature = "imxrt1170evk-cm4")] {
+ mod shared { pub mod imxrt11xx; }
+ use shared::imxrt11xx::prepare_pit;
+
+ mod imxrt1170evk_cm4;
+ pub use imxrt1170evk_cm4::*;
} else {
compile_error!("No board feature selected!");
}