From 31341b32552cfa07d3b85e4bb1b59334ea6b6d7b Mon Sep 17 00:00:00 2001 From: Juan Manuel Cruz Date: Fri, 9 Sep 2016 11:50:07 -0500 Subject: [PATCH] task profiler: Adds the task profiler samples to the sanity check Boards that cannot support microkernel applications for memory resources are excluded from microkernel build test. qemu nios2 board is excluded from nanokernel because the Altera JTAG UART not implemented yet The kernel even logger buffer size for nanokernel was reduced from 1000 elements to 500 to allow the sample to fit in the Quark D2000 board. Jira: ZEP-698 Change-Id: I0c5cc4c0bfc27940a758dcdd8ff0e01ad7f4b88c Signed-off-by: Juan Manuel Cruz --- samples/task_profiler/sample_microkernel_app/testcase.ini | 7 +++++++ samples/task_profiler/sample_nanokernel_app/prj.conf | 2 +- samples/task_profiler/sample_nanokernel_app/testcase.ini | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 samples/task_profiler/sample_microkernel_app/testcase.ini create mode 100644 samples/task_profiler/sample_nanokernel_app/testcase.ini diff --git a/samples/task_profiler/sample_microkernel_app/testcase.ini b/samples/task_profiler/sample_microkernel_app/testcase.ini new file mode 100644 index 00000000000..c8407984d87 --- /dev/null +++ b/samples/task_profiler/sample_microkernel_app/testcase.ini @@ -0,0 +1,7 @@ +[test] +kernel = micro +build_only = true +tags = samples +platform_exclude = arduino_101_sss nucleo_f103rb olimexino_stm32 \ + quark_d2000_crb quark_se_sss_devboard altera_max10 \ + qemu_nios2 diff --git a/samples/task_profiler/sample_nanokernel_app/prj.conf b/samples/task_profiler/sample_nanokernel_app/prj.conf index 9a3d5f04e8e..4203334234a 100644 --- a/samples/task_profiler/sample_nanokernel_app/prj.conf +++ b/samples/task_profiler/sample_nanokernel_app/prj.conf @@ -6,6 +6,6 @@ CONFIG_RING_BUFFER=y CONFIG_KERNEL_EVENT_LOGGER=y CONFIG_KERNEL_EVENT_LOGGER_DYNAMIC=y CONFIG_NANO_TIMEOUTS=y -CONFIG_KERNEL_EVENT_LOGGER_BUFFER_SIZE=1000 +CONFIG_KERNEL_EVENT_LOGGER_BUFFER_SIZE=500 CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH=y CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y diff --git a/samples/task_profiler/sample_nanokernel_app/testcase.ini b/samples/task_profiler/sample_nanokernel_app/testcase.ini new file mode 100644 index 00000000000..3514b92050d --- /dev/null +++ b/samples/task_profiler/sample_nanokernel_app/testcase.ini @@ -0,0 +1,5 @@ +[test] +kernel = nano +build_only = true +tags = samples +platform_exclude = qemu_nios2