boards/atmega328p: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-05-29 19:33:01 +02:00
parent 688d06e38a
commit 1a3d7aaa90
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

23
boards/atmega328p/Kconfig Normal file
View File

@ -0,0 +1,23 @@
# 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 BOARD
default "atmega328p" if BOARD_ATMEGA328P
config BOARD_ATMEGA328P
bool
default y
select CPU_MODEL_ATMEGA328P
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_ADC
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_I2C
select HAS_PERIPH_PWM
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
# Various other features (if any)