aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/internal.h
diff options
context:
space:
mode:
authorWulfsta <wulfstawulfsta@gmail.com>2023-01-16 01:32:31 -0500
committerKevinOConnor <kevin@koconnor.net>2023-05-01 13:56:32 -0400
commit3b0729c94932f4df0298a7c992022f54a5454428 (patch)
tree7de15ab057083440fb76ed990294f9c47f85b512 /src/atsamd/internal.h
parent06e5c577bd1874d48e1aefd13d8639525e571670 (diff)
downloadkutter-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/internal.h')
-rw-r--r--src/atsamd/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/atsamd/internal.h b/src/atsamd/internal.h
index 967833c9..6232a8fc 100644
--- a/src/atsamd/internal.h
+++ b/src/atsamd/internal.h
@@ -5,7 +5,9 @@
#include <stdint.h> // uint32_t
#include "autoconf.h" // CONFIG_MACH_SAMD21A
-#if CONFIG_MACH_SAMD21
+#if CONFIG_MACH_SAMC21
+#include "samc21.h"
+#elif CONFIG_MACH_SAMD21
#include "samd21.h"
#elif CONFIG_MACH_SAMD51
#include "samd51.h"