micro-ROS / micro-ROS/micro_ros_zephyr_module
Cannot build the module due to devicetree error
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C
- Star
- 92
- Fork
- 56
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh west build đã được báo cáo cho olimex_stm32_e407 và kiểm tra các tệp DTS của board cùng app.overlay được tham chiếu. Truy vết các label zephyr_udc0 trùng lặp được báo cáo cho hai node USB; hoàn tất khi module được cấu hình và build thành công mà không có lỗi devicetree.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c
- Lĩnh vực
- build-system, embedded-iot
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100