From 320d7eeb5eb8ab8a557781b5e6c9d57e08142478 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 15 Jul 2020 16:56:41 +0200 Subject: [PATCH] boards/blxxxpill: model features in Kconfig --- boards/blackpill-128kib/Kconfig | 17 +++++++++++++++++ boards/blackpill/Kconfig | 17 +++++++++++++++++ boards/bluepill-128kib/Kconfig | 17 +++++++++++++++++ boards/bluepill/Kconfig | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 boards/blackpill-128kib/Kconfig create mode 100644 boards/blackpill/Kconfig create mode 100644 boards/bluepill-128kib/Kconfig create mode 100644 boards/bluepill/Kconfig diff --git a/boards/blackpill-128kib/Kconfig b/boards/blackpill-128kib/Kconfig new file mode 100644 index 0000000000..801771edad --- /dev/null +++ b/boards/blackpill-128kib/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 Inria +# +# 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 "blackpill-128kib" if BOARD_BLACKPILL_128KIB + +config BOARD_BLACKPILL_128KIB + bool + default y + select BOARD_COMMON_BLXXXPILL + select CPU_MODEL_STM32F103CB + +source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/blackpill/Kconfig b/boards/blackpill/Kconfig new file mode 100644 index 0000000000..f8512b6752 --- /dev/null +++ b/boards/blackpill/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 Inria +# +# 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 "blackpill" if BOARD_BLACKPILL + +config BOARD_BLACKPILL + bool + default y + select BOARD_COMMON_BLXXXPILL + select CPU_MODEL_STM32F103C8 + +source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/bluepill-128kib/Kconfig b/boards/bluepill-128kib/Kconfig new file mode 100644 index 0000000000..170fe7fb88 --- /dev/null +++ b/boards/bluepill-128kib/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 Inria +# +# 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 "bluepill-128kib" if BOARD_BLUEPILL_128KIB + +config BOARD_BLUEPILL_128KIB + bool + default y + select BOARD_COMMON_BLXXXPILL + select CPU_MODEL_STM32F103CB + +source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/bluepill/Kconfig b/boards/bluepill/Kconfig new file mode 100644 index 0000000000..e702006e4f --- /dev/null +++ b/boards/bluepill/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 Inria +# +# 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 "bluepill" if BOARD_BLUEPILL + +config BOARD_BLUEPILL + bool + default y + select BOARD_COMMON_BLXXXPILL + select CPU_MODEL_STM32F103C8 + +source "$(RIOTBOARD)/common/blxxxpill/Kconfig"