aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3/gpio.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-12-26 20:31:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-01-07 19:34:31 -0500
commit75ad16ea1a3ffcb7026c69f6f1ea78197b055779 (patch)
tree98273f13f386e9da0378a6f9c3d109b652865c63 /src/sam3/gpio.c
parent519f2cff4123b8cd8e18ca5342e1bf8c4d01cd5a (diff)
downloadkutter-75ad16ea1a3ffcb7026c69f6f1ea78197b055779.tar.gz
kutter-75ad16ea1a3ffcb7026c69f6f1ea78197b055779.tar.xz
kutter-75ad16ea1a3ffcb7026c69f6f1ea78197b055779.zip
sam3: Add support for sam4s8c chips
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3/gpio.c')
-rw-r--r--src/sam3/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sam3/gpio.c b/src/sam3/gpio.c
index 065663f9..7e6a1dab 100644
--- a/src/sam3/gpio.c
+++ b/src/sam3/gpio.c
@@ -14,6 +14,8 @@
static Pio * const digital_regs[] = {
#if CONFIG_MACH_SAM3X8E
PIOA, PIOB, PIOC, PIOD
+#elif CONFIG_MACH_SAM4S8C
+ PIOA, PIOB, PIOC
#elif CONFIG_MACH_SAM4E8E
PIOA, PIOB, PIOC, PIOD, PIOE
#endif