• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _module-pw_sys_io_zephyr:
2
3================
4pw_sys_io_zephyr
5================
6.. pigweed-module::
7   :name: pw_sys_io_zephyr
8
9--------
10Overview
11--------
12This sys I/O backend implements the ``pw_sys_io`` facade. To enable, set
13``CONFIG_PIGWEED_SYS_IO=y``. Once enabled, I/O operations will be routed to
14Zephyr's console. Additionally, it is possible to enable the USB subsystem
15by setting ``CONFIG_PIGWEED_SYS_IO_USB=y``.
16
17The I/O backend initializes during Zephyr's ``APPLICATION`` level and uses
18``CONFIG_PIGWEED_SYS_IO_INIT_PRIORITY`` to set the priority level. This config
19value defaults to 1, but is configurable via Kconfig.
20