I'm making this PR because I had to do a little bit of research to configure a certain microcontroller to work with the platformio framework, and I thought that maybe this could help someone.
Currently I'm working with the STM32G030C8 microcontroller, it seems that it's still quite new in the market and that because of this there are no well known development boards for it.
I knew that there were different manifest files to support generic STM32 microcontrollers but unfortunatelly mine wasn't on that list, so I had to make a custom embedded board manifest file as it's explained here.
To make this board manifest json file as reusable as I could, I tried to make it as similar to the rest of generic manifest files such as the following ones:
genericSTM32F103C4.json
genericSTM32F103C6.json
genericSTM32F103C8.json
etc...
Regarding the testing of this manifest file, I've tested compiling different "hello world" programs using all frameworks listed ("arduino", "cmsis", "libopencm3", "stm32cube") and they worked flawlessly.
In my current application I can only communicate with the microcontroller using stlink, that's the only upload/debug protocol that I could test, and again, it works fine.
Even though this was the only upload/debug protocol that I could test, I listed all the standard supported protocols in the STM32 family as they were listed in the others manifest files, I don't see any reason why they shouldn't work.
Hi,
I'm making this PR because I had to do a little bit of research to configure a certain microcontroller to work with the platformio framework, and I thought that maybe this could help someone.
Currently I'm working with the STM32G030C8 microcontroller, it seems that it's still quite new in the market and that because of this there are no well known development boards for it.
I knew that there were different manifest files to support generic STM32 microcontrollers but unfortunatelly mine wasn't on that list, so I had to make a custom embedded board manifest file as it's explained here.
To make this board manifest json file as reusable as I could, I tried to make it as similar to the rest of generic manifest files such as the following ones:
Regarding the testing of this manifest file, I've tested compiling different "hello world" programs using all frameworks listed ("arduino", "cmsis", "libopencm3", "stm32cube") and they worked flawlessly.
In my current application I can only communicate with the microcontroller using stlink, that's the only upload/debug protocol that I could test, and again, it works fine.
Even though this was the only upload/debug protocol that I could test, I listed all the standard supported protocols in the STM32 family as they were listed in the others manifest files, I don't see any reason why they shouldn't work.
Thanks for reading.