1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20850 from dylad/pr/cpu/saml21/compat_headers

cpu/saml21: add compatibily headers for vendor files migration
This commit is contained in:
Dylan Laduranty 2024-11-08 08:14:28 +00:00 committed by GitHub
commit 6401abbd92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 6220 additions and 6 deletions

View File

@ -46,7 +46,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC0,
.irq = TC0_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1,
.mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk,
.gclk_id = TC0_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,

View File

@ -49,7 +49,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC0,
.irq = TC0_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1,
.mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk,
.gclk_id = TC0_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,

View File

@ -39,7 +39,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC0,
.irq = TC0_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1,
.mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk,
.gclk_id = TC0_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,

View File

@ -47,7 +47,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC0,
.irq = TC0_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1,
.mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk,
.gclk_id = TC0_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,
@ -56,7 +56,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC2,
.irq = TC2_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC2 | MCLK_APBCMASK_TC3,
.mclk_mask = MCLK_APBCMASK_TC2_Msk | MCLK_APBCMASK_TC3_Msk,
.gclk_id = TC2_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,

View File

@ -46,7 +46,7 @@ static const tc32_conf_t timer_config[] = {
.dev = TC0,
.irq = TC0_IRQn,
.mclk = &MCLK->APBCMASK.reg,
.mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1,
.mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk,
.gclk_id = TC0_GCLK_ID,
.gclk_src = SAM0_GCLK_TIMER,
.flags = TC_CTRLA_MODE_COUNT32,

File diff suppressed because it is too large Load Diff

View File

@ -45,4 +45,6 @@
#error Library does not support the specified device.
#endif
#include "compat_saml21a.h"
#endif /* _SAML21_ */

File diff suppressed because it is too large Load Diff

View File

@ -63,4 +63,6 @@
#error Library does not support the specified device.
#endif
#include "compat_saml21b.h"
#endif /* _SAML21_ */

File diff suppressed because it is too large Load Diff

View File

@ -57,4 +57,6 @@
#error Library does not support the specified device.
#endif
#include "compat_samr30.h"
#endif /* _SAMR30_ */

File diff suppressed because it is too large Load Diff

View File

@ -51,4 +51,5 @@
#error Library does not support the specified device.
#endif
#include "compat_samr34.h"
#endif /* _SAMR34_ */