From 5e7ea2721621d3141f53b8d1a78a5d945c816128 Mon Sep 17 00:00:00 2001 From: Dylan Laduranty Date: Wed, 28 Jun 2023 15:16:15 +0200 Subject: [PATCH] cpu/nrf53: add initial Kconfig Signed-off-by: Dylan Laduranty --- cpu/nrf53/Kconfig | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cpu/nrf53/Kconfig diff --git a/cpu/nrf53/Kconfig b/cpu/nrf53/Kconfig new file mode 100644 index 0000000000000..fcfd128af92aa --- /dev/null +++ b/cpu/nrf53/Kconfig @@ -0,0 +1,39 @@ +# 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. + +config CPU_FAM_NRF53 + bool + select CPU_COMMON_NRF5X + select HAS_CORTEXM_MPU + select HAS_CPU_NRF53 + +## CPU Models +config CPU_MODEL_NRF5340XXAA + 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 "nrf5340xxaa" if CPU_MODEL_NRF5340XXAA + + +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 "periph/Kconfig" +rsource "vectors/Kconfig" + +source "$(RIOTCPU)/nrf5x_common/Kconfig"