Eliminate some warnings

This commit is contained in:
Gregory Nutt 2014-03-26 16:31:26 -06:00
parent 67695a2248
commit 8f7d58c011
2 changed files with 5 additions and 1 deletions

View File

@ -152,7 +152,10 @@
# undef CONFIG_USART2_SERIAL_CONSOLE
# define HAVE_CONSOLE 1
#else
# warning "No valid CONFIG_USARTn_SERIAL_CONSOLE Setting"
# ifndef CONFIG_NO_SERIAL_CONSOLE
# warning "No valid CONFIG_USARTn_SERIAL_CONSOLE Setting"
# endif
# undef CONFIG_UART0_SERIAL_CONSOLE
# undef CONFIG_UART1_SERIAL_CONSOLE
# undef CONFIG_USART0_SERIAL_CONSOLE

View File

@ -51,6 +51,7 @@
#include "sam_clockconfig.h"
#include "sam_lowputc.h"
#include "sam_cmcc.h"
#include "sam_userspace.h"
/****************************************************************************