1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

cpu/atmega1281: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-06-17 12:59:38 +02:00
parent 050b8229b2
commit ed0743ddb3
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

29
cpu/atmega1281/Kconfig Normal file
View File

@ -0,0 +1,29 @@
# 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.
## CPU Models
config CPU_MODEL_ATMEGA1281
bool
select CPU_FAM_ATMEGA128
select HAS_ATMEGA_PCINT1
select HAS_ATMEGA_PCINT2
select HAS_CPU_ATMEGA1281
## Definition of specific features
config HAS_CPU_ATMEGA1281
bool
help
Indicates that a 'atmega1281' cpu is being used.
## Common CPU symbols
config CPU_MODEL
default "atmega1281" if CPU_MODEL_ATMEGA1281
config CPU
default "atmega1281" if CPU_MODEL_ATMEGA1281
source "$(RIOTCPU)/atmega_common/Kconfig"