commit | 134859c6b4cd01299b7f446e41b17e882f88e675 | [log] [tgz] |
---|---|---|
author | Rishi Sikka <rishisikka@pigweed.infra.roller.google.com> | Wed Sep 04 18:40:59 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 04 18:40:59 2024 +0000 |
tree | 04fb7890da1c912ba3f15bea3c5eeac502c57fae | |
parent | 4954492fd8c0b27e616c36e2ead2246af7a92995 [diff] |
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>
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.