diff options
Diffstat (limited to 'nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c')
-rw-r--r-- | nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c b/nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c index 0fcfb5487..4b2ba02b7 100644 --- a/nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c +++ b/nuttx/arch/avr/src/at91uc3/at91uc3_lowconsole.c @@ -302,6 +302,11 @@ void usart_configure(uintptr_t usart_base, uint32_t baud, unsigned int parity, #ifndef CONFIG_USE_EARLYSERIALINIT void up_consoleinit(void) { + /* Enable clocking for the enabled USART modules. Hmmm... It looks like the + * default state for CLK_USART0, USART1 CLK_USART1, and USART2 CLK_USART2 is + * "enabled" in the PM's PBAMASK register. + */ + /* Setup GPIO pins for each configured USART/UART */ #ifdef CONFIG_AVR32_USART0_RS232 |