aboutsummaryrefslogtreecommitdiff
path: root/imxrt1160evk/src
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2025-12-13 13:30:49 -0500
committerIan McIntyre <me@mciantyre.dev>2025-12-13 13:39:35 -0500
commit7514ffe3b565669f6535ce05826613a884fb0665 (patch)
treee400aab5b130409733b2aac1091321fab3b425d7 /imxrt1160evk/src
parentfe3e7300fe42013705144712843c80d1f198a253 (diff)
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.
Diffstat (limited to 'imxrt1160evk/src')
-rw-r--r--imxrt1160evk/src/lib.rs2
-rw-r--r--imxrt1160evk/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/imxrt1160evk/src/lib.rs b/imxrt1160evk/src/lib.rs
index 82292dc..5ed3257 100644
--- a/imxrt1160evk/src/lib.rs
+++ b/imxrt1160evk/src/lib.rs
@@ -2,5 +2,5 @@
use cortex_m as _;
-pub use imxrt1160_flash_algos::flash::issi::Is25WP128 as Flash;
+pub use imxrt1160_flash_algos::flash::issi::Is25xP128 as Flash;
pub type Algorithm = imxrt1160_flash_algos::Algorithm<Flash>;
diff --git a/imxrt1160evk/src/main.rs b/imxrt1160evk/src/main.rs
index 8c50649..26c6c92 100644
--- a/imxrt1160evk/src/main.rs
+++ b/imxrt1160evk/src/main.rs
@@ -7,7 +7,7 @@ use panic_probe as _;
use imxrt1160evk::Algorithm;
flash_algorithm::algorithm!(Algorithm, {
- device_name: "imxrt1160_is25wp128_133mhz",
+ device_name: "imxrt1160_is25xp128_133mhz",
device_type: DeviceType::Onchip,
flash_address: Algorithm::flash_address() as _,
flash_size: Algorithm::flash_size_bytes() as _,