Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Arduino Uno R4 #1461

Open
james-yoo opened this issue Jul 18, 2023 · 4 comments
Open

Support for Arduino Uno R4 #1461

james-yoo opened this issue Jul 18, 2023 · 4 comments

Comments

@james-yoo
Copy link

Are there any plans to support a new Arduino UNO R4 (Renesas RA4M1 Arm® Cortex®-M4)?

@pablogs9
Copy link
Member

Hello, there is no plan for integrating Arduino UNO R4, but it is easy to integrate new platforms in this repo, and community contributions are very welcomed.

@patrickwasp
Copy link

hi @pablogs9 can you point me to any documentation for integrating new platforms? Thanks

@pablogs9
Copy link
Member

Hello, there is no official documentation for making new ports, but you can see some PR that have integrated new platforms:

In general, you will need to:

  • Determine which compiler (version specific) uses Arduino for the target platform
  • If not available in the building docker, add it here and PR changes.
  • Update the library_generation.sh script to use the compiler to build the micro-ROS static library and put it in the correct folder
  • Update CI to test your changes

In general, this is not a trivial process, but handling it with care should be possible to do it.


IMPORTANT

It is very important to check if one of the already precompiled libraries actually works for the platform.

For example, R4 uses a Cortex-M4 and we already have a precompiled Cortex-M4 library: https://github.com/micro-ROS/micro_ros_arduino/tree/iron/src/cortex-m4

Have you check if adding it as supported plaftorm it works out of the box?

@gbr1
Copy link

gbr1 commented Mar 21, 2024

Hi! I have just checked this issue. I made a PR to get Arduino UNO R4 working over USB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants