Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build the module due to devicetree error #145

Open
gizmo1904 opened this issue Nov 30, 2024 · 0 comments
Open

Cannot build the module due to devicetree error #145

gizmo1904 opened this issue Nov 30, 2024 · 0 comments

Comments

@gizmo1904
Copy link

Issue template

  • Hardware description: olimex_stm32_e407
  • RTOS: Zephyr
  • Installation type: micro_ros_zephyr_module
  • Version or commit hash: 3.1.3-8-g96ab3c1

Steps to reproduce the issue

I'm trying to build the module for my Olimex board. This is the command I've used west build -b olimex_stm32_e407 micro_ros_zephyr_module/

Expected behavior

Actual behavior

This build is not successful. This is the error:

-- Found BOARD.dts: /home/vboxuser/zephyrproject/zephyr/boards/olimex/stm32_e407/olimex_stm32_e407.dts
-- Found devicetree overlay: /home/vboxuser/zephyrproject/zephyr/micro_ros_zephyr_module/app.overlay
devicetree error: Label 'zephyr_udc0' appears on /soc/usb@40040000 and on /soc/usb@50000000
CMake Error at /home/vboxuser/zephyrproject/zephyr/cmake/modules/dts.cmake:303 (execute_process):
  execute_process failed command indexes:

    1: "Child return code: 1"

Call Stack (most recent call first):
  /home/vboxuser/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  /home/vboxuser/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/vboxuser/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:117 (include_boilerplate)
  CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/vboxuser/zephyrproject/.venv/bin/python3 -B/home/vboxuser/zephyrproject/zephyr/build -GNinja -DBOARD=olimex_stm32_e407 -S/home/vboxuser/zephyrproject/zephyr/micro_ros_zephyr_module

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant