Skip to content

pkg/littlefs: make use of RIOT's log module instead of pkg provided macros#20894

Merged
mguetschow merged 2 commits intoRIOT-OS:masterfrom
Enoch247:littlefs-logging
Oct 17, 2024
Merged

pkg/littlefs: make use of RIOT's log module instead of pkg provided macros#20894
mguetschow merged 2 commits intoRIOT-OS:masterfrom
Enoch247:littlefs-logging

Conversation

@Enoch247
Copy link
Copy Markdown
Contributor

@Enoch247 Enoch247 commented Oct 7, 2024

Contribution description

This patch replaces littlefs's logging with RIOT's own logging module.

Testing procedure

make -C tests/pkg/littlefs all term
make -C tests/pkg/littlefs2 all term

Issues/PRs references

Some log messages in the tests needed to be silenced due to this patch also fixing broken support of logging in the package. See #20889.

@github-actions github-actions bot added Area: tests Area: tests and testing framework Area: pkg Area: External package ports labels Oct 7, 2024
Copy link
Copy Markdown
Contributor

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

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

Thanks, good idea!

Copy link
Copy Markdown
Contributor

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

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

Looks good then, please squash :)

@mguetschow mguetschow changed the title littlefs: make use of RIOT's log module instead of pkg proided macros littlefs: make use of RIOT's log module instead of pkg provided macros Oct 11, 2024
@mguetschow mguetschow changed the title littlefs: make use of RIOT's log module instead of pkg provided macros pkg/littlefs: make use of RIOT's log module instead of pkg provided macros Oct 11, 2024
This patch replaces the package supplied logging macros with RIOT's. It
also removes the requirement that DEVELHELP be defined to enable
logging. Instead, logging can be enabled/dissabled via the log level.

The patch also replaceses the package's trace macro with RIOT's DEBUG
macro.
This patch replaces the package supplied logging macros with RIOT's. It
also removes the requirement that DEVELHELP be defined to enable
logging. Instead, logging can be enabled/dissabled via the log level.
@Enoch247
Copy link
Copy Markdown
Contributor Author

Looks good then, please squash :)

done

@mguetschow mguetschow added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Oct 17, 2024
@riot-ci
Copy link
Copy Markdown

riot-ci commented Oct 17, 2024

Murdock results

✔️ PASSED

96e5f14 pkg/littlefs: make use of RIOT's logging

Success Failures Total Runtime
10214 0 10215 22m:03s

Artifacts

@mguetschow mguetschow added this pull request to the merge queue Oct 17, 2024
Merged via the queue into RIOT-OS:master with commit 4f5c0ed Oct 17, 2024
@Enoch247 Enoch247 deleted the littlefs-logging branch October 21, 2024 14:33
@benpicco benpicco added this to the Release 2024.10 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: pkg Area: External package ports Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants