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

[nrf fromtree] tests: drivers: watchodg: Enable wdt_error_cases on nR… #2483

Merged
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: 2 additions & 0 deletions tests/drivers/clock_control/clock_control_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tests:
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -30,6 +31,7 @@ tests:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tests:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand Down
8 changes: 8 additions & 0 deletions tests/drivers/clock_control/nrf_lf_clock_start/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ tests:
- nrf9160dk/nrf9160
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
extra_configs:
Expand All @@ -29,6 +30,7 @@ tests:
- nrf9160dk/nrf9160
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
extra_configs:
Expand Down Expand Up @@ -59,6 +61,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -74,6 +77,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -89,6 +93,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -104,6 +109,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -119,6 +125,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand All @@ -134,6 +141,7 @@ tests:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf5340dk/nrf5340/cpunet
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
integration_platforms:
Expand Down
1 change: 1 addition & 0 deletions tests/drivers/clock_control/onoff/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tests:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
- nrf9160dk/nrf9160
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
&timer00 {
prescaler = <6>;
status = "okay";
};

&timer10 {
prescaler = <4>;
status = "okay";
};

&timer20 {
prescaler = <4>;
status = "okay";
};

&timer21 {
prescaler = <4>;
status = "okay";
};

&timer22 {
prescaler = <4>;
status = "okay";
};

&timer23 {
prescaler = <4>;
status = "okay";
};

&timer24 {
prescaler = <4>;
status = "okay";
};
1 change: 1 addition & 0 deletions tests/drivers/flash/common/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ tests:
drivers.flash.common.no_explicit_erase:
platform_allow:
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
5 changes: 4 additions & 1 deletion tests/drivers/flash/negative_tests/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
#define TEST_AREA_SIZE FIXED_PARTITION_SIZE(TEST_AREA)
#define TEST_AREA_DEVICE FIXED_PARTITION_DEVICE(TEST_AREA)

#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
#if defined(CONFIG_SOC_NRF54L05) || \
defined(CONFIG_SOC_NRF54L09) || \
defined(CONFIG_SOC_NRF54L10) || \
defined(CONFIG_SOC_NRF54L15)
#define TEST_FLASH_START (DT_REG_ADDR(DT_MEM_FROM_FIXED_PARTITION(DT_NODELABEL(TEST_AREA))))
#define TEST_FLASH_SIZE (DT_REG_SIZE(DT_MEM_FROM_FIXED_PARTITION(DT_NODELABEL(TEST_AREA))))
#elif defined(CONFIG_SOC_NRF54H20)
Expand Down
1 change: 1 addition & 0 deletions tests/drivers/flash/negative_tests/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ common:
tests:
drivers.flash.negative_tests:
platform_allow:
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_POWEROFF=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/ {
cpuapp_sram@2002e000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2002e000 DT_SIZE_K(4)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};

aliases {
retainedmemtestdevice = &retainedmem0;
};
};

&cpuapp_sram {
reg = <0x20000000 DT_SIZE_K(184)>;
ranges = <0x0 0x20000000 0x2e000>;
};
1 change: 1 addition & 0 deletions tests/drivers/retained_mem/api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tests:
- qemu_cortex_m3
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
Expand Down
1 change: 1 addition & 0 deletions tests/drivers/timer/nrf_grtc_timer/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tests:
drivers.timer.nrf_grtc_timer:
tags: drivers
platform_allow:
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuflpr
- nrf54l15bsim/nrf54l15/cpuapp
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

&wdt31 {
status = "okay";
};
4 changes: 2 additions & 2 deletions tests/drivers/watchdog/wdt_error_cases/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
#define DEFAULT_WINDOW_MIN (0U)

/* Align tests to the specific target: */
#if defined(CONFIG_SOC_SERIES_NRF54LX) || defined(CONFIG_SOC_NRF54H20) || \
defined(CONFIG_SOC_NRF9280)
#if defined(CONFIG_SOC_SERIES_NRF53X) || defined(CONFIG_SOC_SERIES_NRF54LX) || \
defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_NRF9280)
#define WDT_TEST_FLAGS \
(WDT_DISABLE_SUPPORTED | WDT_FLAG_RESET_SOC_SUPPORTED | \
WDT_FLAG_ONLY_ONE_TIMEOUT_VALUE_SUPPORTED | WDT_OPT_PAUSE_IN_SLEEP_SUPPORTED | \
Expand Down
2 changes: 2 additions & 0 deletions tests/drivers/watchdog/wdt_error_cases/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ common:
tests:
drivers.watchdog.wdt_error_cases:
platform_allow:
- nrf5340dk/nrf5340/cpuapp
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
Expand Down
1 change: 1 addition & 0 deletions tests/subsys/fs/fcb/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tests:
- nrf52840dk/nrf52840
filesystem.fcb.no_erase:
platform_allow:
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
filesystem.fcb.native_sim.no_erase:
Expand Down
1 change: 1 addition & 0 deletions tests/subsys/storage/stream/stream_flash/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tests:
# common platforms could bring them here too so filter these out.
filter: not dt_compat_enabled("zephyr,sim-flash")
platform_allow:
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
extra_configs:
# Tests, currently, can only support single device testing
Expand Down
Loading