-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Conversation
@overheat : Sorry, but when checkout this pull request and run the test (sam_e70_xplained, f5a4a698ec17e6a78299966a1a3fe73c3404b78d), I get infinite loop on
|
8fdb1b0
to
bb9909f
Compare
According to #15109, ATSAME70 don't preserve RAM when watchdog triggers, which is a kind of chip bug and also cause failure in watchdog test. So exclude this series of chips from this test. |
bb9909f
to
3d8aea9
Compare
#elif defined(CONFIG_WDT_SAM) | ||
#ifdef CONFIG_SOC_SERIES_SAME70 | ||
#error SAME70 series chip NOT supports this test. | ||
#endif |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
3d8aea9
to
9969331
Compare
@nashif @cinlyooi-intel @SavinayDharmappa @ManojSubbarao |
Hi, @overheat could you please rebase this one, so we can look at it again? thanks in advance |
Sure. For a moment. |
ATSAM watchdog driver does not support callback which is not expected by the test. Update to make testing able to run on ATSAM watchdog drivers. ATSAME70 is NOT support this test, because the RAM is not preserved when the watchdog triggers. Fixes zephyrproject-rtos#13468 Signed-off-by: Aaron Tsui <aaron.tsui@outlook.com>
9969331
to
9755ef6
Compare
the issue was solved in another PR |
ATSAM watchdog driver does not support callback which is not expected by
the test. Update to make testing able to run on ATSAM watchdog drivers.
Fixes #13468 for Arduino_due and so on.
Signed-off-by: Aaron Tsui aaron.tsui@outlook.com