This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new 7159f0937 benchmarks: Change options from bool to tristate 7159f0937 is described below commit 7159f093758d95da9420f3af08c511582b894103 Author: Huang Qi <huang...@xiaomi.com> AuthorDate: Tue Apr 16 19:02:21 2024 +0800 benchmarks: Change options from bool to tristate This patch changes the enable options of coremark, coremark-pro and cachespeed from bool to tristate. This allows the user to select the benchmark to be built as a elf module, which can be loaded and executed on the target dynamically. Signed-off-by: Huang Qi <huang...@xiaomi.com> --- benchmarks/cachespeed/Kconfig | 2 +- benchmarks/coremark-pro/Kconfig | 2 +- benchmarks/coremark/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/cachespeed/Kconfig b/benchmarks/cachespeed/Kconfig index ec8481542..0b6f8fc78 100644 --- a/benchmarks/cachespeed/Kconfig +++ b/benchmarks/cachespeed/Kconfig @@ -4,7 +4,7 @@ # config BENCHMARK_CACHESPEED - bool "CACHE Speed Test" + tristate "CACHE Speed Test" depends on ARCH_ICACHE && ARCH_DCACHE default n ---help--- diff --git a/benchmarks/coremark-pro/Kconfig b/benchmarks/coremark-pro/Kconfig index 1b5cb8719..a4027787f 100644 --- a/benchmarks/coremark-pro/Kconfig +++ b/benchmarks/coremark-pro/Kconfig @@ -4,7 +4,7 @@ # menuconfig BENCHMARK_COREMARK_PRO - bool "Coremark Pro Benchmark" + tristate "Coremark Pro Benchmark" default n depends on LIBC_FLOATINGPOINT diff --git a/benchmarks/coremark/Kconfig b/benchmarks/coremark/Kconfig index 3e148642d..206be8eca 100644 --- a/benchmarks/coremark/Kconfig +++ b/benchmarks/coremark/Kconfig @@ -4,7 +4,7 @@ # menuconfig BENCHMARK_COREMARK - bool "CoreMark Benchmark" + tristate "CoreMark Benchmark" select LIBC_FLOATINGPOINT default n ---help---