summaryrefslogtreecommitdiff
path: root/samples/legacy
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2016-12-11 05:59:18 -0500
committerAnas Nashif <nashif@linux.intel.com>2016-12-14 13:45:52 +0000
commit418058a1238e4ab78474d11aa54bbbd9595c22bd (patch)
tree33b7d9369721ed3257b6a13ecd1c2fa467338741 /samples/legacy
parentb42587e9cd9b3a3b1f2f0a283f7ffe3b4bdbb4f3 (diff)
kernel: remove NANOKERNEL and MICROKERNEL configs
Those are legacy and not needed anymore. Change-Id: I8113114fd60880b3f538612db7702f6129af0a06 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'samples/legacy')
-rw-r--r--samples/legacy/task_profiler/microkernel/src/hello.c4
-rw-r--r--samples/legacy/task_profiler/nanokernel/src/hello.c4
-rw-r--r--samples/legacy/task_profiler/profiler/src/profiler.c2
3 files changed, 0 insertions, 10 deletions
diff --git a/samples/legacy/task_profiler/microkernel/src/hello.c b/samples/legacy/task_profiler/microkernel/src/hello.c
index 211aadf0e..4e4d6dc97 100644
--- a/samples/legacy/task_profiler/microkernel/src/hello.c
+++ b/samples/legacy/task_profiler/microkernel/src/hello.c
@@ -19,8 +19,6 @@
#include <zephyr.h>
#include <stdio.h>
-#ifdef CONFIG_MICROKERNEL
-
/*
* Microkernel version of hello world demo has two tasks that utilize
* semaphores and sleeps to take turns printing a greeting message at
@@ -90,5 +88,3 @@ void taskB(void)
helloLoop(__func__, TASKBSEM, TASKASEM);
}
-
-#endif /* CONFIG_MICROKERNEL */
diff --git a/samples/legacy/task_profiler/nanokernel/src/hello.c b/samples/legacy/task_profiler/nanokernel/src/hello.c
index 5940d75f2..f36aa9a8e 100644
--- a/samples/legacy/task_profiler/nanokernel/src/hello.c
+++ b/samples/legacy/task_profiler/nanokernel/src/hello.c
@@ -20,8 +20,6 @@
#include <stdio.h>
#include "profiler.h"
-#ifdef CONFIG_NANOKERNEL
-
/*
* Nanokernel version of hello world demo has a task and a fiber that utilize
* semaphores and timers to take turns printing a greeting message at
@@ -76,5 +74,3 @@ void main(void)
nano_task_sem_take(&nanoSemTask, TICKS_UNLIMITED);
}
}
-
-#endif /* CONFIG_NANOKERNEL */
diff --git a/samples/legacy/task_profiler/profiler/src/profiler.c b/samples/legacy/task_profiler/profiler/src/profiler.c
index 795c771dc..6ba123ad6 100644
--- a/samples/legacy/task_profiler/profiler/src/profiler.c
+++ b/samples/legacy/task_profiler/profiler/src/profiler.c
@@ -345,7 +345,6 @@ void prof_flush(void)
#endif /* ! PROF_UART_TESTMODE */
}
-#ifdef CONFIG_MICROKERNEL
void prof(void)
{
@@ -359,4 +358,3 @@ void prof(void)
}
}
-#endif /* CONFIG_MICROKERNEL */