Skip to content

Commit d0724af

Browse files
committed
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. Signed-off-by: Bartlomiej Buczek <[email protected]>
1 parent 8d202cb commit d0724af

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
@@ -70,6 +70,17 @@ tests:
7070
- nrf54l15dk/nrf54l15/cpuapp
7171
harness_config:
7272
fixture: external_flash
73+
drivers.flash.common.no_explicit_erase.sfdp_runtime:
74+
platform_allow:
75+
- nrf54l15dk/nrf54l05/cpuapp
76+
- nrf54l15dk/nrf54l10/cpuapp
77+
- nrf54l15dk/nrf54l15/cpuapp
78+
harness_config:
79+
fixture: external_flash
80+
extra_configs:
81+
- CONFIG_SPI_NOR_SFDP_RUNTIME=y
82+
extra_args:
83+
- DTC_OVERLAY_FILE=boards/nrf54l15dk_remove_dt_sfdp.overlay
7384
drivers.flash.common.no_explicit_erase.nrf54h:
7485
platform_allow:
7586
- nrf54h20dk/nrf54h20/cpuapp

0 commit comments

Comments
 (0)