mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 15:22:50 +00:00
The SAM4S, SAM3X, SAME70 all use the uart_sam.c serial driver. This patch puts the configuration in DTS and out of Kconfig. The SAME70 uses the USART as well. USART DTS support for the SAME70 is also in this patch. Signed-off-by: Justin Watson <jwatson5@gmail.com>
41 lines
754 B
Plaintext
41 lines
754 B
Plaintext
# Kconfig - Atmel SAM USART configuration options
|
|
#
|
|
# Copyright (c) 2016 Piotr Mienkowski
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig USART_SAM
|
|
bool "Atmel SAM MCU family USART driver"
|
|
depends on SOC_FAMILY_SAM
|
|
select SERIAL_HAS_DRIVER
|
|
default n
|
|
help
|
|
This option enables the USARTx driver for Atmel SAM MCUs.
|
|
|
|
# ---------- Port 0 ----------
|
|
|
|
config USART_SAM_PORT_0
|
|
bool "Enable USART0"
|
|
depends on USART_SAM
|
|
default n
|
|
help
|
|
Enable USART0 at boot
|
|
|
|
# ---------- Port 1 ----------
|
|
|
|
config USART_SAM_PORT_1
|
|
bool "Enable USART1"
|
|
depends on USART_SAM
|
|
default n
|
|
help
|
|
Enable USART1 at boot
|
|
|
|
# ---------- Port 2 ----------
|
|
|
|
config USART_SAM_PORT_2
|
|
bool "Enable USART2"
|
|
depends on USART_SAM
|
|
default n
|
|
help
|
|
Enable USART2 at boot
|