diff options
author | Anton Staaf <robotboy@chromium.org> | 2015-07-28 15:11:28 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-24 19:08:30 +0000 |
commit | 16f63703c9ccc46ec48abcc586a595456e99fc9a (patch) | |
tree | 17dc3fa9b72217675e64507facddb7395e91390c /chip/stm32/usart-stm32f0.h | |
parent | f7fa6248bf170d2fffbf3fb067b6ed40f0a4d55f (diff) | |
download | chrome-ec-16f63703c9ccc46ec48abcc586a595456e99fc9a.tar.gz |
USART: Add usart_info command
This optional console command is enabled with CONFIG_USART_INFO_COMMAND.
It will display and clear dropped character and overrun counts for all
configured USARTs.
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Change-Id: Icf6061aaab2cda71e9d317455c897828b9daf844
Reviewed-on: https://chromium-review.googlesource.com/292770
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
Trybot-Ready: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'chip/stm32/usart-stm32f0.h')
-rw-r--r-- | chip/stm32/usart-stm32f0.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/stm32/usart-stm32f0.h b/chip/stm32/usart-stm32f0.h index 4c4e9ad93e..74ae71622c 100644 --- a/chip/stm32/usart-stm32f0.h +++ b/chip/stm32/usart-stm32f0.h @@ -7,8 +7,6 @@ #include "usart.h" -#define STM32_USARTS_MAX 4 - /* * The STM32F0 series can have as many as four UARTS. These are the HW configs * for those UARTS. They can be used to initialize STM32 generic UART configs. |