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

refactor: Remove static CDC ACM logging nodes. #2336

Merged

Conversation

petejohanson
Copy link
Contributor

  • To avoid spurious CDC ACM instances when usint CDC ACM for something other than logging, move to the approach used by Zephyr of using a snippet to redirect console output to a CDC ACM node added by the snippet. Remove all the existing static CDC ACM nodes.
  • Add new zmk-usb-logging snippet that mirrors the upstream cdc-acm-logging snippet, but still does our extra USB logging configuration.
  • Updated logging docs accordingly.

@petejohanson petejohanson added core Core functionality/behavior of ZMK refactor labels Jun 17, 2024
@petejohanson petejohanson self-assigned this Jun 17, 2024
@petejohanson petejohanson force-pushed the core/zmk-usb-logging-snippet branch from 032068b to 579419b Compare June 17, 2024 21:55
* To avoid spurious CDC ACM instances when usint CDC ACM for something
  other than logging, move to the approach used by Zephyr of using a
  snippet to redirect console output to a CDC ACM node added by the
  snippet. Remove all the existing static CDC ACM nodes.
* Add new `zmk-usb-logging` snippet that mirrors the upstream
  `cdc-acm-logging` snippet, but still does our extra USB logging
  configuration.
* Updated logging docs accordingly.

Co-authored-by: Cem Aksoylar <[email protected]>
@petejohanson petejohanson force-pushed the core/zmk-usb-logging-snippet branch from 6f8af2a to b10b2a8 Compare June 20, 2024 07:27
@petejohanson petejohanson requested a review from caksoylar June 20, 2024 07:27
@petejohanson petejohanson merged commit a080b52 into zmkfirmware:main Jun 20, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionality/behavior of ZMK refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants