diff --git a/configs/README.txt b/configs/README.txt index 57a69f3be44..4937818ddd1 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -1460,6 +1460,10 @@ configs/lpcxpresso-lpc1768 is based on the NXP LPC1768. The Code Red toolchain is used by default. STATUS: Under development. +configs/lpc4330-xplorer + NuttX port to the LPC4330-Xplorer board from NGX Technologies featuring + the NXP LPC4330FET100 MCU + configs/m68322evb This is a work in progress for the venerable m68322evb board from Motorola. This OS is also built with the arm-elf toolchain*. STATUS: diff --git a/configs/lpc4330-xplorer/README.txt b/configs/lpc4330-xplorer/README.txt index abb2a82381c..26b4b1918ee 100644 --- a/configs/lpc4330-xplorer/README.txt +++ b/configs/lpc4330-xplorer/README.txt @@ -1,7 +1,8 @@ README ^^^^^^ -README for NuttX port to the NGX LPC4330-Xplorer board +README for NuttX port to the LPC4330-Xplorer board from NGX Technologies +featuring the NXP LPC4330FET100 MCU Contents ^^^^^^^^ @@ -275,10 +276,10 @@ LPC4330-Xplorer Configuration Options CONFIG_LPC43_USBHOST=n CONFIG_LPC43_USBOTG=n CONFIG_LPC43_USBDEV=n - CONFIG_LPC43_UART0=y + CONFIG_LPC43_USART0=y CONFIG_LPC43_UART1=n - CONFIG_LPC43_UART2=n - CONFIG_LPC43_UART3=n + CONFIG_LPC43_USART2=n + CONFIG_LPC43_USART3=n CONFIG_LPC43_CAN1=n CONFIG_LPC43_CAN2=n CONFIG_LPC43_SPI=n @@ -304,16 +305,16 @@ LPC4330-Xplorer Configuration Options LPC43xx specific device driver settings - CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the - console and ttys0 (default is the UART0). - CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. + CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the + console and ttys0 (default is the USART0). + CONFIG_U[S]ARTn_RXBUFSIZE - Characters are buffered as received. This specific the size of the receive buffer - CONFIG_UARTn_TXBUFSIZE - Characters are buffered before + CONFIG_U[S]ARTn_TXBUFSIZE - Characters are buffered before being sent. This specific the size of the transmit buffer - CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be - CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. - CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity - CONFIG_UARTn_2STOP - Two stop bits + CONFIG_U[S]ARTn_BAUD - The configure BAUD of the UART. Must be + CONFIG_U[S]ARTn_BITS - The number of bits. Must be either 7 or 8. + CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity + CONFIG_U[S]ARTn_2STOP - Two stop bits LPC43xx specific CAN device driver settings. These settings all require CONFIG_CAN: diff --git a/configs/lpc4330-xplorer/ostest/defconfig b/configs/lpc4330-xplorer/ostest/defconfig index ea5e141a9a3..8653cd5b328 100644 --- a/configs/lpc4330-xplorer/ostest/defconfig +++ b/configs/lpc4330-xplorer/ostest/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM4=y CONFIG_ARCH_CHIP=lpc43xx -CONFIG_ARCH_CHIP_LPC4320=y +CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_BOARD=lpc4330-xplorer CONFIG_ARCH_BOARD_LPC4330_XPLORER=y CONFIG_BOARD_LOOPSPERMSEC=7982 @@ -106,10 +106,10 @@ CONFIG_LPC43_ETHERNET=n CONFIG_LPC43_USBHOST=n CONFIG_LPC43_USBOTG=n CONFIG_LPC43_USBDEV=n -CONFIG_LPC43_UART0=y +CONFIG_LPC43_USART0=y CONFIG_LPC43_UART1=n -CONFIG_LPC43_UART2=n -CONFIG_LPC43_UART3=n +CONFIG_LPC43_USART2=n +CONFIG_LPC43_USART3=n CONFIG_LPC43_CAN1=n CONFIG_LPC43_CAN2=n CONFIG_LPC43_SPI=n @@ -135,51 +135,51 @@ CONFIG_LPC43_GPDMA=n # # LPC43xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the +# CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the # console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. +# CONFIG_U[S]ARTn_RXBUFSIZE - Characters are buffered as received. # This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before +# CONFIG_U[S]ARTn_TXBUFSIZE - Characters are buffered before # being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits +# CONFIG_U[S]ARTn_BAUD - The configure BAUD of the UART. Must be +# CONFIG_U[S]ARTn_BITS - The number of bits. Must be either 7 or 8. +# CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity +# CONFIG_U[S]ARTn_2STOP - Two stop bits # -CONFIG_UART0_SERIAL_CONSOLE=y +CONFIG_USART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n -CONFIG_UART2_SERIAL_CONSOLE=n -CONFIG_UART3_SERIAL_CONSOLE=n +CONFIG_USART2_SERIAL_CONSOLE=n +CONFIG_USART3_SERIAL_CONSOLE=n -CONFIG_UART0_TXBUFSIZE=256 +CONFIG_USART0_TXBUFSIZE=256 CONFIG_UART1_TXBUFSIZE=256 -CONFIG_UART2_TXBUFSIZE=256 -CONFIG_UART3_TXBUFSIZE=256 +CONFIG_USART2_TXBUFSIZE=256 +CONFIG_USART3_TXBUFSIZE=256 -CONFIG_UART0_RXBUFSIZE=256 +CONFIG_USART0_RXBUFSIZE=256 CONFIG_UART1_RXBUFSIZE=256 -CONFIG_UART2_RXBUFSIZE=256 -CONFIG_UART3_RXBUFSIZE=256 +CONFIG_USART2_RXBUFSIZE=256 +CONFIG_USART3_RXBUFSIZE=256 -CONFIG_UART0_BAUD=115200 -CONFIG_UART2_BAUD=115200 -CONFIG_UART3_BAUD=115200 +CONFIG_USART0_BAUD=115200 CONFIG_UART1_BAUD=115200 +CONFIG_USART2_BAUD=115200 +CONFIG_USART3_BAUD=115200 -CONFIG_UART0_BITS=8 +CONFIG_USART0_BITS=8 CONFIG_UART1_BITS=8 -CONFIG_UART2_BITS=8 -CONFIG_UART3_BITS=8 +CONFIG_USART2_BITS=8 +CONFIG_USART3_BITS=8 -CONFIG_UART0_PARITY=0 +CONFIG_USART0_PARITY=0 CONFIG_UART1_PARITY=0 -CONFIG_UART2_PARITY=0 -CONFIG_UART3_PARITY=0 +CONFIG_USART2_PARITY=0 +CONFIG_USART3_PARITY=0 -CONFIG_UART0_2STOP=0 +CONFIG_USART0_2STOP=0 CONFIG_UART1_2STOP=0 -CONFIG_UART2_2STOP=0 -CONFIG_UART3_2STOP=0 +CONFIG_USART2_2STOP=0 +CONFIG_USART3_2STOP=0 # # LPC43xx specific PHY/Ethernet device driver settings diff --git a/configs/stm3210e-eval/include/board.h b/configs/stm3210e-eval/include/board.h index 3e845d3aaab..8a479a7e543 100755 --- a/configs/stm3210e-eval/include/board.h +++ b/configs/stm3210e-eval/include/board.h @@ -314,19 +314,6 @@ EXTERN int stm32_lm75initialize(FAR const char *devpath); EXTERN xcpt_t stm32_lm75attach(xcpt_t irqhandler); #endif -/**************************************************************************** - * Name: up_pmbuttons - * - * Description: - * Configure all the buttons of the STM3210e-eval board as EXTI, - * so any button is able to wakeup the MCU from the PM_STANDBY mode - * - ****************************************************************************/ - -#if defined(CONFIG_PM) && defined(CONFIG_IDLE_CUSTOM) -EXTERN void up_pmbuttons(void); -#endif - #undef EXTERN #if defined(__cplusplus) } diff --git a/configs/stm3210e-eval/src/stm3210e-internal.h b/configs/stm3210e-eval/src/stm3210e-internal.h index e6bf825a900..ddfbee428e0 100644 --- a/configs/stm3210e-eval/src/stm3210e-internal.h +++ b/configs/stm3210e-eval/src/stm3210e-internal.h @@ -304,6 +304,19 @@ void stm32_deselectlcd(void); #endif /* CONFIG_STM32_FSMC */ +/************************************************************************************ + * Name: up_pmbuttons + * + * Description: + * Configure all the buttons of the STM3210e-eval board as EXTI, so any button is + * able to wakeup the MCU from the PM_STANDBY mode + * + ************************************************************************************/ + +#if defined(CONFIG_PM) && defined(CONFIG_IDLE_CUSTOM) +EXTERN void up_pmbuttons(void); +#endif + /************************************************************************************ * Name: up_unregisterbuttons *