Cannot build the module due to devicetree error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c
- Domain
- build-system, embedded-iot
Research direction
Start by reproducing the reported west build command for olimex_stm32_e407 and inspect the referenced board DTS and app.overlay files. Trace the duplicate zephyr_udc0 labels reported for the two USB nodes; done means the module configures and builds successfully without the devicetree error.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C
- Stars
- 92
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micro-ROS/micro_ros_zephyr_module
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
micro-ROS/micro_ros_zephyr_module#158 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
micro-ROS/micro_ros_zephyr_module#141 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
micro-ROS/micro_ros_zephyr_module#138 · 8 comments ·
All issues in micro-ROS/micro_ros_zephyr_module
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BasedHardware/omi#20401 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
php/frankenphp#2688 ·
Maintainers usually reply within 1 day
-
area/ysql kind/bug priority/medium
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
yugabyte/yugabyte-db#34584 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ExpressLRS/ExpressLRS#3806 ·
Maintainers usually reply within 2 days