summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4e-ek
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-10 11:10:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-10 11:10:55 -0600
commita8b9ffdf7db0525173cc5f70770e22244ab4b9cd (patch)
tree32b7b19064a92c1bb0b5ff7ff6bb92c5ef9c6577 /nuttx/configs/sam4e-ek
parentca68256599118d74a87dbbe11dd4cd5e233715c7 (diff)
downloadpx4-nuttx-a8b9ffdf7db0525173cc5f70770e22244ab4b9cd.tar.gz
px4-nuttx-a8b9ffdf7db0525173cc5f70770e22244ab4b9cd.tar.bz2
px4-nuttx-a8b9ffdf7db0525173cc5f70770e22244ab4b9cd.zip
SAM4 Ethernet Driver: No supports operation using the high priority work queue so that packet processing can occur outside of interrupt level processing.
SAM4E-EK: The nsh configuration now configures the Ethernet driver for execution on the HP work thread.
Diffstat (limited to 'nuttx/configs/sam4e-ek')
-rw-r--r--nuttx/configs/sam4e-ek/nsh/defconfig14
1 files changed, 10 insertions, 4 deletions
diff --git a/nuttx/configs/sam4e-ek/nsh/defconfig b/nuttx/configs/sam4e-ek/nsh/defconfig
index 11aa2460b..5501b0da5 100644
--- a/nuttx/configs/sam4e-ek/nsh/defconfig
+++ b/nuttx/configs/sam4e-ek/nsh/defconfig
@@ -415,6 +415,7 @@ CONFIG_SIG_SIGUSR1=1
CONFIG_SIG_SIGUSR2=2
CONFIG_SIG_SIGALARM=3
CONFIG_SIG_SIGCONDTIMEDOUT=16
+CONFIG_SIG_SIGWORK=17
#
# POSIX Message Queue Options
@@ -425,8 +426,11 @@ CONFIG_MQ_MAXMSGSIZE=32
#
# Work Queue Support
#
-# CONFIG_SCHED_WORKQUEUE is not set
-# CONFIG_SCHED_HPWORK is not set
+CONFIG_SCHED_WORKQUEUE=y
+CONFIG_SCHED_HPWORK=y
+CONFIG_SCHED_HPWORKPRIORITY=224
+CONFIG_SCHED_HPWORKPERIOD=50000
+CONFIG_SCHED_HPWORKSTACKSIZE=2048
# CONFIG_SCHED_LPWORK is not set
#
@@ -620,7 +624,7 @@ CONFIG_USART1_2STOP=0
CONFIG_ARCH_HAVE_NET=y
CONFIG_ARCH_HAVE_PHY=y
CONFIG_NET=y
-# CONFIG_NET_NOINTS is not set
+CONFIG_NET_NOINTS=y
# CONFIG_NET_PROMISCUOUS is not set
#
@@ -709,7 +713,9 @@ CONFIG_NET_ARP=y
CONFIG_NET_ARPTAB_SIZE=16
CONFIG_NET_ARP_MAXAGE=120
# CONFIG_NET_ARP_IPIN is not set
-# CONFIG_NET_ARP_SEND is not set
+CONFIG_NET_ARP_SEND=y
+CONFIG_ARP_SEND_MAXTRIES=5
+CONFIG_ARP_SEND_DELAYMSEC=20
#
# Network I/O Buffer Support