Minor clean-up - Open1788 and LPC17xx serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5699 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
311d30655e
commit
fbdfc2d5ae
@ -1242,9 +1242,11 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||||||
|
|
||||||
priv->baud = cfgetispeed(termiosp);
|
priv->baud = cfgetispeed(termiosp);
|
||||||
|
|
||||||
/* Re-calculate the optimal CCLK divisor for the new baud */
|
/* TODO: Re-calculate the optimal CCLK divisor for the new baud and
|
||||||
|
* and reset the divider in the CLKSEL0/1 register.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef LPC176x
|
#if 0 // ifdef LPC176x
|
||||||
priv->cclkdiv = lpc17_uartcclkdiv(priv->baud);
|
priv->cclkdiv = lpc17_uartcclkdiv(priv->baud);
|
||||||
#endif
|
#endif
|
||||||
/* DLAB open latch */
|
/* DLAB open latch */
|
||||||
|
@ -71,6 +71,7 @@ CONFIG_ARCH_CHIP_LPC17XX=y
|
|||||||
# CONFIG_ARCH_CHIP_LPC2378 is not set
|
# CONFIG_ARCH_CHIP_LPC2378 is not set
|
||||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||||
|
# CONFIG_ARCH_CHIP_NUC1XX is not set
|
||||||
# CONFIG_ARCH_CHIP_SAM3U is not set
|
# CONFIG_ARCH_CHIP_SAM3U is not set
|
||||||
# CONFIG_ARCH_CHIP_STM32 is not set
|
# CONFIG_ARCH_CHIP_STM32 is not set
|
||||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||||
@ -82,8 +83,6 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||||||
# CONFIG_ARMV7M_CMNVECTOR is not set
|
# CONFIG_ARMV7M_CMNVECTOR is not set
|
||||||
CONFIG_ARCH_HAVE_MPU=y
|
CONFIG_ARCH_HAVE_MPU=y
|
||||||
# CONFIG_ARMV7M_MPU is not set
|
# CONFIG_ARMV7M_MPU is not set
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=8079
|
|
||||||
# CONFIG_ARCH_CALIBRATION is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ARMV7M Configuration Options
|
# ARMV7M Configuration Options
|
||||||
@ -224,6 +223,8 @@ CONFIG_ARCH_STACKDUMP=y
|
|||||||
#
|
#
|
||||||
# Board Settings
|
# Board Settings
|
||||||
#
|
#
|
||||||
|
CONFIG_BOARD_LOOPSPERMSEC=8079
|
||||||
|
# CONFIG_ARCH_CALIBRATION is not set
|
||||||
CONFIG_DRAM_START=0x10000000
|
CONFIG_DRAM_START=0x10000000
|
||||||
CONFIG_DRAM_SIZE=65536
|
CONFIG_DRAM_SIZE=65536
|
||||||
CONFIG_ARCH_HAVE_INTERRUPTSTACK=y
|
CONFIG_ARCH_HAVE_INTERRUPTSTACK=y
|
||||||
@ -256,6 +257,7 @@ CONFIG_ARCH_BOARD="open1788"
|
|||||||
#
|
#
|
||||||
# RTOS Features
|
# RTOS Features
|
||||||
#
|
#
|
||||||
|
# CONFIG_BOARD_INITIALIZE is not set
|
||||||
CONFIG_MSEC_PER_TICK=10
|
CONFIG_MSEC_PER_TICK=10
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
# CONFIG_SCHED_INSTRUMENTATION is not set
|
# CONFIG_SCHED_INSTRUMENTATION is not set
|
||||||
@ -518,8 +520,9 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Interpreters
|
# Graphics Support
|
||||||
#
|
#
|
||||||
|
# CONFIG_TIFF is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Interpreters
|
# Interpreters
|
||||||
@ -549,11 +552,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||||||
# CONFIG_NETUTILS_WEBCLIENT is not set
|
# CONFIG_NETUTILS_WEBCLIENT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# ModBus
|
# FreeModBus
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# FreeModbus
|
|
||||||
#
|
#
|
||||||
# CONFIG_MODBUS is not set
|
# CONFIG_MODBUS is not set
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user