-
Notifications
You must be signed in to change notification settings - Fork 3k
DO-NOT-MERGE: Test feature-watchdog branch after rebase #10657
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
DO-NOT-MERGE: Test feature-watchdog branch after rebase #10657
Conversation
HAL watchdog functionality will be implemented as two separate APIs. The reset reason API allows a user to detect the last system reset reason to identify if a Watchdog was triggered. The Watchdog API allows configuring and updating Watchdog timers on all boards. This commit defines the headers.
- Add preprocessor guard to watchdog api that errors if the reset reason api is not also implemented - Add RESET_REASON and WATCHDOG to K64F targets.json - Add watchdog reference implementation
- Fix typo in module comment - Redefine the default system behaviour in sleep mode - Guard K64F enableWait flag - Remove bit shifts from reset reason enum
- Change API to match C++ API throughout drivers - Amend HAL API documentation to be more specific
WDOG_Disable will suspend the watchdog until a reset is triggered instead of stopping it altogether. Deinit will disable it until it is reinitialized.
Limit MAX_TIMEOUT_MS to UINT32_MAX. Improve MAX_TIMEOUT_MS handling. Fix hal_watchdog_get_platform_features() returning .max_timeout = 0xfffffff8 instead of 0xffffffff.
Fix WATCHDOG_STATUS_INVALID_ARGUMENT for timeout values from 1 ms to 407 ms (fix inability to set prescaler bits to zero). Fix timeout <-> IWDG registers conversions. Fix read & write access to IWDG_PR and IWDG_RLR registers. Fix LSI RC frequency setting. Limit MAX_TIMEOUT_MS to UINT32_MAX.
Added a missing wait for the WCT window end. Without it, consecutive init() or stop() calls were ignored.
Relax time measurement margins for UBLOX_EVK_ODIN_W2.
@fkjagodzinski, thank you for your changes. |
Ci started |
Test run: FAILEDSummary: 3 of 7 test jobs failed Failed test jobs:
|
I removed the |
CI restarted |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
@fkjagodzinski Ready for update? Let me know |
Yep, this rebased |
Rebased now, closing |
Description
This PR contains all changes from
feature-watchdog
branch rebased to currentmaster
(c4cc9c4). We need to run CI checks, to make sure nothing has been broken during the rebase.Pull request type
Reviewers
@0xc0170 @jamesbeyond
Release Notes