-
Notifications
You must be signed in to change notification settings - Fork 2.1k
sys/log_*: modularize log into log_color and log_printfnoformat #18425
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
Conversation
i moved the doccheck changes to #18431 and added the Kconfig adaption |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log_%
should pull in log
as a dependency in sys/Makefile.dep
, so it also works as long as we still use "legacy" dependencies.
this already is the case in master as this was needed for the pseudomodules as well https://github.com/RIOT-OS/RIOT/blob/master/sys/Makefile.dep#L399-L402 and unchaged in this PR |
039f183
to
fc0afac
Compare
- log_color: make log_write nonstatic - log_printfnoformat - apply module split to Kconfig
fc0afac
to
bac70c5
Compare
Murdock results✔️ PASSED e89063e sys/log_color: guard from compiling for esp
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
1f4ae3a
to
05cf1e8
Compare
05cf1e8
to
e89063e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a sensible cleanup.
Not having a copy of the log function in every object file is IMO a bugfix. @leandrolanzieri I'd like to still have this. Please hit merge if you have no objections. |
Contribution description
this transforms sys/log into two simple modules
this also makes log_write nonstatic for log_color
(saving a lot of space in builds) from #18403
Testing procedure
there are log tests all variants
Issues/PRs references
this arose from the discussion in #18403
this also solves #18379