I’m a newcomer to PlatformIO, have used it for several simple ESP32 projects, and I love it!
Now I’m embarking on a more serious project – writing an app that will run on a custom board based on the STM32F427VGT6 mcu. This same board was previously programmed by someone else using VisualGDB, but I want to use PlatformIO,
I’m struggling a bit getting started, and would appreciate any and all assistance.
Is anyone else out there using the STM32F427VGT6 with PlatformIO?
But it’s also possible to create a new board definition for the STM32F427VGT6, based on e.g. this one, and use the Arduino framework with it (as provided e.g. by Arduino_Core_STM32). For this special case, the Arduino framework doesn’t supply the linkerscript (ldscript.ld), so we have to supply our own.
The board definition is by default setup to expect an ST-Link upload and debugging tool, but you can change it to any of the other supported ones as is documented (here, here).
Thank you very much for your detailed response to my request for help.
I finally had time today to read it in detail, and then I cloned the repo that you prepared. When I built the project everything worked perfectly the first time!
You have saved me a great deal of time and frustration. I am very grateful.