summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index 1b76c19af..245690517 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -104,7 +104,9 @@
# define CONFIG_NSH_TMPDIR "/tmp"
#endif
-/* Networking support */
+/* Networking support. Make sure that all non-boolean configuration
+ * settings have some value.
+ */
#ifndef CONFIG_NSH_IPADDR
# define CONFIG_NSH_IPADDR 0x0a000002
@@ -126,6 +128,14 @@
# define CONFIG_NSH_MACADDR 0x00e0deadbeef
#endif
+#ifndef CONFIG_NSH_NETINIT_THREAD_STACKSIZE
+# define CONFIG_NSH_NETINIT_THREAD_STACKSIZE 1568
+#endif
+
+#ifndef CONFIG_NSH_NETINIT_THREAD_PRIORITY
+# define CONFIG_NSH_NETINIT_THREAD_PRIORITY 100
+#endif
+
#ifndef CONFIG_NET
# undef CONFIG_NSH_ARCHMAC
#endif