roll: pigweed, pw_toolchain: pw_stream_uart_linux: Add Config struct

The config struct only has two basic properties for configuring the
UART - the baudrate, and a new property added by this change for
enabling flow control.

We opt to make the properties to the Config struct as std::optional to
allow the user to "keep" the default behaviour / previously set tty
behaviour. This maintains backwards compatability of this API and also
more closely resembles the Linux tty interface.

Original-Bug: 331871421
Test: CRTSCTS bit is processed on device serial uart driver on Open
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/233591

https://pigweed.googlesource.com/pigweed/pigweed
pigweed, pw_toolchain Rolled-Commits: 2fbf9d847123b2e..114064192788e79
Roller-URL: https://ci.chromium.org/b/8737702145734827761
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I45b79ef63bc03c246cb145fbed70ae9fe9924b34
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/234011
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: 04fb7890da1c912ba3f15bea3c5eeac502c57fae
  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.