2016-10-13 23:55:02 +08:00
|
|
|
# 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
|
2018-03-05 10:46:01 +08:00
|
|
|
select SERIAL_SUPPORT_INTERRUPT
|
2016-10-13 23:55:02 +08:00
|
|
|
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
|
2017-06-30 07:44:38 +08:00
|
|
|
Enable USART0 at boot
|
2016-10-13 23:55:02 +08:00
|
|
|
|
|
|
|
# ---------- Port 1 ----------
|
|
|
|
|
|
|
|
config USART_SAM_PORT_1
|
|
|
|
bool "Enable USART1"
|
|
|
|
depends on USART_SAM
|
|
|
|
default n
|
|
|
|
help
|
2017-06-30 07:44:38 +08:00
|
|
|
Enable USART1 at boot
|
2016-10-13 23:55:02 +08:00
|
|
|
|
|
|
|
# ---------- Port 2 ----------
|
|
|
|
|
|
|
|
config USART_SAM_PORT_2
|
|
|
|
bool "Enable USART2"
|
|
|
|
depends on USART_SAM
|
|
|
|
default n
|
|
|
|
help
|
2017-06-30 07:44:38 +08:00
|
|
|
Enable USART2 at boot
|