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:
commit
6401abbd92
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
1595
cpu/sam0_common/include/vendor/saml21/include/compat_saml21a.h
vendored
Normal file
1595
cpu/sam0_common/include/vendor/saml21/include/compat_saml21a.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -45,4 +45,6 @@
|
||||
#error Library does not support the specified device.
|
||||
#endif
|
||||
|
||||
#include "compat_saml21a.h"
|
||||
|
||||
#endif /* _SAML21_ */
|
||||
|
1586
cpu/sam0_common/include/vendor/saml21/include_b/compat_saml21b.h
vendored
Normal file
1586
cpu/sam0_common/include/vendor/saml21/include_b/compat_saml21b.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -63,4 +63,6 @@
|
||||
#error Library does not support the specified device.
|
||||
#endif
|
||||
|
||||
#include "compat_saml21b.h"
|
||||
|
||||
#endif /* _SAML21_ */
|
||||
|
1490
cpu/sam0_common/include/vendor/samr30/include/compat_samr30.h
vendored
Normal file
1490
cpu/sam0_common/include/vendor/samr30/include/compat_samr30.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -57,4 +57,6 @@
|
||||
#error Library does not support the specified device.
|
||||
#endif
|
||||
|
||||
#include "compat_samr30.h"
|
||||
|
||||
#endif /* _SAMR30_ */
|
||||
|
1536
cpu/sam0_common/include/vendor/samr34/include/compat_samr34.h
vendored
Normal file
1536
cpu/sam0_common/include/vendor/samr34/include/compat_samr34.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -51,4 +51,5 @@
|
||||
#error Library does not support the specified device.
|
||||
#endif
|
||||
|
||||
#include "compat_samr34.h"
|
||||
#endif /* _SAMR34_ */
|
||||
|
Loading…
Reference in New Issue
Block a user