apps/examples/bridge: Add host-side test driver

This commit is contained in:
Gregory Nutt 2014-11-21 08:20:25 -06:00
parent 4f7e12057a
commit 71d27ec3da
2 changed files with 4 additions and 0 deletions

View File

@ -813,6 +813,7 @@ CONFIG_EXAMPLES_BRIDGE_NET1_MACADDR=0x00e0deadbeef
CONFIG_EXAMPLES_BRIDGE_NET1_IPADDR=0x0a000002
CONFIG_EXAMPLES_BRIDGE_NET1_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET1_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
@ -829,6 +830,7 @@ CONFIG_EXAMPLES_BRIDGE_NET2_MACADDR=0x00e0f00dface
CONFIG_EXAMPLES_BRIDGE_NET2_IPADDR=0x0a000003
CONFIG_EXAMPLES_BRIDGE_NET2_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET2_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET2_PRIORITY=100
# CONFIG_EXAMPLES_BUTTONS is not set

View File

@ -346,6 +346,8 @@ int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout)
}
else
{
/* EINTR is the only other error expected in normal operation */
ret = -err;
}
}