summaryrefslogtreecommitdiff
path: root/nuttx/configs/nucleus2g
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-11 01:55:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-11 01:55:43 +0000
commitf697e5bf7e8cb0c9795fcaa469d9f26e2b558f00 (patch)
tree981e8123832a6b1911989a59f9fa356e6ba85d8b /nuttx/configs/nucleus2g
parentcc84cc1568935def0f81a23c3df168e5d6588599 (diff)
downloadpx4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.tar.gz
px4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.tar.bz2
px4-nuttx-f697e5bf7e8cb0c9795fcaa469d9f26e2b558f00.zip
Finish serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2738 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rwxr-xr-xnuttx/configs/nucleus2g/include/board.h17
-rwxr-xr-xnuttx/configs/nucleus2g/ostest/defconfig2
2 files changed, 18 insertions, 1 deletions
diff --git a/nuttx/configs/nucleus2g/include/board.h b/nuttx/configs/nucleus2g/include/board.h
index 74965c778..b10b7c4bd 100755
--- a/nuttx/configs/nucleus2g/include/board.h
+++ b/nuttx/configs/nucleus2g/include/board.h
@@ -64,6 +64,23 @@
#define LED_ASSERTION 6
#define LED_PANIC 7
+/* Alternate pin selections *********************************************************/
+
+#define GPIO_UART1_TXD GPIO_UART1_TXD_1
+#define GPIO_UART1_RXD GPIO_UART1_RXD_1
+#define GPIO_UART1_CTS GPIO_UART1_CTS_1
+#define GPIO_UART1_DCD GPIO_UART1_DCD_1
+#define GPIO_UART1_DSR GPIO_UART1_DSR_1
+#define GPIO_UART1_DTR GPIO_UART1_DTR_1
+#define GPIO_UART1_RI GPIO_UART1_RI_1
+#define GPIO_UART1_RTS GPIO_UART1_RTS_1
+
+#define GPIO_UART2_TXD GPIO_UART2_TXD_1
+#define GPIO_UART2_RXD GPIO_UART2_RXD_1
+
+#define GPIO_UART3_TXD GPIO_UART3_TXD_1
+#define GPIO_UART3_RXD GPIO_UART3_RXD_1
+
/************************************************************************************
* Public Data
************************************************************************************/
diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig
index 0e1b80f22..0ad74e5f1 100755
--- a/nuttx/configs/nucleus2g/ostest/defconfig
+++ b/nuttx/configs/nucleus2g/ostest/defconfig
@@ -77,7 +77,7 @@ CONFIG_ARCH_CHIP_LPC1768=y
CONFIG_ARCH_BOARD=nucleus2g
CONFIG_ARCH_BOARD_NUCLEUS2G=y
CONFIG_BOARD_LOOPSPERMSEC=5483
-CONFIG_DRAM_SIZE=0x00008000
+CONFIG_DRAM_SIZE=(32*1024)
CONFIG_DRAM_START=0x10000000
CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE)
CONFIG_ARCH_IRQPRIO=y