[riot-users] Exchange of the transceiver module on the SAMR21 Xplained Pro Platform
Wiegel, Friedrich (IAI)
friedrich.wiegel at kit.edu
Thu Feb 9 17:11:13 CET 2017
thanks a lot both of you. I will follow your instruction as soon as I am so far.
One another question. I would like to understand how the OS is built on. This means, how the single files related to each other or how the entire structure looks like. In the rough I understand that, but many times, I have to try and failed to find it out how things relate to each other.
Are there any lecture scripts or notes, which describe the structure of the RIOT os in detail?
Von: users [mailto:users-bounces at riot-os.org] Im Auftrag von Martine Lenders
Gesendet: Mittwoch, 8. Februar 2017 10:40
An: RIOT OS users list <users at riot-os.org>
Betreff: Re: [riot-users] Exchange of the transceiver module on the SAMR21 Xplained Pro Platform
2017-02-07 17:27 GMT+01:00 Hauke Petersen <hauke.petersen at fu-berlin.de<mailto:hauke.petersen at fu-berlin.de>>:
acutally what you want to do is quite simple. You actually don't even need to exchange the transceiver, you could as well run your system with both of them, the at86rf + your PLC transceivers.
So if you take the gnrc_networking example as a base, and say that your PLC driver comes with all the neccessary auto_init code and board configuration (more of this below), all you need to do is:
USEMODULE=YOUR_PLC_DRIVER_NAME_HERE BOARD=samr21-xpro make all
This will build the GNRC networking example and link your PLC transceiver right in.
One small addition to that: you also need to increase the number of interfaces in GNRC, otherwise GNRC will just pick-up one of the devices:
> USEMODULE=YOUR_PLC_DRIVER_NAME_HERE CFLAGS=-DGNRC_NETIF_NUMOF=2 BOARD=samr21-xpro make all
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
More information about the users