2024-02-26 05:34 AM
Hey everybody,
I am a little bit confused about the GNU Tools for STM32. (https://github.com/STMicroelectronics/gnu-tools-for-stm32)
You are using this ST gnu tool inside the stm32cube IDE too compile all example applications.
But when I build the same example applications with yocto you are using in your example the official arm gnu tools:
Why do you not use the gnu-tools-for-stm32 inside of the yocto build?
And what is the main difference between the arm gnu tools and the stm32 gnu tools?
Thank you
Solved! Go to Solution.
2024-02-27 04:34 AM
Okay, I see. You created a "fork" of the ARM GNU tools, and you created all the build scripts by yourself. For me, this is not really practical to add your STM32 GNU tools to our Yocto to build our Cortex-M4 application with the same tools as my colleagues using STM32Cube IDE. For this reason, we all need to use the ARM GNU tools to ensure we're all using the same compiler and so on.
2024-02-26 12:32 PM
> main difference between the arm gnu tools and the stm32 gnu tools?
Please see:
> Why do you not use the gnu-tools-for-stm32 inside of the yocto build?
This is the purpose of yocto: you don't want anything ready-made. Only the fresh, just built right here for you, from the very sources.
2024-02-27 04:34 AM
Okay, I see. You created a "fork" of the ARM GNU tools, and you created all the build scripts by yourself. For me, this is not really practical to add your STM32 GNU tools to our Yocto to build our Cortex-M4 application with the same tools as my colleagues using STM32Cube IDE. For this reason, we all need to use the ARM GNU tools to ensure we're all using the same compiler and so on.