aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sam3/serial.c')
-rw-r--r--src/sam3/serial.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sam3/serial.c b/src/sam3/serial.c
index b7df5680..c87539ad 100644
--- a/src/sam3/serial.c
+++ b/src/sam3/serial.c
@@ -16,6 +16,12 @@ static Uart * const Port = UART;
static const uint32_t Pmc_id = ID_UART, Irq_id = UART_IRQn;
static const uint32_t rx_pin = GPIO('A', 8);
static const uint32_t tx_pin = GPIO('A', 9);
+#elif CONFIG_MACH_SAM4S8C
+#define Serial_IRQ_Handler UART1_Handler
+static Uart * const Port = UART1;
+static const uint32_t Pmc_id = ID_UART1, Irq_id = UART1_IRQn;
+static const uint32_t rx_pin = GPIO('B', 2);
+static const uint32_t tx_pin = GPIO('B', 3);
#elif CONFIG_MACH_SAM4E8E
#define Serial_IRQ_Handler UART0_Handler
static Uart * const Port = UART0;