Skip to content

Commit 021ef9e

Browse files
de-nordickartben
authored andcommitted
tests/flash/common: Set test device size for NRF platforms
Set expected size for nrf platforms. Signed-off-by: Dominik Ermel <[email protected]>
1 parent a6ef37c commit 021ef9e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/drivers/flash/common/testcase.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ tests:
1313
extra_args:
1414
- EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
1515
- DTC_OVERLAY_FILE=boards/nrf52840_size_in_bytes.overlay
16+
extra_configs:
17+
- CONFIG_TEST_DRIVER_FLASH_SIZE=8388608
1618
integration_platforms:
1719
- nrf52840dk/nrf52840
1820
drivers.flash.common.nrf_qspi_nor_4B_addr:
1921
platform_allow: nrf52840dk/nrf52840
22+
extra_configs:
23+
- CONFIG_TEST_DRIVER_FLASH_SIZE=67108864
2024
extra_args:
2125
- EXTRA_CONF_FILE=boards/nrf52840dk_nrf52840_qspi_nor.conf
2226
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
@@ -48,6 +52,8 @@ tests:
4852
- nrf9161dk/nrf9161/ns
4953
drivers.flash.common.mx25r_high_perf:
5054
platform_allow: nrf52840dk/nrf52840
55+
extra_configs:
56+
- CONFIG_TEST_DRIVER_FLASH_SIZE=216142092
5157
extra_args:
5258
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
5359
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25r_high_perf.overlay
@@ -59,13 +65,17 @@ tests:
5965
- CONFIG_FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME=y
6066
drivers.flash.common.spi_nor:
6167
platform_allow: nrf52840dk/nrf52840
68+
extra_configs:
69+
- CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
6270
extra_args:
6371
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
6472
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
6573
harness_config:
6674
fixture: external_flash_mx25v1635f
6775
drivers.flash.common.spi_nor_wp_hold:
6876
platform_allow: nrf52840dk/nrf52840
77+
extra_configs:
78+
- CONFIG_TEST_DRIVER_FLASH_SIZE=2097152
6979
extra_args:
7080
- EXTRA_CONF_FILE=boards/nrf52840dk_flash_spi.conf
7181
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay

0 commit comments

Comments
 (0)