benchmarks: cleanup footprint tests (nano kernel)
Remove float option from 'max' configuration and add a new 'float' test for hardware that supports floating point. Move configuration files into directories to ease maintenance. Change-Id: Ibf4c88ea946a78b8025bc61409b0ab661250f4fb Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c4312b652c
commit
fd878a6f7d
12 changed files with 16 additions and 2 deletions
|
@ -3,9 +3,13 @@ TEST ?= min
|
|||
|
||||
KERNEL_TYPE = nano
|
||||
BOARD ?= qemu_x86
|
||||
CONF_FILE = $(or $(wildcard prj_$(TEST)_$(ARCH)_$(BOARD).conf), \
|
||||
$(wildcard prj_$(TEST)_$(ARCH).conf))
|
||||
CONF_FILE = $(or $(wildcard $(TEST)/$(BOARD).conf), \
|
||||
$(wildcard $(TEST)/$(ARCH).conf))
|
||||
ifeq ($(TEST),float)
|
||||
CFLAGS += -DTEST_max
|
||||
else
|
||||
CFLAGS += -DTEST_$(TEST)
|
||||
endif
|
||||
|
||||
include $(ZEPHYR_BASE)/Makefile.inc
|
||||
|
||||
|
|
4
samples/nanokernel/benchmark/footprint/max/x86.conf
Normal file
4
samples/nanokernel/benchmark/footprint/max/x86.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
CONFIG_PRINTK=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_IDT_NUM_VECTORS=256
|
||||
CONFIG_NUM_DYNAMIC_STUBS=2
|
|
@ -14,4 +14,10 @@ tags = footprint
|
|||
extra_args = TEST=max
|
||||
build_only = true
|
||||
arch_whitelist = x86
|
||||
|
||||
[footprint-float]
|
||||
tags = footprint
|
||||
extra_args = TEST=float
|
||||
build_only = true
|
||||
arch_whitelist = x86
|
||||
config_whitelist = !CONFIG_CPU_MINUTEIA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue