Re: Dual ethernet interfaces on Zephyr OS ?
Hi,toggle quoted messageShow quoted text
there exists NET_DEVICE_INIT_INSTANCE() macro (in include/net/net_if.h)
that can be used for this purpose. You would need to edit the ethernet
driver and call that macro with suitable parameters.
You could also create ETH_NET_DEVICE_INIT_INSTANCE() (it does not
exists yet) from ETH_NET_DEVICE_INIT() (in include/net/ethernet.h) and
add instance support to that.
On Tue, 2019-09-10 at 19:16 +0800, "Explorer wrote: