# Crosscompiling ROS2 for Raspberry Pi (or pretty much any other ARM-based board)

**URL:** <https://discourse.openrobotics.org/t/crosscompiling-ros2-for-raspberry-pi-or-pretty-much-any-other-arm-based-board/2995>\
**Category:** ROS General\
**Tags:** ros2, docker, arm, raspberrypi\
**Created:** [October 24, 2017, 2:03pm UTC](https://discourse.openrobotics.org/t/crosscompiling-ros2-for-raspberry-pi-or-pretty-much-any-other-arm-based-board/2995 "2017-10-24T14:03:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![esteve](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/esteve/32/12_2.png) [@esteve](https://discourse.openrobotics.org/u/esteve)\
**Post date:** [October 24, 2017, 2:03pm UTC](https://discourse.openrobotics.org/t/crosscompiling-ros2-for-raspberry-pi-or-pretty-much-any-other-arm-based-board/2995/1 "2017-10-24T14:03:15Z")

</div>

I finally found time to upload the scripts I use for crosscompiling ROS2 for the Raspberry Pi, but they can be applied to any other ARM board. I’ve used the same steps with little tweaks for crosscompiling ROS2 for the Odroid XU4 and the Hikey 960.

The scripts rely heavily on Docker to install the ROS2 dependencies and setup the crosscompiler environment.

Enjoy!

> **[GitHub - esteve/ros2\_raspbian\_tools: Tools for crosscompiling ROS2 for the Raspberry Pi](https://github.com/esteve/ros2_raspbian_tools)**
>
> Tools for crosscompiling ROS2 for the Raspberry Pi
