Skip to content

Commit

Permalink
[nrf fromtree] tests: drivers: watchodg: Enable wdt_error_cases on nR…
Browse files Browse the repository at this point in the history
…F5340dk

Enable wdt_error_cases test on nRF5340dk.

Define valid test configuration for that target
(reuse from nRF54H/nRF54L).
Add target to the platform_allow.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit c4a817971db94eb65d2a58332ba3136aa13b0dc5)
  • Loading branch information
nordic-segl committed Feb 13, 2025
1 parent c8aea90 commit 8a2bf48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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
1 change: 1 addition & 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,7 @@ common:
tests:
drivers.watchdog.wdt_error_cases:
platform_allow:
- nrf5340dk/nrf5340/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
Expand Down

0 comments on commit 8a2bf48

Please sign in to comment.