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