diff --git a/boards/native/Kconfig b/boards/native/Kconfig new file mode 100644 index 0000000000..977cba18b9 --- /dev/null +++ b/boards/native/Kconfig @@ -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 diff --git a/tests/kconfig_features/Makefile b/tests/kconfig_features/Makefile index 2dcbb1170c..579772476a 100644 --- a/tests/kconfig_features/Makefile +++ b/tests/kconfig_features/Makefile @@ -64,6 +64,7 @@ BOARD_WHITELIST += acd52832 \ msb-430h \ msbiot \ mulle \ + native \ nrf51dk \ nrf51dongle \ nrf52832-mdk \