[riot-devel] Auto init in OpenThread
mail at martine-lenders.eu
Wed May 3 08:30:06 CEST 2017
that is exactly the same problem Shugou currently has with lwMAC  and I
had when porting lwIP and emb6.
When we originally wrote the auto-initialization we had cases like this
(different stacks, different MAC protocols) in mind, but refrained from
providing a solution since it simply wasn't needed at the time. So I guess
the time to come together and come up with a solution is now, unless we
want to let auto_init_xxxx become our next sys/transceiver  ;-).
2017-05-03 0:27 GMT+02:00 Jose Alamos <jialamos at uc.cl>:
> Dear RIOTers,
> I'm currently finishing the OpenThread port (#5552).
> The implementation is radio independent via netdev, but requires the
> driver setup function to be called before passing the netdev pointer to the
> OpenThread contrib (check what I'm doing atm in ).
> The auto_init_xxxx functions like  do exactly that, but call
> gnrc_netdev related functions instead of OpenThread related functions.
> What's your opinion on how to deal with this? (e.g #ifdef
> MODULE_OPENTHREAD in auto_init_xxxx file?)
> : https://github.com/RIOT-OS/RIOT/blob/master/sys/auto_
> devel mailing list
> devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel