xref: /aosp_15_r20/external/pigweed/pw_sys_io_zephyr/docs.rst (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1.. _module-pw_sys_io_zephyr:
2
3================
4pw_sys_io_zephyr
5================
6
7--------
8Overview
9--------
10This sys I/O backend implements the ``pw_sys_io`` facade. To enable, set
11``CONFIG_PIGWEED_SYS_IO=y``. Once enabled, I/O operations will be routed to
12Zephyr's console. Additionally, it is possible to enable the USB subsystem
13by setting ``CONFIG_PIGWEED_SYS_IO_USB=y``.
14
15The I/O backend initializes during Zephyr's ``APPLICATION`` level and uses
16``CONFIG_PIGWEED_SYS_IO_INIT_PRIORITY`` to set the priority level. This config
17value defaults to 1, but is configurable via Kconfig.
18