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/build.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'board/build.rs') diff --git a/board/build.rs b/board/build.rs index 1f4e207..8709852 100644 --- a/board/build.rs +++ b/board/build.rs @@ -79,6 +79,23 @@ fn main() { .build() .unwrap() } + "imxrt1170evk_cm4" => imxrt_rt::RuntimeBuilder::in_flash( + imxrt_rt::Family::Imxrt1170, + 256 * 1024, + 87 * 1024, + ) + .core(imxrt_rt::Core::Secondary) + .text(imxrt_rt::Memory::Itcm) + .rodata(imxrt_rt::Memory::Dtcm) + .data(imxrt_rt::Memory::Dtcm) + .vectors(imxrt_rt::Memory::Dtcm) + .bss(imxrt_rt::Memory::Dtcm) + .uninit(imxrt_rt::Memory::Dtcm) + .stack(imxrt_rt::Memory::Dtcm) + .heap(imxrt_rt::Memory::Ocram) + .heap_size(2 * 1024) + .build() + .unwrap(), _ => continue, } break; -- cgit v1.2.3