Skip to content

Commit 05aee1b

Browse files
committed
[nrf noup] tests: drivers: flash: common: run on SDP MSPI
Changing test parameters when running for SDP MSPI. Signed-off-by: Jakub Zymelka <[email protected]>
1 parent cd78f40 commit 05aee1b

File tree

1 file changed

+2
-0
lines changed
  • tests/drivers/flash/common/src

1 file changed

+2
-0
lines changed

tests/drivers/flash/common/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
#elif defined(TEST_AREA_DEV_NODE)
3333

3434
#define TEST_AREA_DEVICE DEVICE_DT_GET(TEST_AREA_DEV_NODE)
35+
#ifndef TEST_AREA_OFFSET
3536
#define TEST_AREA_OFFSET 0xff000
37+
#endif
3638

3739
#if DT_NODE_HAS_PROP(TEST_AREA_DEV_NODE, size_in_bytes)
3840
#define TEST_AREA_MAX DT_PROP(TEST_AREA_DEV_NODE, size_in_bytes)

0 commit comments

Comments
 (0)