EFM32: Update a configuration; Compile fix for when DEBUG is enabled
This commit is contained in:
parent
5ebc472f43
commit
027b7c5983
@ -1546,7 +1546,7 @@ static int spi_portinitialize(struct efm32_spidev_s *priv)
|
|||||||
* 1. USART GPIO pins were configured in efm32_lowsetup(). Chip select
|
* 1. USART GPIO pins were configured in efm32_lowsetup(). Chip select
|
||||||
* pins must be configured by board specific logic before
|
* pins must be configured by board specific logic before
|
||||||
* efm32_spi_initialize() is called.
|
* 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 */
|
/* Set bits for synchronous mode */
|
||||||
|
@ -81,7 +81,7 @@ static void go_os_start(void *pv, unsigned int nbytes)
|
|||||||
# if defined(CONFIG_ARMV7M_ITMSYSLOG)
|
# if defined(CONFIG_ARMV7M_ITMSYSLOG)
|
||||||
# define showprogress(c) (void)syslog_putc(c)
|
# define showprogress(c) (void)syslog_putc(c)
|
||||||
# elif defined(HAVE_UART_CONSOLE) || defined(HAVE_LEUART_CONSOLE)
|
# elif defined(HAVE_UART_CONSOLE) || defined(HAVE_LEUART_CONSOLE)
|
||||||
# define showprogress(c) up_lowputc(c)
|
# define showprogress(c) efm32_lowputc(c)
|
||||||
# else
|
# else
|
||||||
# define showprogress(c)
|
# define showprogress(c)
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user