mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 23:11:19 +01:00
The QN908x has four FLEXCOMM interfaces that support a subset of UART, SPI or I2C each one. This patch adds generic support for dealing with the FLEXCOMM initialization and interrupts and adds a driver for RX/TX support in UART. With this patch is now possible to use a shell on the device over UART.
24 lines
593 B
Plaintext
24 lines
593 B
Plaintext
# Copyright (c) 2020 iosabi
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config BOARD
|
|
default "qn9080dk" if BOARD_QN9080DK
|
|
|
|
config BOARD_QN9080DK
|
|
bool
|
|
default y
|
|
select BOARD_COMMON_QN908X
|
|
select CPU_MODEL_QN9080XHN
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
select BOARD_HAS_XTAL32K
|
|
select BOARD_HAS_XTAL_32M
|
|
select HAS_PERIPH_UART
|
|
select HAS_PERIPH_UART_MODECFG
|
|
|
|
source "$(RIOTBOARD)/common/qn908x/Kconfig"
|