micro-ROS / micro-ROS/micro_ros_setup
Micro-ros on nucleo64 STM32F401RE fail build
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 509
- 派生
- 183
- 平均合并
- 22 小时 26 分钟
- 30 天内合并 PR
- 7
描述
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?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 create_firmware_ws.sh 和平台列表开始,比较请求的 nuttx/nucleo_f401re 和 zephyr/nucleo_f401re 目标。然后检查 zephyr_apps/apps/ping_pong/CMakeLists.txt,并使用报告中的 board 和 transport 选项重新运行 configure_firmware.sh。当 STM32F401RE 的固件工作区成功完成配置,或 issue 记录所请求的 board 和 app 组合不受支持时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cmake, shell, ubuntu
- 领域
- build-system, embedded-iot
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100