From c4fda9f4a9c60bffe9076ab732024f45cc9a9a64 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 10 Nov 2020 10:35:38 +0100 Subject: [PATCH] cpu/native/backtrace: add module to Kconfig --- cpu/native/Kconfig | 7 +++++++ cpu/native/backtrace/Kconfig | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 cpu/native/backtrace/Kconfig diff --git a/cpu/native/Kconfig b/cpu/native/Kconfig index 87202b5255..b1b181fc8d 100644 --- a/cpu/native/Kconfig +++ b/cpu/native/Kconfig @@ -77,3 +77,10 @@ config CPU_MODEL config CPU default "native" if CPU_MODEL_NATIVE + +menu "Native modules" + depends on CPU_ARCH_NATIVE + +rsource "backtrace/Kconfig" + +endmenu # Native modules diff --git a/cpu/native/backtrace/Kconfig b/cpu/native/backtrace/Kconfig new file mode 100644 index 0000000000..339720f3f0 --- /dev/null +++ b/cpu/native/backtrace/Kconfig @@ -0,0 +1,11 @@ +# 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 MODULE_BACKTRACE + bool "Stack backtrace" + depends on CPU_ARCH_NATIVE + depends on TEST_KCONFIG