File tree 5 files changed +45
-0
lines changed
tests/drivers/flash/common
5 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 831
831
/tests /crypto / @ stephen-nordic @ magnev
832
832
/tests /drivers /audio /pdm_loopback / @ nrfconnect/ncs-low-level-test
833
833
/tests /drivers /gpio / @ nrfconnect/ncs-low-level-test @ nrfconnect/ncs-ll-ursus
834
+ /tests /drivers /flash /common / @ nrfconnect/ncs-low-level-test @ nrfconnect/ncs-ll-ursus
834
835
/tests /drivers /flash /flash_ipuc / @ nrfconnect/ncs-charon
835
836
/tests /drivers /flash /flash_rpc / @ nrfconnect/ncs-pluto
836
837
/tests /drivers /flash_patch / @ nrfconnect/ncs-pluto
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: Apache-2.0
2
+
3
+ cmake_minimum_required (VERSION 3.20.0)
4
+ find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
5
+ project (nrf_qspi_nor)
6
+
7
+ FILE (GLOB app_sources ${ZEPHYR_BASE} /tests/drivers/flash/common/src/*.c)
8
+ target_sources (app PRIVATE ${app_sources} )
9
+ target_compile_definitions (app PUBLIC "TEST_AREA_OFFSET=0x00" )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024, Nordic Semiconductor ASA
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Device/scenario dependent information that is not available in
5
+ # other ways.
6
+
7
+ config TEST_DRIVER_FLASH_SIZE
8
+ int "Size of flash device under test"
9
+ default -1
10
+ help
11
+ Expected flash device size the test will validate against. If the flash driver does not
12
+ support the get_size() API, leave this set as -1 to skip the test.
13
+
14
+ source "Kconfig.zephyr"
Original file line number Diff line number Diff line change
1
+ CONFIG_TEST=y
2
+ CONFIG_ZTEST=y
3
+ CONFIG_FLASH=y
4
+ CONFIG_FLASH_PAGE_LAYOUT=y
5
+ CONFIG_MAIN_STACK_SIZE=2048
6
+ CONFIG_ZTEST_STACK_SIZE=4096
Original file line number Diff line number Diff line change
1
+ common :
2
+ tags :
3
+ - drivers
4
+ - flash
5
+ tests :
6
+ drivers.flash.common.sdp :
7
+ platform_allow :
8
+ - nrf54l15dk/nrf54l15/cpuapp
9
+ integration_platforms :
10
+ - nrf54l15dk/nrf54l15/cpuapp
11
+ extra_args :
12
+ - SB_CONFIG_VPR_LAUNCHER=n
13
+ - SB_CONFIG_PARTITION_MANAGER=n
14
+ - SB_CONFIG_SDP=y
15
+ - SB_CONFIG_SDP_MSPI=y
You can’t perform that action at this time.
0 commit comments