This is the microkernel version of the FPU sharing test from legacy modified to use unified APIs directly. Jira: ZEP-932 Change-Id: I133a1466ea75201a97c2f8b83c3586fea0a19447 Signed-off-by: Jithu Joseph <jithu.joseph@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
12 lines
517 B
Makefile
12 lines
517 B
Makefile
ccflags-y += -I${ZEPHYR_BASE}/tests/include
|
|
|
|
obj-y += main.o pi.o
|
|
|
|
# Some boards are significantly slower than others resulting in the test
|
|
# output being in the range of every few seconds to every few minutes. To
|
|
# compensate for this, one can control the number of iterations in the PI
|
|
# calculation through PI_NUM_ITERATIONS. Lowering this value will increase
|
|
# the speed of the test but it will come at the expense of precision.
|
|
PI_NUM_ITERATIONS ?= 700000
|
|
ccflags-y += "-DPI_NUM_ITERATIONS=${PI_NUM_ITERATIONS}"
|