From 0cf220166d93de1a39c8b2ee0e442fc56c494504 Mon Sep 17 00:00:00 2001 From: Krzysztof Chruscinski Date: Mon, 19 Sep 2022 13:47:04 +0200 Subject: [PATCH] doc: release_notes: Notes for cbprintf and logging Added section about cbprintf and logging. Signed-off-by: Krzysztof Chruscinski --- doc/releases/release-notes-3.2.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/releases/release-notes-3.2.rst b/doc/releases/release-notes-3.2.rst index 50502707fbb..fa479bdd738 100644 --- a/doc/releases/release-notes-3.2.rst +++ b/doc/releases/release-notes-3.2.rst @@ -341,6 +341,15 @@ Libraries / Subsystems not been used, and the ``nb`` parameter, of :c:struct:`net_buf` type, can carry additional transport information when needed. +* Cbprintf and logging + + * Updated cbprintf static packaging to interpret ``unsigned char *`` as a pointer + to a string. See :ref:`cbprintf_packaging_limitations` for more details about + how to efficienty use strings. Change mainly applies to the ``logging`` subsystem + since it uses this feature. + * Added :c:macro:`LOG_RAW` for logging strings without additional formatting. + It is similar to :c:macro:`LOG_PRINTK` but do not append ```` when new line is found. + HALs ****