1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/atmega328p-xplained-mini/Kconfig
Gerson Fernando Budke 859d587afd
boards/atmega328p-xplained-mini: Add BTN0 and LED0
The board have one user button and a user led but are not enabled.
This add necessary support to use the button and the led. It include
the configs to use with SAUL and button interrupt.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:24 +01:00

30 lines
887 B
Plaintext

# Copyright (c) 2020 HAW Hamburg
# Copyright (c) 2021-2023 Gerson Fernando Budke
#
# 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-xplained-mini" if BOARD_ATMEGA328P_XPLAINED_MINI
config BOARD_ATMEGA328P_XPLAINED_MINI
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
select HAVE_SAUL_GPIO
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
select MODULE_ATMEGA_PCINT0 if TEST_KCONFIG
source "$(RIOTBOARD)/common/atmega/Kconfig"