Request to add board manifest for generic STM32G030C8 #662
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.