mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
snoball: Correct DMA UART channels
Snoball uses DMA2 + DMA3 for UART1 debug console. No changes are needed to STM32_SYSCFG_CFGR1 since this is the register default config. BUG=chrome-os-partner:47851 BRANCH=None TEST=Boot snoball, verify EC console works in both directions. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: Id984b63f8c0c2d5c042265fd86b3d0c71fd68e6f Reviewed-on: https://chromium-review.googlesource.com/313168 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
06c2b877d6
commit
8704de934e
@@ -13,6 +13,9 @@
|
||||
|
||||
/* the UART console is on USART1 (PA9/PA10) */
|
||||
#define CONFIG_UART_CONSOLE 1
|
||||
/* Use DMA channels 2 + 3 (rather than default 4 + 5) */
|
||||
#define CONFIG_UART_TX_DMA_CH STM32_DMAC_CH2
|
||||
#define CONFIG_UART_RX_DMA_CH STM32_DMAC_CH3
|
||||
|
||||
#define CONFIG_USB_POWER_DELIVERY
|
||||
#define CONFIG_USB_PD_ALT_MODE
|
||||
|
||||
Reference in New Issue
Block a user