mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
NSH networking: There is now a configuration option that will bring up the network on an separate thread. Since the network bring-up is asynchronous, there are not serial console start-up delays due to the network negotiation time.
This commit is contained in:
12
nshlib/nsh.h
12
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
|
||||
|
Reference in New Issue
Block a user