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

[nrf fromlist] tests: drivers: hwinfo: Add test for reset cause on nr… #2401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nordic-segl
Copy link
Contributor

…f54h20

Add test that checks reset cause reported by HWINFO.

Check that hwinfo_get_supported_reset_cause() returns expected value.

Check that hwinfo_get_reset_cause() correctly detects:

  • RESET_PIN,
  • RESET_SOFTWARE,
  • RESET_WATCHDOG.

Check that reset cause can be cleared
with hwinfo_clear_reset_cause().

Upstream PR #: 83126

manifest-pr-skip

nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Dec 18, 2024
Include
tests: drivers: hwinfo: Add test for reset cause on nrf54h20
nrfconnect/sdk-zephyr#2401
zephyrproject-rtos/zephyr#83126

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-6895_Test-hwinfo-reset-cause branch 2 times, most recently from 5cfd10f to d65eae9 Compare December 18, 2024 09:31
@nordic-segl nordic-segl force-pushed the NRFX-6895_Test-hwinfo-reset-cause branch from d65eae9 to c53b9dc Compare December 18, 2024 10:18
…f54h20

Add test that checks reset cause reported by HWINFO.

Check that hwinfo_get_supported_reset_cause() returns
expected value.

Check that hwinfo_get_reset_cause() correctly detects:
- RESET_PIN,
- RESET_SOFTWARE,
- RESET_WATCHDOG.

Check that reset cause can be cleared
with hwinfo_clear_reset_cause().

Upstream PR #: 83126

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-6895_Test-hwinfo-reset-cause branch from c53b9dc to ea11cfa Compare December 18, 2024 12:48
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Dec 18, 2024
Include
tests: drivers: hwinfo: Add test for reset cause on nrf54h20
nrfconnect/sdk-zephyr#2401
zephyrproject-rtos/zephyr#83126

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants