# Getting the micro-ROS demos to run on Renesas EK-RA6M5

**URL:** <https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153>\
**Category:** Embedded\
**Created:** [March 6, 2023, 11:11am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153 "2023-03-06T11:11:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![samiamlabs](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/samiamlabs/32/3760_2.png) [@samiamlabs](https://discourse.openrobotics.org/u/samiamlabs)\
**Post date:** [March 6, 2023, 11:11am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/1 "2023-03-06T11:11:54Z")

</div>

Hi!

I’ve been trying to get the micro-ROS demos from here working: [GitHub - micro-ROS/micro\_ros\_renesas2estudio\_component: A set of utilities for integrating micro-ROS in a Renesas e2 studio project](https://github.com/micro-ROS/micro_ros_renesas2estudio_component#integrating-micro-ros-in-your-project)

I got this specific hardware kit because I saw that it was the recommended choice here: [Supported Hardware | micro-ROS](https://micro.ros.org/docs/overview/hardware/)

Getting the IDE to work with the micro-ROS examples has been pretty tricky, unfortunately.  
Wrote some more about the specific issues I’m having here: [Getting Started with micro-ROS and Renesas EK-RA6M5 - Tools Forum - Tools - Renesas Engineering Community](https://community.renesas.com/tools/e2studio/f/e2studio-forum/30037/getting-started-with-micro-ros-and-renesas-ek-ra6m5)

Does anyone have a working version of e2studio with the examples up and running?  
Any tips on how to proceed? Feeling pretty stuck at the moment…

---

<div class="post-metadata">

**Author:** ![AntonioCuadros](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@AntonioCuadros](https://discourse.openrobotics.org/u/AntonioCuadros)\
**Post date:** [March 7, 2023, 8:21am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/2 "2023-03-07T08:21:15Z")

</div>

Hi!

This could be related to your FSP version, note that micro-ROS supports up to **FSP v3.5.0** and builds of major versions will most probably fail.

You can download the tested e2 studio version with preinstalled FSP v3.5.0 here: [https://github.com/renesas/fsp/releases/download/v3.5.0/setup\_fsp\_v3\_5\_0\_e2s\_v2021-10.AppImage](https://github.com/renesas/fsp/releases/download/v3.5.0/setup_fsp_v3_5_0_e2s_v2021-10.AppImage) ([From this documentation](https://github.com/micro-ROS/micro_ros_renesas2estudio_component/blob/humble/fps_install_packs.md)).

Also, make sure to open the FSP configuration tab (Double click on _configuration.xm_l) at least once to setup your FSP version correctly.

---

<div class="post-metadata">

**Author:** ![samiamlabs](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/samiamlabs/32/3760_2.png) [@samiamlabs](https://discourse.openrobotics.org/u/samiamlabs)\
**Post date:** [March 7, 2023, 8:26am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/3 "2023-03-07T08:26:01Z")

</div>

Oh, I see!

I downloaded e2 studio from here at first: [e² studio](https://www.renesas.com/us/en/software-tool/e-studio)  
Thought there might be an issue with FSP and went looking.  
Could only find it for linux here: [Releases · renesas/fsp · GitHub](https://github.com/renesas/fsp/releases) and downloaded “the FSP with e2 studio Linux AppImage for this release, setup\_fsp\_v4\_3\_0\_e2s\_v2023-01.AppImage, from [here](https://github.com/renesas/fsp/releases/download/v4.3.0/setup_fsp_v4_3_0_e2s_v2023-01.AppImage).”  
And I have 2 editors now…

Can you install FSP separately from the editor? Is the github releases page I mentioned before the right place?

---

<div class="post-metadata">

**Author:** ![samiamlabs](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/samiamlabs/32/3760_2.png) [@samiamlabs](https://discourse.openrobotics.org/u/samiamlabs)\
**Post date:** [March 7, 2023, 8:48am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/4 "2023-03-07T08:48:59Z")

</div>

Got the instructions for installing more FSP versions without more editors for another forum thread already 🙂

---

<div class="post-metadata">

**Author:** ![samiamlabs](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/samiamlabs/32/3760_2.png) [@samiamlabs](https://discourse.openrobotics.org/u/samiamlabs)\
**Post date:** [March 7, 2023, 1:27pm UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/5 "2023-03-07T13:27:04Z")

</div>

Have you had any issues with the debugger in e2studio saying “Could not connect to target” on linux even for the starter blink project?

It works fine for me on Windows after a fresh e2studio install…

Edit:  
I got it to work now by starting e2studio with sudo. Not sure how to fix this when no device seems to show up in /dev that you can change permissions for etc.

---

<div class="post-metadata">

**Author:** ![RLR\_NDH](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/rlr_ndh/32/20694_2.png) [@RLR\_NDH](https://discourse.openrobotics.org/u/RLR_NDH)\
**Post date:** [February 18, 2024, 6:00pm UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/6 "2024-02-18T18:00:35Z")

</div>

I’m having trouble getting this too build with 4.4 or 5.1 are there new instructions somewhere?

---

<div class="post-metadata">

**Author:** ![RLR\_NDH](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/rlr_ndh/32/20694_2.png) [@RLR\_NDH](https://discourse.openrobotics.org/u/RLR_NDH)\
**Post date:** [February 19, 2024, 7:56pm UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/7 "2024-02-19T19:56:48Z")

</div>

The examples were created with GCC ARM Embedded Toolchain Version: 10.3.1.20210824 which I can’t find any where. When I change the Tool Chain Editor to 10.3-2021.10 it resets all the tool setting to default and I lose the existing ones.

---

<div class="post-metadata">

**Author:** ![RLR\_NDH](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/rlr_ndh/32/20694_2.png) [@RLR\_NDH](https://discourse.openrobotics.org/u/RLR_NDH)\
**Post date:** [March 14, 2024, 1:47am UTC](https://discourse.openrobotics.org/t/getting-the-micro-ros-demos-to-run-on-renesas-ek-ra6m5/30153/8 "2024-03-14T01:47:26Z")

</div>

I finally got the non-freeRTOS examples to build after reindexing the include files. I’m still having problems with the freeRTOS missing the sockets\_wrapper.h.

../src/wifi\_transport\_freeRTOS.c:16:10: fatal error: sockets\_wrapper.h: No such file or directory  
16 | #include “sockets\_wrapper.h”  
| ^ ~~~~~~~~~~~~~~~~~~
