micro-ROS / micro-ROS/micro_ros_setup

Build fail for Cortex-R5F

未关闭
#684 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

Issue template

  • Hardware description: Cortex R5F, ARM v7-R
  • RTOS: FreeRTOS
  • Installation type: micro_ros_setup
  • Version or commit hash: humble
Steps to reproduce the issue

mkdir microros_ws && cd microros_ws git clone -b humble https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup rosdep update && rosdep install --from-paths src --ignore-src -y colcon build source install/local_setup.bash ros2 run micro_ros_setup create_firmware_ws.sh generate_lib touch my_custom_toolchain.cmake touch my_custom_colcon.meta ros2 run micro_ros_setup build_firmware.sh <absolute path to my_custom_toolchain.cmake> <absolute path my_custom_colcon.meta>

Expected behavior

Firmware should build creating static libraries and required header files inside firmware/build/libmicroros.a and firmware/build/include

Actual behavior

actual_output.txt.txt

Additional information

attaching my custom toolchain cmake and my custom colcon meta file
my_custom_toolchain.cmake.txt
my_custom_colcon.meta.txt
I tried removing the optimization flags in my_custom_toolchain.cmake file when I searched about it, but issue still remains

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 build_firmware.sh 开始,使用 my_custom_toolchain.cmake 和 my_custom_colcon.meta 重现 colcon build;检查 actual_output.txt.txt 以定位失败原因。Cortex-R5F 固件构建完成并生成 firmware/build/libmicroros.a 和 firmware/build/include 即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
build-system, embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。