Skip to content

Commit 784d3ee

Browse files
committed
tests: drivers: mspi testing on stm32h573 disco kit
Add the configuration and overlay files to run the testcases tests/drivers/mspi/flash on the stm32h573i_dk target Now exclude from the samples/drivers:spi_flash Signed-off-by: Francois Ramu <[email protected]>
1 parent 69b02b8 commit 784d3ee

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (c) 2024 STMicroelectronics
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_FLASH_MSPI_NOR_MX=y
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2024 STMicroelectronics
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
mspi0 = &mspi1;
9+
};
10+
};

tests/drivers/mspi/flash/testcase.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ tests:
88
- mspi
99
- flash
1010
filter: dt_compat_enabled("zephyr,mspi-emul-flash") or
11-
dt_compat_enabled("mspi-atxp032")
11+
dt_compat_enabled("mspi-atxp032") or
12+
dt_compat_enabled("jedec,mx25")
1213
harness: ztest
1314
platform_allow:
1415
- native_sim
1516
- apollo3p_evb
17+
- stm32h573i_dk
1618
integration_platforms:
1719
- native_sim
1820
- apollo3p_evb

0 commit comments

Comments
 (0)