diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-12-13 13:30:49 -0500 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-12-13 13:39:35 -0500 |
| commit | 7514ffe3b565669f6535ce05826613a884fb0665 (patch) | |
| tree | e400aab5b130409733b2aac1091321fab3b425d7 /imxrt1170evk/src | |
| parent | fe3e7300fe42013705144712843c80d1f198a253 (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 'imxrt1170evk/src')
| -rw-r--r-- | imxrt1170evk/src/lib.rs | 2 | ||||
| -rw-r--r-- | imxrt1170evk/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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<Flash>; 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 _, |
