Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drivers: flash: common: run on SDP MSPI #20542

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion applications/sdp/mspi/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config SDP_MSPI_MAX_RESPONSE_SIZE
int "Max size of response that can be sent to APP core. In bytes."
default 128
default 524

config SDP_MSPI_IPC_NO_COPY
bool "IPC no copy mode"
Expand Down
106 changes: 106 additions & 0 deletions scripts/twister/alt/zephyr/tests/drivers/flash/common/testcase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
common:
tags:
- drivers
- flash
tests:
drivers.flash.common.nrf_qspi_nor:
platform_allow: nrf52840dk/nrf52840
extra_args: EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.nrf_qspi_nor.size_in_bytes:
platform_allow: nrf52840dk/nrf52840
extra_args:
- EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
- DTC_OVERLAY_FILE=boards/nrf52840_size_in_bytes.overlay
extra_configs:
- CONFIG_TEST_DRIVER_FLASH_SIZE=8388608
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.nrf_qspi_nor_4B_addr:
platform_allow: nrf52840dk/nrf52840
extra_configs:
- CONFIG_TEST_DRIVER_FLASH_SIZE=67108864
extra_args:
- EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
harness_config:
fixture: external_flash_mx25l51245g
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.soc_flash_nrf:
platform_allow: nrf52840dk/nrf52840
extra_args: EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_soc.conf
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.default:
filter: ((CONFIG_FLASH_HAS_DRIVER_ENABLED and not CONFIG_TRUSTED_EXECUTION_NONSECURE)
and (dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
or dt_label_with_parent_compat_enabled("storage_partition", "nordic,owned-partitions")))
integration_platforms:
- qemu_x86
- mimxrt1060_evk/mimxrt1062/qspi
drivers.flash.common.no_explicit_erase:
platform_allow:
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
drivers.flash.common.tfm_ns:
build_only: true
filter: (CONFIG_FLASH_HAS_DRIVER_ENABLED and CONFIG_TRUSTED_EXECUTION_NONSECURE
and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
integration_platforms:
- nrf9161dk/nrf9161/ns
drivers.flash.common.mx25r_high_perf:
platform_allow: nrf52840dk/nrf52840
extra_configs:
- CONFIG_TEST_DRIVER_FLASH_SIZE=8388608
extra_args:
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25r_high_perf.overlay
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.mr_canhubk3_sfdp_runtime:
platform_allow: mr_canhubk3
extra_configs:
- CONFIG_FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME=y
drivers.flash.common.spi_nor:
platform_allow: nrf52840dk/nrf52840
extra_configs:
- CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
extra_args:
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.spi_nor_wp_hold:
platform_allow: nrf52840dk/nrf52840
extra_configs:
- CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
extra_args:
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.sam0:
platform_allow:
- samd20_xpro
- samr21_xpro
- same54_xpro
drivers.flash.common.gd32:
platform_allow:
- gd32vf103v_eval
- gd32a503v_eval
- gd32f470i_eval
drivers.flash.common.sdp:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
extra_args:
- SB_CONFIG_VPR_LAUNCHER=n
- SB_CONFIG_PARTITION_MANAGER=n
- SB_CONFIG_SDP=y
- SB_CONFIG_SDP_MSPI=y
4 changes: 0 additions & 4 deletions snippets/sdp/mspi/soc/nrf54l15_cpuapp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
psels = <NRF_PSEL(SDP_MSPI_SCK, 2, 1)>,
<NRF_PSEL(SDP_MSPI_DQ0, 2, 2)>,
<NRF_PSEL(SDP_MSPI_DQ1, 2, 4)>,
<NRF_PSEL(SDP_MSPI_DQ2, 2, 3)>,
<NRF_PSEL(SDP_MSPI_DQ3, 2, 0)>,
<NRF_PSEL(SDP_MSPI_CS0, 2, 5)>;
nordic,drive-mode = <NRF_DRIVE_S0S1>;
};
Expand All @@ -88,8 +86,6 @@
psels = <NRF_PSEL(SDP_MSPI_SCK, 2, 1)>,
<NRF_PSEL(SDP_MSPI_DQ0, 2, 2)>,
<NRF_PSEL(SDP_MSPI_DQ1, 2, 4)>,
<NRF_PSEL(SDP_MSPI_DQ2, 2, 3)>,
<NRF_PSEL(SDP_MSPI_DQ3, 2, 0)>,
<NRF_PSEL(SDP_MSPI_CS0, 2, 5)>;
low-power-enable;
};
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ manifest:
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
- name: zephyr
repo-path: sdk-zephyr
revision: 1bf500b0c51d8e04336b76d39437d408e3348956
revision: pull/2541/head
import:
# In addition to the zephyr repository itself, NCS also
# imports the contents of zephyr/west.yml at the above
Expand Down
Loading