mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# Copyright (c) 2021 Mesotic SAS
|
|
#
|
|
# 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 CPU_FAM_NRF9160
|
|
bool
|
|
select HAS_CPU_NRF9160
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_FLASHPAGE
|
|
select HAS_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
|
|
select HAS_PERIPH_FLASHPAGE_PAGEWISE
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_GPIO_LL
|
|
select HAS_PERIPH_GPIO_LL_IRQ
|
|
select HAS_PERIPH_GPIO_LL_IRQ_UNMASK
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
|
select HAS_PERIPH_TIMER_QUERY_FREQS
|
|
select HAS_PERIPH_UART_MODECFG
|
|
select HAS_PERIPH_SPI_GPIO_MODE
|
|
select HAS_PERIPH_WDT
|
|
select HAS_PERIPH_WDT_CB
|
|
select MODULE_NRF_SHARED_SERIAL_IRQ
|
|
|
|
## CPU Models
|
|
config CPU_MODEL_NRF9160
|
|
bool
|
|
select CPU_CORE_CORTEX_M33
|
|
select CPU_FAM_NRF9160
|
|
|
|
## CPU common symbols
|
|
config CPU_FAM
|
|
default "nrf9160" if CPU_FAM_NRF9160
|
|
|
|
config CPU_MODEL
|
|
default "nrf9160" if CPU_MODEL_NRF9160
|
|
|
|
config CPU
|
|
default "nrf9160" if CPU_FAM_NRF9160
|
|
|
|
## Definition of specific features
|
|
config HAS_CPU_NRF9160
|
|
bool
|
|
help
|
|
Indicates that the current cpu is 'nrf9160'.
|
|
|
|
rsource "vectors/Kconfig"
|
|
rsource "periph/Kconfig"
|
|
|
|
source "$(RIOTCPU)/nrf5x_common/Kconfig"
|