boards/native: Add Kconfig symbols
Also add the board to the whitelist of tests/kconfig_features
This commit is contained in:
parent
64970ab131
commit
7efe7224ee
26
boards/native/Kconfig
Normal file
26
boards/native/Kconfig
Normal 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
|
||||||
@ -64,6 +64,7 @@ BOARD_WHITELIST += acd52832 \
|
|||||||
msb-430h \
|
msb-430h \
|
||||||
msbiot \
|
msbiot \
|
||||||
mulle \
|
mulle \
|
||||||
|
native \
|
||||||
nrf51dk \
|
nrf51dk \
|
||||||
nrf51dongle \
|
nrf51dongle \
|
||||||
nrf52832-mdk \
|
nrf52832-mdk \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user