Page 1 of 1

How to import third-party libraries through c code

Posted: Thu Jul 04, 2024 1:23 am
by missman
At present, I need to use the microROS[https://github.com/micro-ROS/micro_ros_ ... bemx_utils] library in the MCU, but I have not found the correct method, how to import the third-party library, such as in the C code module, how to reference the microROS header file and lib file, or how to import the dll file and use the functions and methods in it? Hope you can give advice, preferably to provide a simple function example. Thank you very much and look forward to your guidance.

Re: How to import third-party libraries through c code

Posted: Thu Jul 04, 2024 9:20 am
by BenR
Hello,

That looks interesting. I've made a note to have a good look through that library.

For now just using the C code in Flowcode probably won't be easy or straightforward. It's very specifically created for STM32 devices running on the CubeMX IDE. It may work ok if your using an STM32 but if you're not then it's going to need a rewrite in terms of accessing our CAL.

If I can I'll spend some time on this in the near future and try to make a proper Flowcode compatible component.

What do you know about ROS/ROS2 and is there any control software or other third party software you can recommend to help drive the robot or other things we could look at to improve our offering both on embedded and app/web developer.

Re: How to import third-party libraries through c code

Posted: Thu Jul 04, 2024 9:52 am
by missman
Thank you very much for your reply. I'm looking forward to it. As you might expect, microROS is ROS2 running on STM32 or ESP.
More information is available at https://github.com/lFatality/stm32_micro_ros_setup and https://github.com/micro-ROS/micro_ros_ ... bemx_utils

Re: How to import third-party libraries through c code

Posted: Fri Jul 05, 2024 1:23 am
by missman
https://micro.ros.org/blog/2020/08/27/esp32/
This link provides all hardware supported by microROS

Re: How to import third-party libraries through c code

Posted: Fri Nov 29, 2024 8:38 am
by missman
I would like to ask, if I use external open-source libraries, where should I put the corresponding header files (*.h) and library files (*.lib/*.dll) respectively, and how can I reference the corresponding header files in the programming window's Code Icons? I look forward to your guidance and detailed operation methods. Thank you.

Re: How to import third-party libraries through c code

Posted: Wed Apr 30, 2025 11:55 pm
by Brendan
BenR wrote:
Thu Jul 04, 2024 9:20 am
Hello,

That looks interesting. I've made a note to have a good look through that library.

For now just using the C code in Flowcode probably won't be easy or straightforward. It's very specifically created for STM32 devices running on the CubeMX IDE. It may work ok if your using an STM32 but if you're not then it's going to need a rewrite in terms of accessing our CAL.

If I can I'll spend some time on this in the near future and try to make a proper Flowcode compatible component.

What do you know about ROS/ROS2 and is there any control software or other third party software you can recommend to help drive the robot or other things we could look at to improve our offering both on embedded and app/web developer.
Hi Ben.

Flowcode is my go-to for all projects that I engage with, though I'm now working on a robotics project that needs to integrate Micro-ROS to the MCU.

Encouraged by your comment regarding STM32 (STM32F407IG in my case), I just need to ask if there's anything on the cards in this regard?

Many thanks,
Brendan