ROBOTIS-GIT / OpenCR

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.
Apache License 2.0
382 stars 239 forks source link

Add support for precompiled libraries #253

Closed pablogs9 closed 3 years ago

pablogs9 commented 3 years ago

This PR adds support for precompiled libraries in OpenCR Arduino platform.

Purpose: At micro-ROS we are developing a port of our libraries to your platform that can be integrated into the Arduino IDE. Due to the complexity of the ROS 2 build system, we are providing it as pre-compiled library (check here for more details).

Currently, if you try to build an OpenCR project with a pre-compiled library you obtain:

The platform does not support 'compiler.libraries.ldflags' for pre-compiled libraries.

So in order to provide support, we are adding an empty compiler.libraries.ldflags variable (that will be filled automatically by the Arduino IDE when it found precompiled libraries) to your platform.txt.

Related: https://github.com/micro-ROS/micro_ros_arduino

ROBOTIS-Will commented 3 years ago

Hi @pablogs9 Thank you for your contribution. I'll merge this into our develop branch first then merge into the master.

pablogs9 commented 3 years ago

Hi @ROBOTIS-Will, thanks. Do you know when are you going to release a new tagged version approximately?

ROBOTIS-Will commented 3 years ago

@pablogs9 I'm also preparing for the TurtleBot3 firmware updates for ROS1 Noetic at the same time and will be merged into the master by tomorrow at the latest. Thank you.

pablogs9 commented 3 years ago

Awesome, thanks for the quick response!