Skip to content
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

stable_20.3.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT #5

Conversation

nmschulte
Copy link

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

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
if (
#if STM32_LSE_ENABLED
(
fomeLseCounter >= FOME_STM32_LSE_MAX_WAIT
Copy link
Author

Choose a reason for hiding this comment

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

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?

Copy link
Author

Choose a reason for hiding this comment

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

Also, this idea doesn't work; I think fomeLseCounter would have to be static for 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 ...

nmschulte/ChibiOS@nms/lse-max_wait-bkp-domain-reset-v20.3.x...nms/lse-max_wait-test-v20.3.x#diff-2ce335069c06af5a22b9f80d71f4e497c5cab4c2f633afcfc55ed1f015dae218

@nmschulte nmschulte marked this pull request as draft January 16, 2025 14:04
@nmschulte nmschulte force-pushed the stable_20.3.x.FOME branch 2 times, most recently from 51d2782 to d463988 Compare January 16, 2025 14:37
@nmschulte nmschulte closed this Jan 16, 2025
@nmschulte nmschulte deleted the nms/lse-max_wait-bkp-domain-reset-v20.3.x branch January 16, 2025 17:12
@nmschulte nmschulte changed the title stable_v20.3.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT stable_20.3.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants