stable_20.3.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT#5
Closed
nmschulte wants to merge 31 commits intoFOME-Tech:stable_20.3.x.FOMEfrom
Closed
Conversation
Based on RT-STM32F429ZI-NUCLEO144
also consider that the RTCSEL might have fallen back to the FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset rusefi@f3524fc
nmschulte
commented
Jan 16, 2025
| if ( | ||
| #if STM32_LSE_ENABLED | ||
| ( | ||
| fomeLseCounter >= FOME_STM32_LSE_MAX_WAIT |
Author
There was a problem hiding this comment.
This errors as the declaration is later.
Also, this idea doesn't work; I think fomeLseCounter would have to be static for it to work?
Author
There was a problem hiding this comment.
Also, this idea doesn't work; I think
fomeLseCounterwould have to bestaticfor it to work?
seems to build ... does it have the effect I'm hoping for? I assume this init function is called on power restore and such? maybe static doesn't survive that ...
7ea171c to
b69d1c1
Compare
51d2782 to
d463988
Compare
This file contains hidden or 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
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.
created a FOME-Tech/ChibiOS:stable_20.3.x.FOME based upon rusefi/ChibiOS:stable_20.3.x.rusefi, which format some files as LF line-endings so that v21 patches/commits will apply cleanly through rebase (skill issue ...).
also consider that the RTCSEL might have fallen back to the FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset
rusefi@f3524fc