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 - https://znc.in]
tafa has joined #rust-embedded
fabic_ has joined #rust-embedded
starblue has quit [Ping timeout: 265 seconds]
<re_irc> <@romen:matrix.org> 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> <@romen:matrix.org> Can anyone provide good pointers to put me in the right direction to answer these questions?
starblue has joined #rust-embedded
<re_irc> <@ryan-summers:matrix.org> 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> <@newam:matrix.org> |---------------------------|----------|--------|
<re_irc> <@newam:matrix.org> | Metric | `chrono` | `time` |
<re_irc> <@newam:matrix.org> For anyone who is curious about `time` as a `chrono` replacement it is not better :|
<re_irc> <@newam:matrix.org> | hal compile time sec | 15.34 | 15.75 |
<re_irc> <@newam:matrix.org> Huh, no markdown tables eh?
<re_irc> <@newam:matrix.org> is there a good way to benchmark by binary size?
<re_irc> <@newam:matrix.org> e.g. I want to write equivalent code with chrono & time and benchmark each feature individually
<re_irc> <@hegza:matrix.org> romen: oh, hello I know you. Anyway, there's a room for GD32V Rust, I'll see if I can invite you.
<re_irc> <@jamesmunns:beeper.com> newam I know Simon Sapin has a much smaller version of chrono for bare metal devices, let me find it
<re_irc> <@jamesmunns:beeper.com> https://docs.rs/gregor/0.3.3/gregor/
<re_irc> <@newam:matrix.org> Oooo, thanks! I will give that one a go :)
fabic_ has quit [Ping timeout: 260 seconds]
starblue has joined #rust-embedded
<re_irc> <@romen:matrix.org> hegza:matrix.org: 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