mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/qn908x: model Kconfig
This commit is contained in:
parent
922fca3962
commit
c5e9e08de8
@ -19,6 +19,12 @@ config CPU_FAM_QN908X
|
||||
select HAS_PERIPH_WDT
|
||||
select HAS_PERIPH_WDT_CB
|
||||
|
||||
select MODULE_VENDOR if TEST_KCONFIG
|
||||
# The clock functionality is used by most modules, including cpu.c even when
|
||||
# no peripheral module is being used.
|
||||
select MODULE_VENDOR_FSL_CLOCK if TEST_KCONFIG
|
||||
select MODULE_PERIPH_GPIO_MUX if TEST_KCONFIG
|
||||
|
||||
## CPU Models
|
||||
# For cpus QN9080CHN (revision C) and QN9080DHN (revision D)
|
||||
config CPU_MODEL_QN9080XHN
|
||||
@ -50,5 +56,7 @@ config HAS_CPU_QN908X
|
||||
|
||||
# Other cpu configuration
|
||||
rsource "Kconfig.clk"
|
||||
rsource "periph/Kconfig"
|
||||
rsource "vendor/Kconfig"
|
||||
|
||||
source "$(RIOTCPU)/cortexm_common/Kconfig"
|
||||
|
19
cpu/qn908x/periph/Kconfig
Normal file
19
cpu/qn908x/periph/Kconfig
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# 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 MODULE_PERIPH_FLEXCOMM
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
default y if MODULE_PERIPH_UART || MODULE_PERIPH_I2C || MODULE_PERIPH_SPI
|
||||
help
|
||||
Flexcomm interrupt dispatch driver.
|
||||
|
||||
config MODULE_PERIPH_GPIO_MUX
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common Pin MUX functions for qn908x CPUs.
|
18
cpu/qn908x/vendor/Kconfig
vendored
Normal file
18
cpu/qn908x/vendor/Kconfig
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# 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 MODULE_VENDOR
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
qn908x vendor-specific code.
|
||||
|
||||
config MODULE_VENDOR_FSL_CLOCK
|
||||
bool
|
||||
depends on MODULE_VENDOR
|
||||
help
|
||||
qn908x vendor-specific FSL Clock code.
|
Loading…
Reference in New Issue
Block a user