micro-ROS / micro-ROS/micro_ros_setup
Build fail for Cortex-R5F
- Dominant language
- Shell
- Stars
- 509
- Forks
- 183
- Avg merge
- 22h 26m
- Merged PRs (30d)
- 7
Description
## 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
``
#### 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](https://github.com/micro-ROS/micro_ros_setup/files/14111855/actual_output.txt.txt)
#### Additional information
attaching my custom toolchain cmake and my custom colcon meta file
[my_custom_toolchain.cmake.txt](https://github.com/micro-ROS/micro_ros_setup/files/14111879/my_custom_toolchain.cmake.txt)
[my_custom_colcon.meta.txt](https://github.com/micro-ROS/micro_ros_setup/files/14111882/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
Contributor guide
Research direction
Start with build_firmware.sh and reproduce the colcon build using my_custom_toolchain.cmake and my_custom_colcon.meta; inspect actual_output.txt.txt for the failure. Done means the Cortex-R5F firmware build completes and produces firmware/build/libmicroros.a and firmware/build/include.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100