Skip to content

Add generic board variant for STM32C071G(8-B)Ux #2726

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

honzasp
Copy link

@honzasp honzasp commented May 15, 2025

This PR adds support for generic STM32C071G(8-B)Ux boards. I followed the guide, the CheckVariant example passes, and a very small example on my board works.

My board has only a USB connector, so I also fixed two USB-related issues:

  • The menu for Generic C0 board was missing an option for DFU upload.
  • A likely bug in boards.txt prevented USB CDC Serial from working on generic C0 boards, so I also fixed that.

I didn't add anything to boards_db.cmake, because the guide is silent on this topic, I'm not sure what to add there, and my sketches seemed to compile just fine without it.

@fpistm
Copy link
Member

fpistm commented May 15, 2025

Thanks @honzasp
I will review it next week as I'm OoO.

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.

2 participants