Hi,
Just curious and maybe dumb question.
It is possible to use Arduino the project and code generated by STMCubeIDE?
STMCubeIDE to Arduino IDE
Re: STMCubeIDE to Arduino IDE
yes, but partially
with this core
with this core
-
- Posts: 2
- Joined: Tue Apr 28, 2020 5:14 am
Re: STMCubeIDE to Arduino IDE
Tnx for the reply.
Another dumb question tho.
In STM project folder, inside are : Core and Drivers, and more subfolders more inside.
Do you just all all the files in Arduino IDE?
Do the Arduino IDE call 3rd party compiler to compile STM32?
Another dumb question tho.
In STM project folder, inside are : Core and Drivers, and more subfolders more inside.
Do you just all all the files in Arduino IDE?
Do the Arduino IDE call 3rd party compiler to compile STM32?
Re: STMCubeIDE to Arduino IDE
Core and drivers are already part of that arduino core, as it's HAL based same as CubeMX
But you cant just add cubemx generated files to arduino, you need to transfer only specific functions required for your needs, but its a very complex to explain it just with a few phrases.
Probably its much better for you to explain what exactly you want to do.
Compiler used for HAL based arduino core is the same as cubemx use and its packaged with core too.
But you cant just add cubemx generated files to arduino, you need to transfer only specific functions required for your needs, but its a very complex to explain it just with a few phrases.
Probably its much better for you to explain what exactly you want to do.
Compiler used for HAL based arduino core is the same as cubemx use and its packaged with core too.