-
Notifications
You must be signed in to change notification settings - Fork 7.3k
drivers: watchdog: Add Raspberry Pi Pico watchdog driver #43393
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
Conversation
@yonsch could you give this a review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm no expert on Zephyr's WD API nor the pico's WD, but here's what I could find
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not super familiar with the WDT stuff, but a couple general items I noticed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One other minor nitpick I noticed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't have any experience with RPi Pico, but the watchdog code looks very clean and sound. I assume you have successfully tested it in hardware.
As we just passed feature freeze for v3.1 we'll need to wait till the release beginning of June for this to get merged.
twister is failing; @thedjnK can you please take a look? |
Yes, the basic wdt test passes on the device. |
@thedjnK One thing I forgot - please add watchdog to the table of supported features in the board's doc |
@thedjnK Please rebase, add the watchdog to the documentation, and remove the release notes change. Then I think we can merge this. |
@yonsch would you mind taking over the PR and force-pushing the changes so we can get this merged? |
This adds basic support for the watchdog timer on the RP2040 MCU and Raspberry Pi Pico development board Signed-off-by: Jamie McCrae <[email protected]>
Adds support for running the wdt test on the Raspberry Pi Pico by increasing the window size and disabling timeouts. Signed-off-by: Jamie McCrae <[email protected]>
The Raspberry Pi Pico watchdog is now supported, this adds a note to the release notes with this information. Signed-off-by: Jamie McCrae <[email protected]>
Adds Watchdog timer (WDT) to the list of supported features for the Raspberry Pi Pico board. Signed-off-by: Jamie McCrae <[email protected]>
This adds support for running the watchdog driver sample on a Raspberry Pi Pico board. Signed-off-by: Jamie McCrae <[email protected]>
This adds basic support for the watchdog timer on the RP2040 MCU and
Raspberry Pi Pico development board
Tested on a raspberry pi pico board with a modified hello world sample, board reboots after ~8 seconds