Well, then why does Atmel supply different trees for SAMR21 and SAMD21?
And why are the include files different? Not a whole lot, but still.

The CPU may be the same but there is (much) more than that.

Furthermore, the SAMD21 has several variants and so does the SAMR21. Each
have small difference in their specific include files. It feels very uncomfortable
to have just one "samd21" in RIOT.

So, if it was up to me, I would like to see that
* all files in cpu/samd21 are moved to cpu/samr21 (to make room for the real samd21 tree) * some document is written explaining where these files came from (version, URL, etc) * write up some procedure that describes what to do when the CMSIS source is updated (bug fixes, new release, etc)
* preferably no CMSIS files are changed, unless properly documented

BTW. Where are these CMSIS files coming from anyway? I see them in the Arduino Zero distribution too, but I couldn't find them anywhere else on the web. They are from Atmel, but nothing on Atmel's website gives a clue.

On 24-04-16 18:59, Andrew Ruder wrote:
The SAMR21 is just a SAMD21 with several of the GPIOs and one of the SPI
buses internally connected to the at86rf233.  The CPU support would be
exactly the same.


--
Kees Bakker

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to