-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |