1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam0_common/include/vendor
Dylan Laduranty 9450fa7dc3 cpu/sam0_common: add support for saml10/saml11
Add SAML10/SAML11 support through SAM0 because hardware IP are the same so reuse to avoid duplication
2019-01-21 17:06:58 +01:00
..
samd21/include cpu, sam0_common: update vendor headers 2017-09-20 17:11:54 +02:00
saml10/include cpu/sam0_common: add support for saml10/saml11 2019-01-21 17:06:58 +01:00
saml11/include cpu/sam0_common: add support for saml10/saml11 2019-01-21 17:06:58 +01:00
saml21 cpu, sam0_common: update vendor headers 2017-09-20 17:11:54 +02:00
samr21/include cpu, sam0_common: update vendor headers 2017-09-20 17:11:54 +02:00
samr30 cpu/samr30: add support for samr30g18a 2018-10-01 10:15:08 +02:00
README.md cpu, sam0_common: update vendor headers 2017-09-20 17:11:54 +02:00
sam0.h cpu/samr30: add support for samr30g18a 2018-10-01 10:15:08 +02:00
sam23.h cpu/sam0_common: add support for saml10/saml11 2019-01-21 17:06:58 +01:00

CMSIS from Atmel Software Foundation (ASF)

The include files in the directory tree are copied from ASF (verion 3.35.1).

The directory tree was copied "as is" from ASF path sam0/utils/cmsis/ and its structure is as follows:

cmsis
├── samd21
│   ├── include
│   │   ├── component
│   │   ├── instance
│   │   └── pio
│   └── source
│       ├── gcc
│       └── iar
.
.
.
├── samr21
│   ├── include
│   │   ├── component
│   │   ├── instance
│   │   └── pio
.   └── source
.       ├── gcc
.       └── iar

However, as only the header files in include and its subfolders are required, all source folders are removed.

Be aware that if you want to make changes to any file in this tree that the changes will be lost when a new ASF release is going to be used.

Usage and porting for SAM based CPUs

SAM based CPU should include sam0.h in this directory, which will resolve any CPU family specific includes required.

Currently only SAMD21, SAML21, and SAMR21 based CPUs are supported, i.e., only their CMSIS header files are copied from the ASF. If other CPUs are needed copy CMSIS files from the ASF for the respective CPU family here and adapt sam0.h accordingly.