Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to add board manifest for generic STM32G030C8 #662

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

julim29
Copy link

@julim29 julim29 commented Nov 30, 2022

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:

  • 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.

Thanks for reading.

@brainelectronics
Copy link

@julim29 thanks for your contribution. I've also added support for this controller with #622. I hope there will be a lot of merges in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants