2020-07-03 11:11:11 +02:00
|
|
|
# Copyright (c) 2020 HAW Hamburg
|
|
|
|
#
|
|
|
|
# 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_NRF52
|
|
|
|
bool
|
|
|
|
select CPU_COMMON_NRF5X
|
|
|
|
|
|
|
|
## CPU Models
|
2020-06-26 16:26:17 +02:00
|
|
|
config CPU_MODEL_NRF52805XXAA
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M4
|
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
|
|
|
config CPU_MODEL_NRF52810XXAA
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M4
|
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
|
|
|
config CPU_MODEL_NRF52811XXAA
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M4
|
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
|
|
|
config CPU_MODEL_NRF52820XXAA
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M4
|
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
2020-07-03 11:11:11 +02:00
|
|
|
config CPU_MODEL_NRF52832XXAA
|
|
|
|
bool
|
|
|
|
select CPU_FAM_NRF52
|
2020-06-26 16:26:17 +02:00
|
|
|
select CPU_CORE_CORTEX_M4F
|
2020-07-03 11:11:11 +02:00
|
|
|
|
2020-06-26 16:26:17 +02:00
|
|
|
config CPU_MODEL_NRF52833XXAA
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M4F
|
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
2020-07-03 11:11:11 +02:00
|
|
|
config CPU_MODEL_NRF52840XXAA
|
|
|
|
bool
|
2020-06-26 16:26:17 +02:00
|
|
|
select CPU_CORE_CORTEX_M4F
|
2020-07-03 11:11:11 +02:00
|
|
|
select CPU_FAM_NRF52
|
|
|
|
|
|
|
|
## CPU common symbols
|
|
|
|
config CPU_FAM
|
|
|
|
default "nrf52" if CPU_FAM_NRF52
|
|
|
|
|
|
|
|
config CPU_MODEL
|
2020-06-26 16:26:17 +02:00
|
|
|
default "nrf52805xxaa" if CPU_MODEL_NRF52805XXAA
|
|
|
|
default "nrf52810xxaa" if CPU_MODEL_NRF52810XXAA
|
|
|
|
default "nrf52811xxaa" if CPU_MODEL_NRF52811XXAA
|
|
|
|
default "nrf52820xxaa" if CPU_MODEL_NRF52820XXAA
|
2020-07-03 11:11:11 +02:00
|
|
|
default "nrf52832xxaa" if CPU_MODEL_NRF52832XXAA
|
2020-06-26 16:26:17 +02:00
|
|
|
default "nrf52833xxaa" if CPU_MODEL_NRF52833XXAA
|
2020-07-03 11:11:11 +02:00
|
|
|
default "nrf52840xxaa" if CPU_MODEL_NRF52840XXAA
|
|
|
|
|
|
|
|
config CPU
|
|
|
|
default "nrf52" if CPU_FAM_NRF52
|
|
|
|
|
|
|
|
source "$(RIOTCPU)/nrf5x_common/Kconfig"
|