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

Store startup log in RTC DRAM #1018

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Store startup log in RTC DRAM #1018

merged 1 commit into from
Sep 12, 2023

Conversation

MitchBradley
Copy link
Collaborator

... so it can be preserved across panic resets

With this change, $ss will show the current startup messages on a clean startup, but if FluidNC panics and reboots, $ss will show the startup messages that preceded the panic, prefaced with

[MSG:ERR: Showing startup log from previous panic]

This patch also reduces FluidNC's RAM usage, since the startup log is no longer holding main RAM.

... so it can be preserved across panic resets
@bdring
Copy link
Owner

bdring commented Sep 12, 2023

I tested with a bad config and the $ss report looks good

I tested with a missing config and the report show the default config, which it what I would expect.

OK to merge.

@MitchBradley MitchBradley merged commit c7c1a85 into Devt Sep 12, 2023
24 checks passed
@MitchBradley MitchBradley deleted the PreserveStartupLog branch September 12, 2023 20:16
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.

2 participants