Skip to content
Permalink
Browse files

boards: mec15xxevb_assy6853: Update debug control flag

Write all the desired values in the debug control flag.
Initally we were oring it, but this variable does not have
the expected initial values as it also depends on fuse
programming settings, therefore we dont have console.

Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
  • Loading branch information...
franciscomunoz authored and andrewboie committed Jul 24, 2019
1 parent 8104c20 commit 98a339913862825142227d781d8c134fe25c9a35
Showing with 2 additions and 1 deletion.
  1. +2 −1 boards/arm/mec15xxevb_assy6853/pinmux.c
@@ -44,7 +44,8 @@ static int board_pinmux_init(struct device *dev)
* controlled by their respective PCR register (UART2).
* For more details see table 44-1
*/
ECS_REGS->DEBUG_CTRL |= 0x4;
ECS_REGS->DEBUG_CTRL = (MCHP_ECS_DCTRL_DBG_EN |
MCHP_ECS_DCTRL_MODE_SWD);

/* See table 2-4 from the data sheet for pin multiplexing*/
#ifdef CONFIG_UART_NS16550_PORT_2

0 comments on commit 98a3399

Please sign in to comment.
You can’t perform that action at this time.