zephyr/samples/subsys
Emil Obalski b552e60765 samples: usb: Make USB console samples call usb_enable()
usb_enable() must be called once by the application.
The application may want to register usb_dc_status_callback
and trace usb status codes (usb_dc_status_code).

After this patch all pre APPLICATION messages will be dropped
as USB console device is enabled in the application.

Application waits for console device until its ready by checking DTR
flag - uart_line_ctrl_get(). This function could be dropped but then
some log messages that were generated before USB device is ready
could also be dropped.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2020-08-13 11:49:47 +02:00
..
canbus samples: canbus: isotpfix: Add testing fixture 2020-08-12 16:07:42 -05:00
console
fs
ipc
logging
mgmt samples: mgmt/osdp: Add new OSDP PD sample 2020-08-13 11:48:28 +02:00
nvs
power/device_pm
settings
shell
tracing
usb samples: usb: Make USB console samples call usb_enable() 2020-08-13 11:49:47 +02:00
subsys.rst