Skip to content

Commit 4e5d7cd

Browse files
committed
[nrf noup] tests: drivers: mspi: add SDP MSPI testcase
Add SDP MPSI testcase to basic API test. Signed-off-by: Jakub Zymelka <[email protected]>
1 parent 9f1d6b0 commit 4e5d7cd

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
mspi0 = &emspi;
9+
};
10+
};
11+
12+
&emspi {
13+
status = "okay";
14+
15+
mspi_device: mspi_device@0 {
16+
status = "okay";
17+
compatible = "zephyr,mspi-emul-device";
18+
reg = <0x0>;
19+
mspi-max-frequency = <48000000>;
20+
};
21+
};

tests/drivers/mspi/api/testcase.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,18 @@ tests:
1515
- apollo3p_evb
1616
integration_platforms:
1717
- native_sim
18+
19+
drivers.mspi.api.emspi:
20+
tags:
21+
- drivers
22+
- mspi
23+
- api
24+
harness: ztest
25+
platform_allow:
26+
- nrf54l15dk_nrf54l15_cpuapp
27+
integration_platforms:
28+
- nrf54l15dk_nrf54l15_cpuapp
29+
extra_args:
30+
- SB_CONFIG_PARTITION_MANAGER=n
31+
- SB_CONFIG_SDP=y
32+
- SB_CONFIG_SDP_MSPI=y

0 commit comments

Comments
 (0)