Skip to content

watchdog: skip notification registration when device lacks interrupt support - #587

Open
dmcgougan wants to merge 1 commit into
buserror:masterfrom
dmcgougan:fix-watchdog-missing-interrupt-vector
Open

watchdog: skip notification registration when device lacks interrupt support#587
dmcgougan wants to merge 1 commit into
buserror:masterfrom
dmcgougan:fix-watchdog-missing-interrupt-vector

Conversation

@dmcgougan

Copy link
Copy Markdown

ATmega128 has no watchdog interrupt and represents it with vector zero as a placeholder. Registering a notification for that placeholder causes simavr to crash during an ATmega128 reset.

Add a guard in the watchdog code to fix the crash and also a host regression test for reset on ATmega128.

…support

ATmega128 has no watchdog interrupt and represents it with vector zero
as a placeholder. Registering a notification for that placeholder causes
simavr to crash during an ATmega128 reset.

Add a guard in the watchdog code to fix the crash and also a host
regression test for reset on ATmega128.
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.

1 participant