Skip to content

Commit

Permalink
Merge pull request RIOT-OS#13313 from benpicco/samd21-asf
Browse files Browse the repository at this point in the history
cpu/sam0_common: update samd21 vendor files to version 1.3.395
  • Loading branch information
dylad authored Feb 11, 2020
2 parents 3ac25c3 + e03780c commit 03b6658
Show file tree
Hide file tree
Showing 388 changed files with 106,639 additions and 33,967 deletions.
11 changes: 8 additions & 3 deletions cpu/sam0_common/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
#undef LITTLE_ENDIAN
#endif

#if defined(CPU_SAMD21A) || defined(CPU_SAMD21B) || \
defined(CPU_SAMD21C) || defined(CPU_SAMD21D)
#include "vendor/samd21/include/samd21.h"
#if defined(CPU_SAMD21A)
#include "vendor/samd21/include_a/samd21.h"
#elif defined(CPU_SAMD21B)
#include "vendor/samd21/include_b/samd21.h"
#elif defined(CPU_SAMD21C)
#include "vendor/samd21/include_c/samd21.h"
#elif defined(CPU_SAMD21D)
#include "vendor/samd21/include_d/samd21.h"
#elif defined(CPU_SAMD51)
#include "vendor/samd51/include/samd51.h"
#elif defined(CPU_SAME54)
Expand Down
7 changes: 7 additions & 0 deletions cpu/sam0_common/include/vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ changes will be lost when a new ASF release is going to be used.
A SAM based CPU should include `sam0.h` in this directory, which will
resolve any CPU family specific includes required.

## SAMD21 files

samd21: `Atmel.SAMD21_DFP.1.3.395.atpack`

Each atpack has an include subdirectory with the files we copy into
RIOT. The files are copied unmodified.

## SAML10/SAML11 files

Since 2019 the necessary variant files are available in atpacks at
Expand Down
87 changes: 0 additions & 87 deletions cpu/sam0_common/include/vendor/samd21/include/instance/ac.h

This file was deleted.

87 changes: 0 additions & 87 deletions cpu/sam0_common/include/vendor/samd21/include/instance/ac1.h

This file was deleted.

99 changes: 0 additions & 99 deletions cpu/sam0_common/include/vendor/samd21/include/instance/adc.h

This file was deleted.

Loading

0 comments on commit 03b6658

Please sign in to comment.