Repository navigation
drivertest/watchdog: tighten reset cause and timing validation - #3983
Merged
xiaoxiang781216 merged 2 commits intoNov 21, 2026
Merged
Conversation
bigcat-2026
force-pushed
the
port/watchdog-test-validation
branch
from
November 6, 2026 01:38
e85e597 to
1067622
Compare
Use a chip-specific expected reset cause (ESP32-S3 reports a core MWDT reset instead of the system RWDT reset), and validate the reported timeleft against the measured ping delay. Ported from open-vela/nuttx-apps#142. Signed-off-by: bigcat2026 <bigcat_2026@163.com>
bigcat-2026
force-pushed
the
port/watchdog-test-validation
branch
from
November 6, 2026 01:42
1067622 to
be39731
Compare
casaroli
reviewed
Nov 7, 2026
Do not hard-code the expected reset cause per SoC. Add a -c option so the caller can provide the BOARDIOC_RESETCAUSE value expected by the target board. Signed-off-by: bigcat2026 <bigcat_2026@163.com>
bigcat-2026
force-pushed
the
port/watchdog-test-validation
branch
from
November 20, 2026 06:49
78e5b27 to
b717808
Compare
xiaoxiang781216
approved these changes
Nov 20, 2026
GUIDINGLI
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tighten the watchdog driver test validation, ported from
open-vela/nuttx-apps#142.
BOARDIOC_RESETCAUSE_CORE_MWDTreset, while other platforms reportBOARDIOC_RESETCAUSE_SYS_RWDT.timeleftis not greater than the configuredtimeout.
of the configured ping delay.
Change
testing/drivers/drivertest/drivertest_watchdog.c