EFM32: Update a configuration; Compile fix for when DEBUG is enabled

This commit is contained in:
Gregory Nutt 2014-10-28 07:24:04 -06:00
parent facf7e916e
commit 1c8bf0c395
3 changed files with 6 additions and 3 deletions

View File

@ -1546,7 +1546,7 @@ static int spi_portinitialize(struct efm32_spidev_s *priv)
* 1. USART GPIO pins were configured in efm32_lowsetup(). Chip select
* pins must be configured by board specific logic before
* efm32_spi_initialize() is called.
* 2. Clocking for the USART as also enabled in up_lowsetup();
* 2. Clocking for the USART as also enabled in efm32_lowsetup();
*/
/* Set bits for synchronous mode */

View File

@ -81,7 +81,7 @@ static void go_os_start(void *pv, unsigned int nbytes)
# if defined(CONFIG_ARMV7M_ITMSYSLOG)
# define showprogress(c) (void)syslog_putc(c)
# elif defined(HAVE_UART_CONSOLE) || defined(HAVE_LEUART_CONSOLE)
# define showprogress(c) up_lowputc(c)
# define showprogress(c) efm32_lowputc(c)
# else
# define showprogress(c)
# endif

View File

@ -139,9 +139,11 @@ CONFIG_EFM32_HAVE_USART2=y
CONFIG_EFM32_HAVE_UART0=y
# CONFIG_EFM32_HAVE_UART1 is not set
CONFIG_EFM32_HAVE_LEUART1=y
# CONFIG_EFM32_USART is not set
# CONFIG_EFM32_USART_ISUART is not set
# CONFIG_EFM32_USART_ISSPI is not set
CONFIG_EFM32_UART=y
# CONFIG_EFM32_LEUART is not set
# CONFIG_EFM32_DMA is not set
# CONFIG_EFM32_USART0 is not set
# CONFIG_EFM32_USART1 is not set
# CONFIG_EFM32_USART2 is not set
@ -399,6 +401,7 @@ CONFIG_ARCH_HAVE_UART0=y
#
CONFIG_MCU_SERIAL=y
CONFIG_STANDARD_SERIAL=y
# CONFIG_ARCH_HAVE_SERIAL_TERMIOS is not set
CONFIG_UART0_SERIAL_CONSOLE=y
# CONFIG_OTHER_SERIAL_CONSOLE is not set
# CONFIG_NO_SERIAL_CONSOLE is not set