Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Peter Kietzmann
Congrats! Looking forward to hear the trick that did it :-). Good night Peter Am 13.06.2016 um 23:21 schrieb Kees Bakker: On 13-06-16 20:55, Kees Bakker wrote: That is more or less already what I did. I filled in uart_config[] with two devices and I have a serial line connect to my PC. This c

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Kees Bakker
On 13-06-16 20:55, Kees Bakker wrote: That is more or less already what I did. I filled in uart_config[] with two devices and I have a serial line connect to my PC. This configuration works with the Arduino setup. But not yet with RIOT. I almost gave up ..., but then ... �main(): This is R

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Peter Kietzmann
Hi Kees, honestly just now I got your actual problem and I remember what I stumbled upon this morning: # define the cpu used by SAMR21 Xplained Pro board export CPU = samd21 export CPU_MODEL = samr21x18a https://github.com/RIOT-OS/RIOT/blob/master/boards/samr21-xpro/Makefile.include However,

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Kees Bakker
Hey Kaspar, You added initial commit for saml21. Do you remember the origin of the saml21 include files? And now that we mention it, shouldn't we think about a structure that would nicely fit SAMD21, SAML21 and SAMR21? And move common stuff in cpu/sam21_common? On 13-06-16 14:59, Kaspar Schlei

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Kees Bakker
On 13-06-16 09:56, Peter Kietzmann wrote: Hi Kees, Hi Peter, nice to see your interest in RIOT! Find some comments inline. Am 12.06.2016 um 21:14 schrieb Kees Bakker: Hi, This is a heads up to let you know I'm working on a port of RIOT to SODAQ Autonomo, which has an Atmel samd21 (like Ar

Re: [riot-devel] Arduino + Riot

2016-06-13 Thread ALESSANDRO NICOLI
Yes, i added arduino.hpp instead of Arduino.h (or WProgram.h). But it gives me back the "undefined reference error" to the DHT functions : /RIOT/examples/arduino_DHT/_sketches.cpp:40: undefined reference to `DHT::readHumidity(bool)' RIOT/examples/arduino_DHT/_sketches.cpp:42: undefined reference

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Thomas Eichinger
Hi! On 13 Jun 2016, at 9:56 CEST(+0200), Peter Kietzmann wrote: First I moved the existing cpu/samd21 tree to cpu/samr21. Then Why? Well *if* there is a need to change the current RIOT code base, you should open a separate PR for that. This is a question to all: How comes the Atmel samr21-

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Peter Kietzmann
Hi, I was just confused when going through different board- and MCU data sheets on Atmel's website. RIOTs naming scheme is fine after understanding the constellations. Best Peter Am 13.06.2016 um 14:59 schrieb Kaspar Schleiser: Hey, On 06/13/2016 10:33 AM, Peter Kietzmann wrote: not 100%

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Kaspar Schleiser
Hey, On 06/13/2016 10:33 AM, Peter Kietzmann wrote: > not 100% sure but probably it is related :-)! Thanks for pointing that > out. IMO the naming is a bit weird though... Why? The MCU is an samd21. The board which has the samd21 soldered on is called samr21. How would you sort them in? Kaspar

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Peter Kietzmann
Hi Cenk, not 100% sure but probably it is related :-)! Thanks for pointing that out. IMO the naming is a bit weird though... Best Peter Am 13.06.2016 um 10:11 schrieb Cenk Gündogan: Hey Peter, In [1] (Page 9) you can see that the samd21 is the actual microprocessor, while the atsamr21 c

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Cenk Gündogan
Hey Peter, In [1] (Page 9) you can see that the samd21 is the actual microprocessor, while the atsamr21 contains the samd21+transceiver. So I guess it has probably something to do with that (: Cheers, Cenk [1] http://www.atmel.com/Images/Atmel-42223%E2%80%93SAM-R21_Summary.pdf On 06/13/201

Re: [riot-devel] Working on port to SODAQ Autonomo (SAMD21)

2016-06-13 Thread Peter Kietzmann
Hi Kees, nice to see your interest in RIOT! Find some comments inline. Am 12.06.2016 um 21:14 schrieb Kees Bakker: Hi, This is a heads up to let you know I'm working on a port of RIOT to SODAQ Autonomo, which has an Atmel samd21 (like Arduino Zero). First I moved the existing cpu/samd21 tree

Re: [riot-devel] devel Digest, Vol 40, Issue 14

2016-06-13 Thread Laurent Navet
: > Thanks Laurent, > I've another question about Arduino on Riot. > How can i add third-part libraries in my arduino-riot project? > I tried to add the DHT library (.h , .cpp) to *Rito/sys/Arduino/include/* > but it depends on *Arduino.h *and the compile process gives me back an > error about it (