[riot-users] Exchange of the transceiver module on the SAMR21 Xplained Pro Platform

Martine Lenders mlenders at inf.fu-berlin.de
Wed Feb 8 10:40:16 CET 2017


Hi,

2017-02-07 17:27 GMT+01:00 Hauke Petersen <hauke.petersen at fu-berlin.de>:

> Hi Friedrich,
>
> 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

Cheers,
Martine
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20170208/10120a2f/attachment-0001.html>


More information about the users mailing list