Skip to content

Commit a860d70

Browse files
committed
[nrf fromlist] samples: drivers: spi_flash: Enable sample on nrf54lm20dk
Add overlay required to run the sample on nrf54lm20dk/nrf54lm20a/cpuapp. Upstream PR #: 92432 Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 9fb6ca7 commit a860d70

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&mx25r64 {
8+
status = "okay";
9+
};

samples/drivers/spi_flash/sample.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,18 @@ tests:
2222
- "Attempting to write 4 bytes"
2323
- "Data read matches data written. Good!!"
2424
depends_on: spi
25+
sample.drivers.spi.flash.nrf54lm20:
26+
platform_allow:
27+
- nrf54lm20dk/nrf54lm20a/cpuapp
28+
integration_platforms:
29+
- nrf54lm20dk/nrf54lm20a/cpuapp
30+
harness_config:
31+
fixture: external_flash
32+
type: multi_line
33+
ordered: true
34+
regex:
35+
- "Test 1: Flash erase"
36+
- "Flash erase succeeded!"
37+
- "Test 2: Flash write"
38+
- "Attempting to write 4 bytes"
39+
- "Data read matches data written. Good!!"

0 commit comments

Comments
 (0)