Skip to content

Commit

Permalink
cpu/nrf53: add initial Kconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
  • Loading branch information
dylad committed Jun 28, 2023
1 parent 6b1a235 commit 753ed70
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions cpu/nrf53/Kconfig
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 753ed70

Please sign in to comment.