Skip to content

Commit 8f74db8

Browse files
nordic-babunordicjm
authored andcommitted
[nrf fromlist] test: drivers: flash: common: Add sfdp case for nrf54l15 tests.
Add case for using flash with some parameters read with runtime sfdp instead of dt declarations. Upstream PR #: 97495 Signed-off-by: Bartlomiej Buczek <[email protected]>
1 parent 13716d5 commit 8f74db8

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&mx25r64 {
8+
/delete-property/ jedec-id;
9+
/delete-property/ sfdp-bfp;
10+
/delete-property/ has-dpd;
11+
/delete-property/ t-enter-dpd;
12+
/delete-property/ t-exit-dpd;
13+
};

tests/drivers/flash/common/testcase.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ tests:
6161
- nrf54l15dk/nrf54l15/cpuapp
6262
harness_config:
6363
fixture: external_flash
64+
drivers.flash.common.no_explicit_erase.sfdp_runtime:
65+
platform_allow:
66+
- nrf54l15dk/nrf54l05/cpuapp
67+
- nrf54l15dk/nrf54l10/cpuapp
68+
- nrf54l15dk/nrf54l15/cpuapp
69+
harness_config:
70+
fixture: external_flash
71+
extra_configs:
72+
- CONFIG_SPI_NOR_SFDP_RUNTIME=y
73+
extra_args:
74+
- DTC_OVERLAY_FILE=boards/nrf54l15dk_remove_dt_sfdp.overlay
6475
drivers.flash.common.no_explicit_erase.nrf54h:
6576
platform_allow:
6677
- nrf54h20dk/nrf54h20/cpuapp

0 commit comments

Comments
 (0)