2020-05-12 19:34:05 +02:00
|
|
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
2020-07-03 10:47:43 +02:00
|
|
|
# 2020 HAW Hamburg
|
2020-05-12 19:34:05 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2020-07-03 10:47:43 +02:00
|
|
|
|
|
|
|
config CPU_FAM_NRF51
|
|
|
|
bool
|
|
|
|
select CPU_CORE_CORTEX_M0
|
|
|
|
select CPU_COMMON_NRF5X
|
|
|
|
|
|
|
|
## CPU Models
|
|
|
|
config CPU_MODEL_NRF51X22XXAA
|
|
|
|
bool
|
|
|
|
select CPU_FAM_NRF51
|
|
|
|
|
|
|
|
config CPU_MODEL_NRF51X22XXAB
|
|
|
|
bool
|
|
|
|
select CPU_FAM_NRF51
|
|
|
|
|
|
|
|
config CPU_MODEL_NRF51X22XXAC
|
|
|
|
bool
|
|
|
|
select CPU_FAM_NRF51
|
|
|
|
|
|
|
|
## CPU common symbols
|
|
|
|
config CPU_FAM
|
|
|
|
default "nrf51" if CPU_FAM_NRF51
|
|
|
|
|
|
|
|
config CPU_MODEL
|
|
|
|
default "nrf51x22xxaa" if CPU_MODEL_NRF51X22XXAA
|
|
|
|
default "nrf51x22xxab" if CPU_MODEL_NRF51X22XXAB
|
|
|
|
default "nrf51x22xxac" if CPU_MODEL_NRF51X22XXAC
|
|
|
|
|
|
|
|
config CPU
|
|
|
|
default "nrf51" if CPU_FAM_NRF51
|
|
|
|
|
|
|
|
## Platform-specific defaults
|
2020-05-12 19:34:05 +02:00
|
|
|
config GNRC_PKTBUF_SIZE
|
|
|
|
default 2048
|
2024-03-26 10:41:15 +01:00
|
|
|
depends on USEMODULE_GNRC_PKTBUF_STATIC
|
2020-07-03 10:47:43 +02:00
|
|
|
|
|
|
|
source "$(RIOTCPU)/nrf5x_common/Kconfig"
|