diff --git a/arch/arm/src/cxd56xx/cxd56_rtc.c b/arch/arm/src/cxd56xx/cxd56_rtc.c index c9d216625e..1f04215430 100644 --- a/arch/arm/src/cxd56xx/cxd56_rtc.c +++ b/arch/arm/src/cxd56xx/cxd56_rtc.c @@ -48,6 +48,7 @@ #include #include #include +#include #include diff --git a/arch/arm/src/lpc17xx/lpc17_lowputc.c b/arch/arm/src/lpc17xx/lpc17_lowputc.c index 7970940f90..68d6692144 100644 --- a/arch/arm/src/lpc17xx/lpc17_lowputc.c +++ b/arch/arm/src/lpc17xx/lpc17_lowputc.c @@ -86,6 +86,11 @@ # define CONSOLE_2STOP CONFIG_UART3_2STOP #elif defined(HAVE_CONSOLE) # error "No CONFIG_UARTn_SERIAL_CONSOLE Setting" +# define CONSOLE_BASE LPC17_UART0_BASE +# define CONSOLE_BAUD 115200 +# define CONSOLE_BITS 8 +# define CONSOLE_PARITY 0 +# define CONSOLE_2STOP 0 #endif /* Get word length setting for the console */ @@ -99,7 +104,7 @@ #elif CONSOLE_BITS == 8 # define CONSOLE_LCR_WLS UART_LCR_WLS_8BIT #elif defined(HAVE_CONSOLE) -# error "Invalid CONFIG_UARTn_BITS setting for console " +# error "Invalid CONFIG_UARTn_BITS setting for console" #endif /* Get parity setting for the console */ @@ -115,7 +120,7 @@ #elif CONSOLE_PARITY == 4 # define CONSOLE_LCR_PAR (UART_LCR_PE|UART_LCR_PS_STICK0) #elif defined(HAVE_CONSOLE) -# error "Invalid CONFIG_UARTn_PARITY setting for CONSOLE" +# error "Invalid CONFIG_UARTn_PARITY setting for CONSOLE" #endif /* Get stop-bit setting for the console and UART0-3 */ diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 69f88009a6..c2def102e5 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -1563,10 +1563,10 @@ int main(int argc, char **argv, char **envp) else if (indent > 0) { /* REVISIT: Generates false alarms when a statement continues on - * the next line. The bstatm check limits to lines beginnnig with + * the next line. The bstatm check limits to lines beginning with * C keywords. * REVISIT: The bstatm check will not detect statements that - * do not begin with a C keyword (such as assignement statements). + * do not begin with a C keyword (such as assignment statements). * REVISIT: Generates false alarms on comments at the end of * the line if there is nothing preceding (such as the aligned * comments with a structure field definition). So disabled for