2018-04-09 09:06 PM
Anyone has ever tried to install and play with an C++ arduino oriented IDE that uses arduino libraries but implemented for STM32 micros?
Have you ever heard of Sloeber?
Seems interesting!
2018-04-10 02:33 AM
Hi,
there is a project called STM32duino that adds Arduino support for STM32 and some other ST components.
Here is the
.The forum is here:
Best regards,
Antonio
2018-04-10 02:58 AM
Considering the Arduino target audience (or the average user), the expression 'C++ arduino' seems an oxymoron.
2018-04-10 03:45 AM
Anyone has ever tried to install and play with an C++ arduino oriented IDE that uses arduino libraries but implemented for STM32 micros?
What do you see as the driver for doing that? What issue(s) would you want it to address?
Have you ever heard of Sloeber?
Not before you mentioned it!
SO I had a quick look.
There is no debug support for STM32.
2018-04-10 05:42 AM
But STM32 is now directly supported in the Arduino IDE:
2018-04-10 07:49 AM
You really shouldn't need other peoples approval or validation to try things that interest you.
2018-04-10 08:07 AM
Using arduino means using arduino API (aimed to simplify / unify things). But arduino API have another API 'under the hood' (HAL, SPL).
So in case when something goes wrong you have two software layers to investigate. Also the code is is bigger (as far as I remember arduino API has additional built-in checks to resolve some conflicts and make the API more fool-proof). Also advanced features might not always be possible to use due to interaction with the arduino API (I am not sure but suspect it).
Initially the idea of using arduino is tempting (theoretically no need to dig into the datasheets). Maybe worth trying just to see the difference.
As usual it depends on what is the goal to achieve, or project to create.
2018-04-10 09:37 AM
Hi Andrew,
you're absolutely right: STM32 is now supported in the Arduino IDE.
STM32duino GitHub and forum are the places where you can find the source code and discuss details.
Best regards,
Antonio
2018-04-10 10:07 AM
Hi Andrew,
No just curious about this new implementation on C++ for eclipse and asking why C++ has not been used as standard for developping STM32 libraries which seems so convenient to write code...as opposed to HAL.
2018-04-10 11:21 AM
Right!