From fbdfc2d5ae2835bc46e1712334c09e191e08efa6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Mar 2013 21:05:18 +0000 Subject: [PATCH] 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 --- arch/arm/src/lpc17xx/lpc17_serial.c | 6 ++++-- configs/open1788/ostest/defconfig | 15 +++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_serial.c b/arch/arm/src/lpc17xx/lpc17_serial.c index d5f28e1653d..0159d7c7545 100644 --- a/arch/arm/src/lpc17xx/lpc17_serial.c +++ b/arch/arm/src/lpc17xx/lpc17_serial.c @@ -1242,9 +1242,11 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg) 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); #endif /* DLAB open latch */ diff --git a/configs/open1788/ostest/defconfig b/configs/open1788/ostest/defconfig index 1639cf033fa..b992fc0d0d0 100644 --- a/configs/open1788/ostest/defconfig +++ b/configs/open1788/ostest/defconfig @@ -71,6 +71,7 @@ CONFIG_ARCH_CHIP_LPC17XX=y # CONFIG_ARCH_CHIP_LPC2378 is not set # CONFIG_ARCH_CHIP_LPC31XX 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_STM32 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_ARCH_HAVE_MPU=y # CONFIG_ARMV7M_MPU is not set -CONFIG_BOARD_LOOPSPERMSEC=8079 -# CONFIG_ARCH_CALIBRATION is not set # # ARMV7M Configuration Options @@ -224,6 +223,8 @@ CONFIG_ARCH_STACKDUMP=y # # Board Settings # +CONFIG_BOARD_LOOPSPERMSEC=8079 +# CONFIG_ARCH_CALIBRATION is not set CONFIG_DRAM_START=0x10000000 CONFIG_DRAM_SIZE=65536 CONFIG_ARCH_HAVE_INTERRUPTSTACK=y @@ -256,6 +257,7 @@ CONFIG_ARCH_BOARD="open1788" # # RTOS Features # +# CONFIG_BOARD_INITIALIZE is not set CONFIG_MSEC_PER_TICK=10 CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_INSTRUMENTATION is not set @@ -518,8 +520,9 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10 # CONFIG_EXAMPLES_WATCHDOG is not set # -# Interpreters +# Graphics Support # +# CONFIG_TIFF is not set # # Interpreters @@ -549,11 +552,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10 # CONFIG_NETUTILS_WEBCLIENT is not set # -# ModBus -# - -# -# FreeModbus +# FreeModBus # # CONFIG_MODBUS is not set