Skip to content
Snippets Groups Projects
Commit 71d27ec3 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

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

parent 4f7e1205
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment