micro_ros_arduino
micro_ros_arduino copied to clipboard
Support for Arduino Uno R4
Are there any plans to support a new Arduino UNO R4 (Renesas RA4M1 Arm® Cortex®-M4)?
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.
hi @pablogs9 can you point me to any documentation for integrating new platforms? Thanks
Hello, there is no official documentation for making new ports, but you can see some PR that have integrated new platforms:
- https://github.com/micro-ROS/micro_ros_arduino/pull/35
- https://github.com/micro-ROS/micro_ros_arduino/pull/1284
- https://github.com/micro-ROS/micro_ros_arduino/pull/680
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?
Hi! I have just checked this issue. I made a PR to get Arduino UNO R4 working over USB