boards/native: Add Kconfig symbols

Also add the board to the whitelist of tests/kconfig_features
This commit is contained in:
Leandro Lanzieri 2020-07-16 13:54:28 +02:00
parent 64970ab131
commit 7efe7224ee
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 27 additions and 0 deletions

26
boards/native/Kconfig Normal file
View File

@ -0,0 +1,26 @@
# 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 "native" if BOARD_NATIVE
config BOARD_NATIVE
bool
default y
select CPU_MODEL_NATIVE
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_RTC
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_PERIPH_GPIO
select HAS_PERIPH_PWM
select HAS_PERIPH_QDEC
# Various other features (if any)
select HAS_ETHERNET
select HAS_MOTOR_DRIVER

View File

@ -64,6 +64,7 @@ BOARD_WHITELIST += acd52832 \
msb-430h \
msbiot \
mulle \
native \
nrf51dk \
nrf51dongle \
nrf52832-mdk \