When I load the default BSP package in Keil for the MIMXRT1060-EVK, my debug console is automatically configured for LPUART as below:
/* Initialize debug console. */
uint32_t uartClkSrcFreq = BOARD_DebugConsoleSrcFreq();
DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, BOARD_DEBUG_UART_BAUDRATE, BOARD_DEBUG_UART_TYPE, uartClkSrcFreq);
I would like to change this to SWO but I'm unsure what settings to use. Is anyone able to advise?
Is there any way to auto-configure this like I can for pins/clock/peripherals?