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

[Feature Request] #24504

Open
4 tasks
aceraoc opened this issue Oct 19, 2024 · 2 comments
Open
4 tasks

[Feature Request] #24504

aceraoc opened this issue Oct 19, 2024 · 2 comments

Comments

@aceraoc
Copy link

aceraoc commented Oct 19, 2024

Feature Request Type

  • Core functionality
  • Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

Will QMK support GigaDevice F103x or F303x series of microcontrollers in the future?

@fauxpark
Copy link
Member

STM32F103 can be used as substitute for GD32F303, as they are mostly compatible, apparently. For example kprepublic/bm16a/v2. Not sure about F103.

@sigprof
Copy link
Contributor

sigprof commented Oct 20, 2024

The compatibility is not perfect though — in my testing of some GD32F103 and GD32F303 chips I found that the implementation of the I2C peripheral is subtly different from the original ST one, and the ChibiOS I2C driver does not work properly on those chips.

And yes, GD32F303 is more like an extended STM32F103, not STM32F303, despite its name. And the STM32F103 series is split into low, medium, high and XL-density variants, and GD32F303 chips fall into the high-density variant due to their flash size; supporting such chips properly requires some extra defines in board.h to specify the proper size variant.

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

No branches or pull requests

3 participants