zephyr: samples:mimxrt1010_evk:samples/subsys/usb/audio: build error no usbd found
Describe the bug build error report usbd not found, but usbd is supported on this platform
To Reproduce Steps to reproduce the behavior:
- mkdir build; cd build
- cmake -DBOARD=mimxrt1010_evk …
- make
- See error
Expected behavior can build and run well
Impact NA
Screenshots or console output
-- Application: /build/src/workspace/mimxrt1010_evk_usb_master/zephyr/samples/subsys/usb/audio/headset
-- Zephyr version: 2.3.0-rc1 (/build/src/workspace/mimxrt1010_evk_usb_master/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.10") found components: Interpreter
-- git describe failed: fatal: No names found, cannot describe anything.;
BUILD_VERSION is left undefined
-- Board: mimxrt1010_evk
-- Found toolchain: zephyr (/root/zephyr-sdk)
-- Found west: /root/.local/bin/west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Found dtc: /root/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /build/src/workspace/mimxrt1010_evk_usb_master/zephyr/boards/arm/mimxrt1010_evk/mimxrt1010_evk.dts
-- Found devicetree overlay: /build/src/workspace/mimxrt1010_evk_usb_master/zephyr/samples/subsys/usb/audio/headset/app.overlay
Error: mimxrt1010_evk.dts.pre.tmp:671.1-6 Label or path usbd not found
FATAL ERROR: Syntax error parsing input tree
CMake Error at /build/src/workspace/mimxrt1010_evk_usb_master/zephyr/cmake/dts.cmake:195 (message):
command failed with return code: 1
Call Stack (most recent call first):
/build/src/workspace/mimxrt1010_evk_usb_master/zephyr/cmake/app/boilerplate.cmake:503 (include)
CMakeLists.txt:4 (include)
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
script returned exit code 2
Environment (please complete the following information):
- Linux
- Zephyr SDK
- v2.3.0-RC1
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (5 by maintainers)
Commits related to this issue
- samples: usb-audio: add app.overlay and remove board specific overlays USB audio class samples are generic and can be built for any board that supports USB device and isochronous endpoints. Add app.o... — committed to jfischer-no/zephyr by jfischer-no 3 years ago
- samples: usb-audio: add app.overlay and remove board specific overlays USB audio class samples are generic and can be built for any board that supports USB device and isochronous endpoints. Add app.o... — committed to zephyrproject-rtos/zephyr by jfischer-no 3 years ago
@galak Can we use common node label for the first usb device?
If we’re going wit this solution (which I find elegant), should we add some way to filter on this for sanitycheck? https://github.com/zephyrproject-rtos/zephyr/pull/25590 was merged recently using alias. I guess it would have to be replaced by a label for coherency. but we’d need a function equivalent to
dt_alias_exists, so we can do stuff like: