starblue has quit [Ping timeout: 244 seconds]
starblue has joined #rust-embedded
fabic_ has joined #rust-embedded
PyroPeter has quit [Ping timeout: 268 seconds]
PyroPeter has joined #rust-embedded
fabic_ has quit [Ping timeout: 244 seconds]
tafa has quit [Quit: ZNC -]
tafa has joined #rust-embedded
fabic_ has joined #rust-embedded
starblue has quit [Ping timeout: 265 seconds]
<re_irc> <> Hello! I am looking at using a longan-nano board for a USB HID project, and I am trying to figure out if there are ongoing efforts to add USB support to `gd32vf103xx-hal` or where one could start looking to figure out what is needed do add such support themselves (and if `gd32vf103_pac` is exposing everything needed to achieve that).
<re_irc> <> Can anyone provide good pointers to put me in the right direction to answer these questions?
starblue has joined #rust-embedded
<re_irc> <> Check out the `usb-device` crate for the generic USB_protocol related goodies. I think you just need to implement a trait and you should have it going, but I don't recall
starblue has quit [Ping timeout: 264 seconds]
<re_irc> <> |---------------------------|----------|--------|
<re_irc> <> | Metric | `chrono` | `time` |
<re_irc> <> For anyone who is curious about `time` as a `chrono` replacement it is not better :|
<re_irc> <> | hal compile time sec | 15.34 | 15.75 |
<re_irc> <> Huh, no markdown tables eh?
<re_irc> <> is there a good way to benchmark by binary size?
<re_irc> <> e.g. I want to write equivalent code with chrono & time and benchmark each feature individually
<re_irc> <> romen: oh, hello I know you. Anyway, there's a room for GD32V Rust, I'll see if I can invite you.
<re_irc> <> newam I know Simon Sapin has a much smaller version of chrono for bare metal devices, let me find it
<re_irc> <>
<re_irc> <> Oooo, thanks! I will give that one a go :)
fabic_ has quit [Ping timeout: 260 seconds]
starblue has joined #rust-embedded
<re_irc> <> Thanks heksa , I found it a bit afterwards this room, and I have now posted there a follow-up with the stage I reached and the problem I am facing.
emerent has quit [Ping timeout: 258 seconds]
emerent has joined #rust-embedded