97b07b943a
Remove prompts from Kconfig options `UART_x_NRF_UART*` that select the type of nrfx driver (for UART or UARTE peripheral) to be used for a given instance. This prevents the options from being modified from configuration files. Instead, make one of these options selected by default according to the "compatible" property set for the corresponding UART node in devicetree. This eliminates the need of changing both the "compatible" property in devicetree and the Kconfig option selecting the driver type when a user wants to switch between UART and UARTE for a given instance. Since all `UART_x_NRF_UART*` options are made "hidden" by this commit, all their occurrences in configuration files are removed. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
27 lines
556 B
Text
27 lines
556 B
Text
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_SOC_SERIES_NRF52X=y
|
|
CONFIG_SOC_NRF52811_QFAA=y
|
|
CONFIG_BOARD_NRF52840DK_NRF52811=y
|
|
|
|
# Enable MPU
|
|
CONFIG_ARM_MPU=y
|
|
|
|
# Enable UART
|
|
CONFIG_SERIAL=y
|
|
|
|
# enable console
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# enable GPIO
|
|
CONFIG_GPIO=y
|
|
|
|
# additional board options
|
|
CONFIG_GPIO_AS_PINRESET=y
|
|
|
|
# Bluetooth not enabled by default on nRF52811 due to RAM limitations when
|
|
# running the default set of kernel tests.
|
|
# Enable this on your prj.conf to include Bluetooth support
|