Skip to content

Commit d466d13

Browse files
committed
[nrf fromtree] tests: drivers: flash: Enable negative_tests on nrf92 family
Add handling of the nrf92 chip family to a conditional statement. The nrf92 family is similar to the nrf54h20 chip. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no> (cherry picked from commit 9702da9)
1 parent 6bf83fb commit d466d13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/drivers/flash/negative_tests/src

tests/drivers/flash/negative_tests/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#if defined(CONFIG_SOC_SERIES_NRF54L) || defined(CONFIG_SOC_FAMILY_MICROCHIP_SAM_D5X_E5X)
3030
#define TEST_FLASH_START (DT_REG_ADDR(DT_MEM_FROM_PARTITION(DT_NODELABEL(TEST_AREA))))
3131
#define TEST_FLASH_SIZE (DT_REG_SIZE(DT_MEM_FROM_PARTITION(DT_NODELABEL(TEST_AREA))))
32-
#elif defined(CONFIG_SOC_NRF54H20)
32+
#elif defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_SERIES_NRF92)
3333
#define TEST_FLASH_START (DT_REG_ADDR(DT_PARENT(DT_PARENT(DT_NODELABEL(TEST_AREA)))))
3434
#define TEST_FLASH_SIZE (DT_REG_SIZE(DT_PARENT(DT_PARENT(DT_NODELABEL(TEST_AREA)))))
3535
#elif defined(CONFIG_SOC_FAMILY_INFINEON_PSOC4)

0 commit comments

Comments
 (0)