roll: pigweed pw_system: Make console support extra hdlc frame handlers

pw_system console supports only the default hdlc frame address the and
default handling. Downstream projects can not add custom frame handlers.
Add arguments to pw_system console modules so it can support extra hdlc
frame handlers.

- Add parameters to pass the extra frame handler to Device
- Add a wrapper for frame handler to access the device instance

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/245192
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 1f2341cd64eaacb9de474510293397b50165b3b5

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: cec451dc5c2cb1..1f2341cd64eaac
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8732586145454988369
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I8e3e4d0a40f13d5ac9d9b55dc3e51bbbcec859b5
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/245542
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 file changed
tree: 4324376e39a23136dbb032889cde5eb4d1ac7815
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.