Skip to content

RP2040 and RP2350 have different maximum watchdog delays #2500

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

lurch
Copy link
Contributor

@lurch lurch commented Jun 2, 2025

RP2040-E1 doesn't apply to RP2350 😉 I spotted this whilst investigating #2497

@lurch lurch added documentation Improvements or additions to documentation hardware_watchdog labels Jun 2, 2025
@lurch lurch mentioned this pull request Jun 2, 2025
@lurch
Copy link
Contributor Author

lurch commented Jun 3, 2025

Updated and force-pushed

@@ -124,7 +131,7 @@ bool watchdog_enable_caused_reboot(void);
* \brief Returns the number of microseconds before the watchdog will reboot the chip.
* \ingroup hardware_watchdog
*
* \if rp2040_specicifc
* \if rp2040_specific
* On RP2040 this method returns the last value set instead of the remaining time due to a h/w bug.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kilograham Do you know which hardware bug this is referring to? The RP2040 datasheet lists RP2040-E1 (which doesn't cover this) as the only watchdog-related errata.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like I'd forgotten about #1492 🤦

Copy link
Contributor

@peterharperuk peterharperuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit better

@kilograham kilograham added this to the 2.1.2 milestone Jun 12, 2025
@kilograham kilograham merged commit e6d1892 into develop Jun 12, 2025
8 checks passed
@kilograham kilograham deleted the lurch-patch-1 branch June 12, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation hardware_watchdog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants