From 7514ffe3b565669f6535ce05826613a884fb0665 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sat, 13 Dec 2025 13:30:49 -0500 Subject: Support ISSI LP and WP configs in one algo The configurations and sequences need to vary depending on the connected part. We can determine the part at runtime to vary the config. We could probably do this for all the parts. Maybe I'll try that later. --- imxrt1170evk/src/lib.rs | 2 +- imxrt1170evk/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'imxrt1170evk') diff --git a/imxrt1170evk/src/lib.rs b/imxrt1170evk/src/lib.rs index 5410acd..12da464 100644 --- a/imxrt1170evk/src/lib.rs +++ b/imxrt1170evk/src/lib.rs @@ -2,5 +2,5 @@ use cortex_m as _; -pub use imxrt1170_flash_algos::flash::issi::Is25WP128 as Flash; +pub use imxrt1170_flash_algos::flash::issi::Is25xP128 as Flash; pub type Algorithm = imxrt1170_flash_algos::Algorithm; diff --git a/imxrt1170evk/src/main.rs b/imxrt1170evk/src/main.rs index 6b8483b..4d7a55c 100644 --- a/imxrt1170evk/src/main.rs +++ b/imxrt1170evk/src/main.rs @@ -7,7 +7,7 @@ use panic_probe as _; use imxrt1170evk::Algorithm; flash_algorithm::algorithm!(Algorithm, { - device_name: "imxrt1170_is25wp128_133mhz", + device_name: "imxrt1170_is25xp128_133mhz", device_type: DeviceType::Onchip, flash_address: Algorithm::flash_address() as _, flash_size: Algorithm::flash_size_bytes() as _, -- cgit v1.2.3