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

Fix watchdog timeout #371

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Fix watchdog timeout #371

merged 2 commits into from
Jan 24, 2024

Conversation

morio
Copy link
Collaborator

@morio morio commented Jan 24, 2024

Fixes the watchdog time out for the ZuluSCSI Pico DaynaPort target and any builds using Earl E Philhower's Pico PlatoformIO framework

Addressing issue  #350

When implementing a dynamic watchdog setup, a fixed alarm number was
passed instead of the dynamic one. This fixes the issue for
the RP2040 targets. The Earl E Philhower PlatoformIO framework
doesn't use mbed so error reporting hasn't been fully implemented yet.
With the arduino pico framework, the proper stack pointer is the
MSP. Using that fixes a hard fault. The original RP2040 code uses
still uses the PSP. Selection is done via C macro against __MBED__.
@aperezbios aperezbios merged commit ca81f38 into main Jan 24, 2024
2 checks passed
@aperezbios aperezbios deleted the fix-watchdog-timeout branch January 24, 2024 19:59
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