Skip to content

Log start2 lfs#2105

Merged
openshwprojects merged 3 commits into
openshwprojects:mainfrom
MaxineMuster:logStart2LFS
Jun 2, 2026
Merged

Log start2 lfs#2105
openshwprojects merged 3 commits into
openshwprojects:mainfrom
MaxineMuster:logStart2LFS

Conversation

@MaxineMuster
Copy link
Copy Markdown
Contributor

Implement logging of startup messages to LFS - new version of #2076:

logStartup2lfs [optional seconds] [optional repeats]   Enable writing startup log to lfs for this number of seconds.
    seconds: up to 30 - default 10s
    repeats: default only once

Disable (running and further logging to LFS ) with logStartup2lfs 0

Feature an be enabled (if LFS is enabled, too) with #define ENABLE_LOG2LFS 1 in obk_config.h

Example use:
Start logging first ten seconds of messages to LFS on next start:  logStartup2LFS
Log the next 3 startups to LFS for 15 seconds :           logStartup2LFS 15 3

Bildschirmfoto

Also commented mainConfig_t member addresses (often dependent on the platform) and introduced two "short" vars to make (prior "hidden/implicit") padding visible.

Add some more comments to reflect actual offstes inside mainConfig_t
Add two conditional "short"s to make (implicit) padding visible inside mainConfig_t

For testing enable LOG2LFS for all platforms with LFS
Disable feature ENABLE_LOG2LFS by default
@openshwprojects openshwprojects merged commit 91a0fd2 into openshwprojects:main Jun 2, 2026
63 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🎉 This PR is included in version 1.18.289 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants