qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.09k stars 38.89k forks source link

[Feature Request] Support for WinChip CH58xx MCU platform #23837

Closed JavierRiosN closed 6 days ago

JavierRiosN commented 4 months ago

Feature Request Type

Description

Hi! First of all, I want to thank everyone involved on the QMK project... It's a wonderful world of possiblities!

I know that asking for a specific keyboard support is not such a good and polite thing to do, but I've seen an increasing number of Ali Express (or Taobao) keyboards using a MCU from WinChip.

In my case I bought a PCKey016 which has a CH582M chip on it. It has VIA support, but QMK doen't recognize it... I was unable to create a firmware in QMK and I think it's useful because actually the keyboard lacks of advanced features like tap-hold, tap- dance and so on.

The vendor didn't give me the firmware nor some guidance on how they make it work with VIA/VIAL, but not with QMK.

I've found a QMK CH582 port and managed to create a functional firmware but in the programmers words, it's not a port but a layer betwen QMK and the MCU and also lacks of some of the advanced features.

I think it could be useful to have a native QMK WinChip support for it has a few chips that has similar specifications:

Unfortunately, I'm not a C programmer (although I can understand a little bit) and am unable to understand how to make QMK work with this platform although I'm trying my best.

For any word, advice o guidance, I thank you in advance.

tzarc commented 4 months ago

https://docs.qmk.fm/platformdev_selecting_arm_mcu#add-new-mcu-family explains what’s involved. QMK maintainers themselves aren’t likely to do so — it’ll be a community-led project.

JavierRiosN commented 4 months ago

Thank you! I uderstand that the maintainers aren't so willing to do it... I'm looking the information you give me and I'll try to follow it.

tzarc commented 4 months ago

That’s the information. We use ChibiOS to supply the HAL/BSP, so to make it compatible with QMK you need to make it compatible with ChibiOS first. Explaining how to do so isn’t something QMK describes in-depth; ChibiOS a different project.

JavierRiosN commented 4 months ago

I understand... I'm looking on ChibiOS now. I hope I can collaborate with this... Again, thank you.

tzarc commented 4 months ago

The GD32VF103 port in ChibiOS-Contrib may prove useful as a reference.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.

github-actions[bot] commented 6 days ago

This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know. // [stale-action-closed]