-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[EFR32]Fix Boot Reason (TC-DGGEN-2.2) #22077
Merged
jmartinez-silabs
merged 1 commit into
project-chip:master
from
jmartinez-silabs:fix_boot_reason
Aug 22, 2022
Merged
[EFR32]Fix Boot Reason (TC-DGGEN-2.2) #22077
jmartinez-silabs
merged 1 commit into
project-chip:master
from
jmartinez-silabs:fix_boot_reason
Aug 22, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…sl_ot_sys_init by manual call. OT efr32MiscInit was 'stealing' the reboot cause from the matter stack
andy31415
approved these changes
Aug 22, 2022
SVE request for cherry-pick : EFR32 platform fix to pass TC-DGGEN-2.2 |
PR #22077: Size comparison from 585a53a to 3f40a04 Increases (7 builds for cc13x2_26x2, efr32, telink)
Decreases (10 builds for bl602, cc13x2_26x2, efr32, esp32, nrfconnect, psoc6, telink)
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
|
jepenven-silabs
approved these changes
Aug 22, 2022
github-actions bot
pushed a commit
that referenced
this pull request
Aug 22, 2022
…sl_ot_sys_init by manual call. OT efr32MiscInit was 'stealing' the reboot cause from the matter stack (#22077)
isiu-apple
pushed a commit
to isiu-apple/connectedhomeip
that referenced
this pull request
Sep 16, 2022
…sl_ot_sys_init by manual call. OT efr32MiscInit was 'stealing' the reboot cause from the matter stack (project-chip#22077)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The boot-reasons always read 0
Read-event doesn't read anything. event isn't created a bootup
Change overview
Fix EFR32 Boot Reason prototype so it matches and overrides the generic one.
The generic one return not_implemented so the event reboot event wasn't created
Replace sl_ot_sys_init by the needed call from things functions. Else efr32MiscInit from ot-efr32 code was being called and 'stealing' the reboot cause from the matter stack (read and clear the register).
Testing
Manual testing
Cause different reboot cause and test with