mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
7dab0e853caf04a3c8d5d1f7b795a23f8b6142d9
The UART block on the g chip has no functionality to adjust the parity. Unfortunately, this feature is needed for certain applications. This commit adds a UART bit bang driver with support for configuring the baud rate and parity. It currently only supports 8 data bits. BUG=b:35648297 BRANCH=cr50 TEST=make -j buildall TEST=With some other patches, successfully flash rowan EC at 9600 baud. Change-Id: I86a160c0960e46b3a8bb1057518f625aefb7d81f Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/503473 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%