1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/atmega256rfr2: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-06-04 16:42:19 +02:00
parent f63066974c
commit cc6a4929f4
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

35
cpu/atmega256rfr2/Kconfig Normal file
View File

@ -0,0 +1,35 @@
# 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_ATMEGA256RF
bool
select CPU_COMMON_ATMEGA
## CPU Models
config CPU_MODEL_ATMEGA256RFR2
bool
select CPU_FAM_ATMEGA256RF
select HAS_ATMEGA_PCINT1
select HAS_CPU_ATMEGA256RFR2
## Definition of specific features
config HAS_CPU_ATMEGA256RFR2
bool
help
Indicates that a 'atmega256rfr2' cpu is being used.
## Common CPU symbols
config CPU_FAM
default "atmega256rf" if CPU_FAM_ATMEGA256RF
config CPU_MODEL
default "atmega256rfr2" if CPU_MODEL_ATMEGA256RFR2
config CPU
default "atmega256rfr2" if CPU_MODEL_ATMEGA256RFR2
source "$(RIOTCPU)/atmega_common/Kconfig"