summaryrefslogtreecommitdiff
path: root/samples/legacy
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2016-12-15 11:16:55 -0500
committerAnas Nashif <nashif@linux.intel.com>2016-12-15 22:31:28 +0000
commitfe958df4dd91475538c36c3ffc995c82f09da92f (patch)
tree5e6aa4d0af17c1cd9f6f3caaae1f95d1c69e275a /samples/legacy
parentb12a8e0914f091a2142ca09cefe3e70342ff440f (diff)
libc: rework libc selection and reduce Kconfigs
Moved all libc Kconfigs to where the code is and remove the default Kconfig for selecting the minimal libc. Minimal libc is now the default if nothing else is configured in. Removed the options for extended libc, this obviously was restricting features in the minimal libc without a good reason, most of the functions are available directly when using newlib, so there is no reason why we need to restrict those in minimal libc. Jira: ZEP-1440 Change-Id: If0a3adf4314e2ebdf0e139dee3eb4f47ce07aa89 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'samples/legacy')
-rw-r--r--samples/legacy/task_profiler/README.txt2
-rw-r--r--samples/legacy/task_profiler/microkernel/prj.conf1
-rw-r--r--samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf1
-rw-r--r--samples/legacy/task_profiler/nanokernel/prj.conf1
-rw-r--r--samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf1
5 files changed, 0 insertions, 6 deletions
diff --git a/samples/legacy/task_profiler/README.txt b/samples/legacy/task_profiler/README.txt
index e9c9755a8..cfde20597 100644
--- a/samples/legacy/task_profiler/README.txt
+++ b/samples/legacy/task_profiler/README.txt
@@ -231,10 +231,8 @@ For that purpose, following flags must be enabled in project configuration file
CONFIG_KERNEL_EVENT_LOGGER_DYNAMIC=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_HANDLER_SHELL=y
-CONFIG_MINIMAL_LIBC_EXTENDED=y
-->
-CONFIG_MINIMAL_LIBC_EXTENDED is required for atoi() function used in profiler shell
command implementation.
If done, the profiler will automatically enable a shell over UART allowing to
diff --git a/samples/legacy/task_profiler/microkernel/prj.conf b/samples/legacy/task_profiler/microkernel/prj.conf
index 2650751f7..1bc74d92a 100644
--- a/samples/legacy/task_profiler/microkernel/prj.conf
+++ b/samples/legacy/task_profiler/microkernel/prj.conf
@@ -2,7 +2,6 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_ENABLE_SHELL=y
-CONFIG_MINIMAL_LIBC_EXTENDED=y
CONFIG_TASK_MONITOR=y
CONFIG_TASK_MONITOR_MASK=6
CONFIG_RING_BUFFER=y
diff --git a/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf b/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf
index d47ee89d2..e97a9051e 100644
--- a/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf
+++ b/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf
@@ -2,7 +2,6 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_ENABLE_SHELL=y
-CONFIG_MINIMAL_LIBC_EXTENDED=y
CONFIG_TASK_MONITOR=y
CONFIG_TASK_MONITOR_MASK=6
CONFIG_RING_BUFFER=y
diff --git a/samples/legacy/task_profiler/nanokernel/prj.conf b/samples/legacy/task_profiler/nanokernel/prj.conf
index 6105f6fe0..c7ca8457f 100644
--- a/samples/legacy/task_profiler/nanokernel/prj.conf
+++ b/samples/legacy/task_profiler/nanokernel/prj.conf
@@ -2,7 +2,6 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_ENABLE_SHELL=y
-CONFIG_MINIMAL_LIBC_EXTENDED=y
CONFIG_RING_BUFFER=y
CONFIG_KERNEL_EVENT_LOGGER=y
CONFIG_KERNEL_EVENT_LOGGER_DYNAMIC=y
diff --git a/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf b/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf
index 729513997..b255a05ed 100644
--- a/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf
+++ b/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf
@@ -2,7 +2,6 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_ENABLE_SHELL=y
-CONFIG_MINIMAL_LIBC_EXTENDED=y
CONFIG_RING_BUFFER=y
CONFIG_KERNEL_EVENT_LOGGER=y
CONFIG_KERNEL_EVENT_LOGGER_DYNAMIC=y