micro-ROS / micro-ROS/micro_ros_zephyr_module

Cannot build the module due to devicetree error

オープン
#145 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C
スター
92
フォーク
56
PR マージ指標
30日以内にマージされた PR はありません

説明

## 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、olimex_stm32_e407 について報告された west build コマンドを再現し、参照されているボードの DTS ファイルと app.overlay ファイルを調べます。2 つの USB ノードについて報告された重複する zephyr_udc0 ラベルを追跡します。devicetree エラーなしでモジュールの設定とビルドが正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c
領域
build-system, embedded-iot
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。