cancel
Showing results for 
Search instead for 
Did you mean: 

C++ IDE?

g. lewis
Associate II
Posted on April 10, 2018 at 06:06

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?

http://eclipse.baeyens.it/

 

Seems interesting!

22 REPLIES 22
Antonio Vilei
Senior III
Posted on April 10, 2018 at 11:33

Hi,

there is a project called STM32duino that adds Arduino support for STM32 and some other ST components.

Here is the

https://github.com/stm32duino

.

The forum is here: 

http://www.stm32duino.com/

Best regards,

Antonio

AvaTar
Lead
Posted on April 10, 2018 at 11:58

Considering the Arduino target audience (or the average user), the expression 'C++ arduino' seems an oxymoron.

Andrew Neil
Evangelist III
Posted on April 10, 2018 at 12:45

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.

Posted on April 10, 2018 at 12:42

But STM32 is now directly supported in the Arduino IDE:

https://community.st.com/community/stm32-community/blog/2017/07/13/stm32-cores-enabled-in-arduino-ide

 
Posted on April 10, 2018 at 16:49

You really shouldn't need other peoples approval or validation to try things that interest you.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on April 10, 2018 at 17:07

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.

Posted on April 10, 2018 at 16:37

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

g. lewis
Associate II
Posted on April 10, 2018 at 19:07

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.

g. lewis
Associate II
Posted on April 10, 2018 at 20:21

Right!