mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 17:26:43 +00:00
Use the new DT_<COMPAT>_<INSTANCE>_<PROP> defines to instantiate devices. This commit adds also ability to define individual pin locations on SoC series that support the feature. Definitions of GPIO pins assigned to a given location have been moved from soc_pinmap.h file to board DTS file. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
21 lines
375 B
Plaintext
21 lines
375 B
Plaintext
# Kconfig - Gecko SDK UART
|
|
#
|
|
# Copyright (c) 2017, Christian Taedcke
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig UART_GECKO
|
|
bool "Gecko UART/USART driver"
|
|
depends on HAS_SILABS_GECKO
|
|
depends on GPIO_GECKO
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select SOC_GECKO_USART
|
|
help
|
|
Enable the Gecko uart driver.
|
|
|
|
if UART_GECKO
|
|
|
|
endif # UART_GECKO
|