How to import third-party libraries through c code
-
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Sun Jun 16, 2024 4:32 am
How to import third-party libraries through c code
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.
-
- Matrix Staff
- Posts: 1950
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 694 times
Re: How to import third-party libraries through c code
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: How to import third-party libraries through c code
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
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
https://micro.ros.org/blog/2020/08/27/esp32/
This link provides all hardware supported by microROS
This link provides all hardware supported by microROS
Re: How to import third-party libraries through c code
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
Hi Ben.BenR wrote: ↑Thu Jul 04, 2024 9:20 amHello,
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.
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