Commit 9dcb3cc1 authored by Emanuele Di Santo's avatar Emanuele Di Santo Committed by Anas Nashif
Browse files

tests: drivers: watchdog: wdt_error_cases: fix compilation for nRF9280



Fix compilation by defining the watchdog flags for nRF9280 as well.

Signed-off-by: default avatarEmanuele Di Santo <emdi@nordicsemi.no>
Co-authored-by: default avatarAndreas Moltumyr <andreas.moltumyr@nordicsemi.no>
parent 9f90a3d1
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&wdt010 {
	status = "okay";
};

&wdt011 {
	status = "disabled";
};

&wdt131 {
	status = "disabled";
};

&wdt132 {
	status = "disabled";
};
+21 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&wdt010 {
	status = "disabled";
};

&wdt011 {
	status = "okay";
};

&wdt131 {
	status = "disabled";
};

&wdt132 {
	status = "disabled";
};
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#define DEFAULT_WINDOW_MIN (0U)

/* Align tests to the specific target: */
#if defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54H20)
#if defined(CONFIG_SOC_NRF54L15) || 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 |            \
+2 −0
Original line number Diff line number Diff line
@@ -11,5 +11,7 @@ tests:
      - nrf54l15pdk/nrf54l15/cpuapp
      - nrf54h20dk/nrf54h20/cpuapp
      - nrf54h20dk/nrf54h20/cpurad
      - nrf9280pdk/nrf9280/cpuapp
      - nrf9280pdk/nrf9280/cpurad
    integration_platforms:
      - nrf54l15pdk/nrf54l15/cpuapp