summaryrefslogtreecommitdiff
path: root/chip/stm32/host_command_common.c
Commit message (Collapse)AuthorAgeFilesLines
* COIL: Rename CONFIG_I2C_PERIPHERALDiana Z2020-11-051-2/+2
| | | | | | | | | | | | | Rename CONFIG_I2C_PERIPHERAL and related comments. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I3f148e976f3a4d6a1dc6c58686368c056290d5d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518660 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* chip/stm32: Fix transport detection in RO.Tom Hughes2020-10-301-18/+8
| | | | | | | | | | | | | | | | | | | | | | The FPSENSOR task only runs in RW, not RO, so IS_ENABLED(HAS_TASK_FPSENSOR) is false in RO. As a result, we were returning the wrong protocol information for bloonchipper boards with UART when running in RO. BRANCH=none BUG=b:171370392 TEST=none TEST=Using dragonclaw v0.2 and servo_micro: ./test/run_device_tests.py -t fpsensor_uart_ro ./test/run_device_tests.py -t fpsensor_uart_rw ./test/run_device_tests.py -t fpsensor_spi_ro ./test/run_device_tests.py -t fpsensor_spi_rw Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Iccf801ef453a5dc6d8a21df11af41c60818781b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2508861 Reviewed-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Reviewed-by: Yicheng Li <yichengli@chromium.org>
* Bloonchipper: USART based transport layer for host commandBhanu Prakash Maiya2020-06-051-0/+56
1. USART host command layer in chip/stm32 2. Fix usart implementation in stm32 BUG=b:147849609 BRANCH=none TEST=1. make BOARD=bloonchipper -j 2. usart request and response works on dragonclaw Change-Id: Idd89d3e490f23aa528ecaf6510c13d16b405de13 Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2190531 Tested-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Craig Hesling <hesling@chromium.org> Commit-Queue: Bhanu Prakash Maiya <bhanumaiya@chromium.org> Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@chromium.org>