Snippet that helps to build USB device samples with virtual device and host controllers and USBIP support. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
20 lines
332 B
Plaintext
20 lines
332 B
Plaintext
/*
|
|
* Copyright (c) 2025 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/delete-node/ &zephyr_udc0;
|
|
|
|
/ {
|
|
zephyr_uhc0: uhc_vrt0 {
|
|
compatible = "zephyr,uhc-virtual";
|
|
|
|
zephyr_udc0: udc_vrt0 {
|
|
compatible = "zephyr,udc-virtual";
|
|
num-bidir-endpoints = <8>;
|
|
maximum-speed = "high-speed";
|
|
};
|
|
};
|
|
};
|