Micro-ros on nucleo64 STM32F401RE fail build

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cmake, shell, ubuntu

調査の方向性

create_firmware_ws.sh とプラットフォーム一覧から始め、要求された nuttx/nucleo_f401re と zephyr/nucleo_f401re のターゲットを比較します。次に zephyr_apps/apps/ping_pong/CMakeLists.txt を調べ、報告されたボードとトランスポートのオプションを指定して configure_firmware.sh を再実行します。STM32F401RE 用にファームウェアワークスペースの configure が正常に完了するか、要求されたボードとアプリの組み合わせがサポートされていないことを issue に記録できれば完了です。

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

説明

My hardware setup this board nucleo64 STM32F401RE

My software setup Ros humble native and Ubuntu 22.04.5 LTS
problem at the environment creation stage
First i check avalible platfroms i have next list

! ros2 run micro_ros_setup create_firmware_ws.sh nuttx nucleo_f401re
Non valid RTOS/Platform: nuttx/nucleo_f401re
Available platforms:
. android
+-- generic
. freertos
+-- crazyflie21
+-- esp32
+-- nucleo_f446re
+-- nucleo_f446ze
+-- nucleo_f746zg
+-- nucleo_f767zi
+-- olimex-stm32-e407
. generate_lib
+-- generic
. host
+-- generic
. mbed
+-- disco_l475vg_iot01a
. raspbian
+-- stretch_v8
+-- buster_v7
+-- buster_v8
. renesas_ra
+-- ra6m5
. zephyr
+-- discovery_l475_iot1
+-- olimex-stm32-e407
+-- nucleo_f401re
+-- nucleo_h743zi
+-- nucleo_f746zg

Second I run this command started the installation process, but during it I always have several libraries gave an error cloning in zephyr_project/modules, but I manually installed them, and cloned the repository zephyr_apps.
ros2 run micro_ros_setup create_firmware_ws.sh zephyr nucleo_f401re
I then tried running this command
ros2 run micro_ros_setup configure_firmware.sh ping_pong --transport serial-usb
and get this error

!
-- west build: generating a build system
CMake Error at CMakeLists.txt:7 (message):
App ping_pong not compatible with board nucleo_f401re

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/sip/microros_ws/firmware/build -S/home/sip/microros_ws/firmware/zephyr_apps/apps/ping_pong -GNinja -DBOARD=nucleo_f401re -DCONF_FILE=/home/sip/microros_ws/firmware/zephyr_apps/apps/ping_pong/serial.conf '-GUnix Makefiles' -DCMAKE_VERBOSE_MAKEFILE=off -DMICRO_ROS_FIRMWARE_DIR=/home/sip/microros_ws/firmware -DMICRO_ROS_TRANSPORT=serial

How do I solve these problems should I upgrade Ubuntu to 24.04 or how do I use micro-ros on my board?

主要言語
Shell
スター
509
フォーク
183
平均マージ
22時間 26分
マージ済み PR(30日)
7

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

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

はじめの一歩

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

micro-ROS/micro_ros_setup のほかの issue

micro-ROS/micro_ros_setup の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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