summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in.2
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-03-26 16:11:43 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-03-26 16:11:43 (GMT)
commite1d494a2489bc469f4a50a6942fa15255621e985 (patch)
treee4ce86572416d14954683d0334ed4d3ba2594e8d /config/libc/newlib.in.2
parenta41b269af6001e47df0c6f42cad13e32526b22cb (diff)
parent6476f8a9403bd3c4b1477a23d0bbba1961ed9f66 (diff)
Merge pull request #320 from bhundven/newlib_updates
Newlib updates
Diffstat (limited to 'config/libc/newlib.in.2')
-rw-r--r--config/libc/newlib.in.221
1 files changed, 21 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
index b16b23a..48e5503 100644
--- a/config/libc/newlib.in.2
+++ b/config/libc/newlib.in.2
@@ -44,6 +44,27 @@ config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
This will compile newlib with -Os.
+config LIBC_NEWLIB_NANO_MALLOC
+ bool
+ prompt "Enable Nano Malloc"
+ depends on LIBC_NEWLIB_2_1_or_later
+ help
+ NEWLIB has two implementations of malloc family's functions, one in
+ `mallocr.c' and the other one in `nano-mallocr.c'. This options
+ enables the nano-malloc implementation, which is for small systems
+ with very limited memory. Note that this implementation does not
+ support `--enable-malloc-debugging' any more.
+
+config LIBC_NEWLIB_NANO_FORMATTED_IO
+ bool
+ prompt "Enable Nano Formatted I/O"
+ depends on LIBC_NEWLIB_2_2_or_later
+ help
+ This builds NEWLIB with a special implementation of formatted I/O
+ functions, designed to lower the size of application on small systems
+ with size constraint issues. This option does not affect wide-char
+ formatted I/O functions.
+
config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
string
prompt "Extra config for newlib"