Page 1 of 1

Arduino Pro IDE and STM32

Posted: Fri May 29, 2020 10:24 am
by mpetrasinovic
Is someone able to use STM32 boards with Arduino Pro IDE?

Re: Arduino Pro IDE and STM32

Posted: Fri May 29, 2020 11:12 am
by fpiSTM
I never tried yet, I have to test it in the coming weeks

Re: Arduino Pro IDE and STM32

Posted: Tue Sep 01, 2020 8:54 am
by mpetrasinovic
I have managed to compile the sketch for STM32 using the 0.1.1 version of Arduino Pro IDE, the next step is definitely debugger!

Re: Arduino Pro IDE and STM32

Posted: Tue Sep 01, 2020 9:29 am
by fpiSTM
mpetrasinovic wrote:
Tue Sep 01, 2020 8:54 am
I have managed to compile the sketch for STM32 using the 0.1.1 version of Arduino Pro IDE, the next step is definitely debugger!
Fine. Yes the debugger would be definitely the best feature.

Re: Arduino Pro IDE and STM32

Posted: Tue Sep 01, 2020 4:15 pm
by Juraj
I can step debug the Blue Pill in Eclipse Sloeber with ST-Link.
I have in boards.txt in my_boards custom definitions (https://github.com/jandrassy/my_boards) this lines added
BluePill128kswd.build.flags.optimize=-g -Og
BluePill128kswd.compiler.c.extra_flags=-DDEBUG
BluePill128kswd.compiler.cpp.extra_flags=-DDEBUG
BluePill128kswd.compiler.elf2hex.extra_flags=--debugging

other lines in this boards.txt are only to have less options to select when I select the board

Re: Arduino Pro IDE and STM32

Posted: Tue Sep 01, 2020 4:35 pm
by mpetrasinovic
Juraj wrote:
Tue Sep 01, 2020 4:15 pm
I can step debug the Blue Pill in Eclipse Sloeber with ST-Link.
I have in boards.txt in my_boards custom definitions (https://github.com/jandrassy/my_boards) this lines added
BluePill128kswd.build.flags.optimize=-g -Og
BluePill128kswd.compiler.c.extra_flags=-DDEBUG
BluePill128kswd.compiler.cpp.extra_flags=-DDEBUG
BluePill128kswd.compiler.elf2hex.extra_flags=--debugging

other lines in this boards.txt are only to have less options to select when I select the board
Have you tried Arduino Pro IDE?