From 7efe7224ee08c7dced8377fe2c4aee65248b59b0 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 16 Jul 2020 13:54:28 +0200 Subject: [PATCH] boards/native: Add Kconfig symbols Also add the board to the whitelist of tests/kconfig_features --- boards/native/Kconfig | 26 ++++++++++++++++++++++++++ tests/kconfig_features/Makefile | 1 + 2 files changed, 27 insertions(+) create mode 100644 boards/native/Kconfig 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 \