ht32-rs / ht32f5xxxx-hal

A Rust HAL for the ht32f5xxxx family of chips
BSD Zero Clause License
9 stars 3 forks source link

Implement the USB peripheral #2

Open hargoniX opened 4 years ago

hargoniX commented 4 years ago

A keyboard of course needs USB.

jspngh commented 1 year ago

Hi @hargoniX, I have two keyboards that are using a Holtek chip from the HT32F1yyy family and after finding the work that you already did in ht32-rs, I decided to create a custom firmware.

The hal work is now at a point that I can start using it, and if it's okay for you, I'd like to move the repositories to the ht32-rs organization. I've made 2 repositories:

Currently they are located on a private gitlab, you can view them here. ht32-usbd should also be usable for ht32f5xxxx, from a quick check they are using the same peripheral.

hargoniX commented 1 year ago

This is awesome work thank you!

To be honest I do not actively work on this org anymore so if you want I can add you as a maintainer and you can push your stuff here?

jspngh commented 1 year ago

Yeah, I figured the org wasn't active anymore, no worries. These Holtek chips aren't as popular as STM32 or Nordic apparently :stuck_out_tongue_winking_eye: To be honest I had never heard of them before opening my keyboard.

Adding me as a maintainer sounds like a good plan, then I'll continue work on my repo's over here. Once I get a basic keyboard firmware going (I'm planning on trying keyberon), I'll link the repository here. Then you have a blueprint in case you get the urge to continue your anne pro 2 work.

jspngh commented 1 year ago

Oh, and by the way, if you could either add me on crates.io for the ht32f1yyy pac or do a new release yourself, that would be great.

hargoniX commented 1 year ago

I sent you an invite for both :+1:

jspngh commented 1 year ago

Thanks a lot!

jspngh commented 1 year ago

Once I get a basic keyboard firmware going (I'm planning on trying keyberon), I'll link the repository here. Then you have a blueprint in case you get the urge to continue your anne pro 2 work.

Finally got around to publishing the repo: https://github.com/jspngh/keyberon-ht32f1 I've been using it for a while now and it's working well.