86c46864ee
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though, and is inconsistent. This will make the auto-generated Kconfig documentation have "No defaults. Implicitly defaults to n." as well, which is clearer than 'default n if ...' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
38 lines
743 B
Plaintext
38 lines
743 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
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
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
|
|
help
|
|
Enable USART0 at boot
|
|
|
|
# ---------- Port 1 ----------
|
|
|
|
config USART_SAM_PORT_1
|
|
bool "Enable USART1"
|
|
depends on USART_SAM
|
|
help
|
|
Enable USART1 at boot
|
|
|
|
# ---------- Port 2 ----------
|
|
|
|
config USART_SAM_PORT_2
|
|
bool "Enable USART2"
|
|
depends on USART_SAM
|
|
help
|
|
Enable USART2 at boot
|