From ea60b60f3ff579cd175abecde49d2d9397420dc0 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sat, 21 Nov 2026 13:39:55 -0500 Subject: Prototype secondary core support 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. --- board/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'board/src/lib.rs') 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!"); } -- cgit v1.2.3