mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9fd48a0d06
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
44 lines
1021 B
Plaintext
44 lines
1021 B
Plaintext
# Copyright (c) 2023 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.
|
|
|
|
# For now, define all features here
|
|
# We will rely on nrf5x_common later when we support more peripherals
|
|
config CPU_FAM_NRF53
|
|
bool
|
|
select HAS_CPU_NRF53
|
|
select HAS_PERIPH_CPUID
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
|
select HAS_PERIPH_UART_MODECFG
|
|
|
|
## CPU Models
|
|
config CPU_MODEL_NRF5340_APP
|
|
bool
|
|
select CPU_CORE_CORTEX_M33
|
|
select CPU_FAM_NRF53
|
|
|
|
## CPU common symbols
|
|
config CPU_FAM
|
|
default "nrf53" if CPU_FAM_NRF53
|
|
|
|
config CPU_MODEL
|
|
default "nrf5340_app" if CPU_MODEL_NRF5340_APP
|
|
|
|
|
|
config CPU
|
|
default "nrf53" if CPU_FAM_NRF53
|
|
|
|
## Definition of specific features
|
|
config HAS_CPU_NRF53
|
|
bool
|
|
help
|
|
Indicates that the current cpu is 'nrf53'.
|
|
|
|
rsource "vectors/Kconfig"
|
|
|
|
source "$(RIOTCPU)/nrf5x_common/Kconfig"
|