zephyr/doc/reference/misc
Peter Bigot 33103828dc lib: add cbprintf capability
This commit adds a C99 stdio value formatter capability where
generated text is emitted through a callback.  This allows generation
of arbitrarily long output without a buffer, functionality that is
core to printk, logging, and other system and application needs.

The formatter supports most C99 specifications, excluding:
* %Lf long double conversion
* wide character output

Kconfig options allow disabling features like floating-point
conversion if they are not necessary.  By default most conversions are
enabled.

The original z_vprintk() implementation is adapted to meet the
interface requirements of cbvprintf, and made available as an opt-in
feature for space-constrained applications that do not need full
formatting support.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-11-13 06:38:01 -05:00
..
data_structures.rst doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
dlist-empty.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
dlist-single.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
dlist.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
formatted_output.rst lib: add cbprintf capability 2020-11-13 06:38:01 -05:00
index.rst jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
notify.rst doc: update struct references to use :c:struct: 2020-08-31 09:57:33 -04:00
rbtree.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
slist-empty.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00
slist.png doc: Add docs on data structures 2020-05-07 17:17:52 -07:00