summaryrefslogtreecommitdiff
path: root/nuttx/configs/rgmp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-21 18:25:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-21 18:25:31 +0000
commit1d8f60792331e913c6c4cd3bf3d6b785359778ee (patch)
treebe04cc8b489c7456c1a2d9f6caf82d34590d3d00 /nuttx/configs/rgmp
parentda19497e87298884e6b7c23b2892bb25cb12ef82 (diff)
downloadpx4-nuttx-1d8f60792331e913c6c4cd3bf3d6b785359778ee.tar.gz
px4-nuttx-1d8f60792331e913c6c4cd3bf3d6b785359778ee.tar.bz2
px4-nuttx-1d8f60792331e913c6c4cd3bf3d6b785359778ee.zip
Add E1000 PIC NIC driver from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3638 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/rgmp')
-rw-r--r--nuttx/configs/rgmp/default/defconfig19
-rw-r--r--nuttx/configs/rgmp/nsh/defconfig19
2 files changed, 34 insertions, 4 deletions
diff --git a/nuttx/configs/rgmp/default/defconfig b/nuttx/configs/rgmp/default/defconfig
index 772a1671f..198a0ddcb 100644
--- a/nuttx/configs/rgmp/default/defconfig
+++ b/nuttx/configs/rgmp/default/defconfig
@@ -385,13 +385,28 @@ CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
-#
+##########################################
# RGMP specific configuration
+##########################################
+
+#
+# VNET
#
CONFIG_NET_VNET=y
CONFIG_VNET_NINTERFACES=1
+
+#
+# Serial port
+#
CONFIG_COM1=y
CONFIG_COM2=y
CONFIG_COM3=n
CONFIG_COM4=n
-CONFIG_E1000=n
+
+#
+# E1000
+#
+CONFIG_NET_E1000=n
+CONFIG_E1000_N_TX_DESC=128
+CONFIG_E1000_N_RX_DESC=128
+CONFIG_E1000_BUFF_SIZE=0x800
diff --git a/nuttx/configs/rgmp/nsh/defconfig b/nuttx/configs/rgmp/nsh/defconfig
index d8db04caa..081204024 100644
--- a/nuttx/configs/rgmp/nsh/defconfig
+++ b/nuttx/configs/rgmp/nsh/defconfig
@@ -415,13 +415,28 @@ CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=
-#
+##########################################
# RGMP specific configuration
+##########################################
+
+#
+# VNET
#
CONFIG_NET_VNET=y
CONFIG_VNET_NINTERFACES=1
+
+#
+# Serial port
+#
CONFIG_COM1=y
CONFIG_COM2=y
CONFIG_COM3=n
CONFIG_COM4=n
-CONFIG_E1000=n \ No newline at end of file
+
+#
+# E1000
+#
+CONFIG_NET_E1000=n
+CONFIG_E1000_N_TX_DESC=128
+CONFIG_E1000_N_RX_DESC=128
+CONFIG_E1000_BUFF_SIZE=0x800