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

mcu/nrf: Increase watchdog interrupt priority #3141

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Feb 8, 2024

Watchdog interrupt priority was set to minimal value. It seems that when Watchdog interrupt is triggered there is no much that can be done and the system reboot is imminent, so there is not point in doing anything else while watchdog interrupt handler can indicate problem.

If some other interrupt had problem that resulted in busy loop watchdog interrupt would never fire due to lowest priority set.

This increases watchdog interrupt priority to maximum for Nordic MCU's.

Watchdog interrupt priority was set to minimal value.
It seems that when Watchdog interrupt is triggered there is
no much that can be done and the system reboot is imminent,
so there is not point in doing anything else while watchdog
interrupt handler can indicate problem.

If some other interrupt had problem that resulted in busy loop
watchdog interrupt would never fire due to lowest priority set.

This increases watchdog interrupt priority to maximum for
Nordic MCU's.
@kasjer kasjer merged commit 920bf36 into apache:master Feb 16, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/nrf-wdog-irq-prio branch February 16, 2024 19:23
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