Skip to content

Commit a24eec2

Browse files
aescolarcarlescufi
authored andcommitted
bsim boards: doc: Fix around printk backend
The printk backend for the bsim boards and native_posix was merged into a single backend reusable for all POSIX arch boards. Correct the bsim board documentation so it does not refer to the old backend anymore. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 3e71797 commit a24eec2

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

boards/posix/doc/bsim_boards_design.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,14 @@ which relies on the bs_trace API. Instead, for tracing the bs_trace API
225225
should be used directly.
226226
The same applies to other Zephyr APIs, including the entropy API, etc.
227227

228-
printk and posix_print backend
229-
==============================
230-
231-
The bsim board provides a very simple backend for Zephyr's :c:func:`printk()`,
232-
which simply routes the printk strings to the bs_trace bsim API.
233-
So printk messages are printed in the console (stdout) together with all
234-
other device messages.
235-
The board also provides the posix_print API which is expected by the posix ARCH
236-
and soc inf code, and which is based on the same bs_trace API.
228+
posix_print backend
229+
===================
230+
231+
The bsim board provides a backend for the posix_print API which is expected by the posix ARCH
232+
and soc inf (POSIX) code.
233+
It simply routes the printk strings to the bs_trace bsim API.
234+
Any message printed to the posix_print API, which is also the default printk backend,
235+
will be printed to the console (stdout) together with all other device messages.
237236

238237
.. _bsim_boards_bs_tests:
239238

0 commit comments

Comments
 (0)