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

tests: watchdog: Update test to support ATSAMxxxx based board #14968

Closed
Closed
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
5 changes: 5 additions & 0 deletions tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
#define TIMEOUTS 2
#elif defined(CONFIG_IWDG_STM32)
#define TIMEOUTS 0
#elif defined(CONFIG_WDT_SAM)
#ifdef CONFIG_SOC_SERIES_SAME70
#error SAME70 series chip NOT supports this test.
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change is required ? as u are spiking the test by adding the same70 to platform exclude in testcase.yaml file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SavinayDharmappa according to #15109. section .noinit be cleared(random) during the boot process on ATSAME70 MCU (SAM E70 Xplained board), this bug comes from the SoC itself and not from Zephyr.
I have adding the same70 to platform exclude in testcase.yaml file.

#define TIMEOUTS 0
#else
#define TIMEOUTS 1
#endif
Expand Down
1 change: 1 addition & 0 deletions tests/drivers/watchdog/wdt_basic_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ tests:
peripheral.watchdog:
depends_on: watchdog
tags: drivers watchdog
platform_exclude: sam_e70_xplained