boards/atmega328p: Add Kconfig symbols
This commit is contained in:
parent
688d06e38a
commit
1a3d7aaa90
23
boards/atmega328p/Kconfig
Normal file
23
boards/atmega328p/Kconfig
Normal 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)
|
||||
Loading…
x
Reference in New Issue
Block a user