From fa5b0daeb02bb1775462ac57b353589d983fa2bb Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Wed, 17 Dec 2025 19:33:41 -0500 Subject: Configure FlexSPI1 pins on 11xx MCUs --- imxrt1170evk/examples/smoke.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'imxrt1170evk') diff --git a/imxrt1170evk/examples/smoke.rs b/imxrt1170evk/examples/smoke.rs index df91789..63428ac 100644 --- a/imxrt1170evk/examples/smoke.rs +++ b/imxrt1170evk/examples/smoke.rs @@ -14,7 +14,9 @@ fn main() -> ! { let mut sector = [0_u8; Algorithm::sector_size_bytes()]; is25wp.flash_read(0x400, &mut sector[..4]); - defmt::assert!(0x42464346 == u32::from_le_bytes(sector[..4].try_into().unwrap())); + if 0x42464346 != u32::from_le_bytes(sector[..4].try_into().unwrap()) { + defmt::warn!("No FCB found."); + } is25wp.flash_erase_sector(LAST_SECTOR + 256); -- cgit v1.2.3