Go to file
Nicolas Boichat 27e9ca8e64 servo_micro: Allow setting the baud rate for usart
We set the baud rate in increments of 100 baud, to avoid
overflowing the 16-bit wValue integer (921600 is the highest we
are likely to use).

Also, increment the buffer size for USART3 to 1024 bytes. That
helps a bit to avoid losing characters, but we still can't keep
up if the host is printing at maximum speed.

BRANCH=servo
BUG=chromium:876651
TEST=baud usart2/3/4 115200 in servo_micro console
TEST=dut-control cpu_uart_baudrate:921600
     seq 1 1000 shows numbers 1 to 226 before buffer overflows

Change-Id: Ifca266189f93def493f207dd29d2cceca4d8d68f
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1189782
Reviewed-by: Nick Sanders <nsanders@chromium.org>
(cherry picked from commit 7eb9ff3cfc)
Reviewed-on: https://chromium-review.googlesource.com/1213552
Commit-Queue: Nick Sanders <nsanders@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
2018-09-07 19:17:20 +00:00
baseboard octopus: update bip for lower power hibernate 2018-08-23 17:42:49 -07:00
board servo_micro: Allow setting the baud rate for usart 2018-09-07 19:17:20 +00:00
builtin assert/panic: mark noreturn to inform the compiler 2018-07-12 22:10:02 -07:00
chip servo_micro: Allow setting the baud rate for usart 2018-09-07 19:17:20 +00:00
common ccd_config: add flag restricting ccd open 2018-08-25 19:27:11 -07:00
core common: add BASE_CHANGE hook 2018-08-21 19:27:46 -07:00
cts eCTS: Run openocd and lsusb as a root 2017-07-08 20:38:53 -07:00
docs g: rename usb_updater into gsctool 2017-10-10 22:13:43 -07:00
driver bd99992: add some more register definitions 2018-08-24 22:16:56 -07:00
extra Move fuzzing tests into a fuzz subfolder. 2018-08-22 16:02:19 -07:00
fuzz Move fuzzing tests into a fuzz subfolder. 2018-08-22 16:02:19 -07:00
include ccd_config: add flag restricting ccd open 2018-08-25 19:27:11 -07:00
power power/mt8183: Power sequence from S5, not G3 2018-08-24 03:59:47 -07:00
test Move fuzzing tests into a fuzz subfolder. 2018-08-22 16:02:19 -07:00
util Revert "ec3po: quit console & interpreter loop when parent process changes." 2018-08-27 23:10:05 +00:00
.checkpatch.conf checkpatch: prevent stupid complaints about description title 2016-07-21 13:13:27 -07:00
.clang-format ec: Add .clang-format 2018-05-02 22:20:48 -07:00
.gitignore Makefile.rules: Add targets to see file size differences 2016-11-15 17:43:21 -08:00
COMMIT-QUEUE.ini kevin/gru: remove board almost completely 2018-06-21 19:56:34 -07:00
LICENSE Add LICENSE file to project 2012-05-11 09:11:52 -07:00
Makefile Move fuzzing tests into a fuzz subfolder. 2018-08-22 16:02:19 -07:00
Makefile.rules test: host_command_fuzz: fuzzing test 2018-08-16 00:30:08 -07:00
Makefile.toolchain test: host_command_fuzz: fuzzing test 2018-08-16 00:30:08 -07:00
OWNERS Add OWNERS files 2014-04-02 19:58:53 +00:00
PRESUBMIT.cfg presubmit_check: disable SPDX_LICENSE_TAG check 2018-06-12 21:50:39 -07:00
README README: Add link to quick-build instructions 2015-12-07 13:49:35 -08:00
README.fmap Update EC config and FMAP to reserve room for vboot signatures 2012-05-04 14:42:58 -07:00
setup.py util: correct unpack_ftb 2018-06-19 03:48:52 -07:00

README

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