Hi all,
Until now I used arduino with platformIO and it worked great, recently I tested STM32 device with the software IAR Embedded workbench. This program cost money so I’m trying to find another programming platform, I saw that PlatformIO support my device and now I’m trying to figure out what is the best way to setup the board.
anyone have some background using STM32 device with PlatformIO? Can I check registers values just like in IAR?
Thanks in advance!
Assuming you have the proper platformio.ini
for a STM32VLDISCOVERY, also known as Discovery Board for STM32F100RB,
[env:disco_f100rb]
platform = ststm32
board = disco_f100rb
framework = arduino ; example
then, when a debug session is started, the the debug side panel should show “Peripherals”
This information will be filled from the SVD file for the STM32F100xx.svd automatically.
Similiarly, “Registers” will show the registers of the Cortex-M3.
Thanks for the reply.
I see that in framework you chose arduino. is there any reason i should prefer arduino than stm32cube?
Arduino is good for simplicity and rapid prototyping. You can chose whatever framework you want or need.