@Hauke, @Martine,

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?

Best regards,
Friedrich


Von: users [mailto:[email protected]] Im Auftrag von Martine Lenders
Gesendet: Mittwoch, 8. Februar 2017 10:40
An: RIOT OS users list <[email protected]>
Betreff: Re: [riot-users] Exchange of the transceiver module on the SAMR21 
Xplained Pro Platform

Hi,

2017-02-07 17:27 GMT+01:00 Hauke Petersen 
<[email protected]<mailto:[email protected]>>:
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
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to