micro-ROS / micro_ros_renesas_demos

Demo code for Renesas e2 studio
Apache License 2.0
4 stars 5 forks source link

build issues #73

Closed jpeyron closed 2 years ago

jpeyron commented 2 years ago

Hello,

I am using an EK RA6M5 Renesas dev board with e2 studios +FSP installed on both a windows and Ubuntu 20.04 linux pc as well as a Ubuntu 20.04 linux Virtual Box. I have tried using different toolchain versions to see it this would resolve the issue with no change. After attempting to build any of the project i get path warning and errors. If i get the project to build it does not create an elf or hex file. I have attached a copy of the console and problem text from e2 studios

thank you,

Jon Peyron

errors_2a.odt

pablogs9 commented 2 years ago

Hello, could you detail your build procedure and paste the log here?

jpeyron commented 2 years ago

I used the 3.7.0 release from here https://github.com/renesas/fsp/releases. I downloaded the Renesas micro-ROS demo from here: after launching e2 studios I select add an existing project and add all or just the usb demo with no difference in build issue. I then select build and the above attached file from previous post has both the problems and console text. I have also added the micro_ros_usb.build.log below. I have added multiple arm toolchains and used each with no difference in build outcome. image

let me know if there is anything else i can detail or add here.

thank you,

Jon

micro_ros_usb.build.zip

Acuadros95 commented 2 years ago

Hi @jpeyron, At this moment micro-ROS only supports renesas FSP 3.5.0, as you can check on micro_ros_renesas2estudio_component Readme

Could you please try again with this FSP version?

jpeyron commented 2 years ago

I installed Renesas FSP 3.50 on my ubuntu 20.04 Linux PC. The micro-ROS usb demo builds and I am able to upload the micro_ros_usb_debug_Flat. Unfortunately a serial port is not created with the app running. I have the Renesas dev board connected to the debug usb port. If the i have the usb connected to the Full speed port on the Renesas dev board it does create a serial port. I am following this YouTube video: https://www.youtube.com/watch?v=lKCrhmjYaEM&t=69&ab_channel=eProsima Any suggestions on how to resolve the serial port issue?

Screenshot from 2022-06-08 11-33-59

thank you,

Jon Peyron

pablogs9 commented 2 years ago

Any update on this @Acuadros95 ?

Acuadros95 commented 2 years ago

@jpeyron Sorry for the delay!

If the i have the usb connected to the Full speed port on the Renesas dev board it does create a serial port

That is the expected behavior, you should use the Full speed USB port as micro-ROS serial transport. Did you try to use the agent with this port?

jpeyron commented 2 years ago

Hello Antonio,

I got the micro-ROS usb demo running. Thank you for the response. As it turns out I was only using 1 usb cable and either running the debug as shown in the YouTube video and or using the full speed. I had tried running the agent using the serial information generated by the full speed usb port but did not have the debug process running as well since i was only using one cable. Issue resolved!!! thank you!!!