diff options
author | Wulfsta <wulfstawulfsta@gmail.com> | 2023-01-16 01:32:31 -0500 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2023-05-01 13:56:32 -0400 |
commit | 3b0729c94932f4df0298a7c992022f54a5454428 (patch) | |
tree | 7de15ab057083440fb76ed990294f9c47f85b512 /src/atsamd/sercom.c | |
parent | 06e5c577bd1874d48e1aefd13d8639525e571670 (diff) | |
download | kutter-3b0729c94932f4df0298a7c992022f54a5454428.tar.gz kutter-3b0729c94932f4df0298a7c992022f54a5454428.tar.xz kutter-3b0729c94932f4df0298a7c992022f54a5454428.zip |
atsamd: Add support for SAMC21
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
Diffstat (limited to 'src/atsamd/sercom.c')
-rw-r--r-- | src/atsamd/sercom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atsamd/sercom.c b/src/atsamd/sercom.c index cd1dfcd3..f8c70303 100644 --- a/src/atsamd/sercom.c +++ b/src/atsamd/sercom.c @@ -64,7 +64,7 @@ struct sercom_pad { }; static const struct sercom_pad sercom_pads[] = { -#if CONFIG_MACH_SAMD21 +#if CONFIG_MACH_SAMX2 { 0, GPIO('A', 8), 0, 'C'}, { 0, GPIO('A', 9), 1, 'C'}, { 0, GPIO('A', 10), 2, 'C'}, @@ -326,7 +326,7 @@ struct sercom_spi_map { static const struct sercom_spi_map sercom_spi[] = { { 0, 1, 0 }, { 3, 1, 2 }, -#if CONFIG_MACH_SAMD21 +#if CONFIG_MACH_SAMX2 { 2, 3, 1 }, { 0, 3, 3 }, #endif |