USB audio class samples are generic and can be built for any board that supports USB device and isochronous endpoints. Add app.overlay that uses reference to zephyr_udc0 and remove board specific overlays. Note: USB audio is still experimental and even though the sample can be built for specific platform, it does not mean that it can be run on it without issues. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
20 lines
285 B
Plaintext
20 lines
285 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&zephyr_udc0 {
|
|
hs_0 {
|
|
label = "HEADSET";
|
|
compatible = "usb-audio-hs";
|
|
mic-feature-mute;
|
|
mic-channel-l;
|
|
mic-channel-r;
|
|
|
|
hp-feature-mute;
|
|
hp-channel-l;
|
|
hp-channel-r;
|
|
};
|
|
};
|