Dario Nieuwenhuis

Results 547 comments of Dario Nieuwenhuis

it should work. blocking and async i2c should behave exactly the same, if they dont' it's likely a bug. (it could also be that the chip is timing sensitive, and...

iirc we didn't put it in build.rs to not make the build slower for users using probe-rs as a lib (either from git or crates.io), since the target yamls there...

makes sense 👍 another possible improvement is making *generation* tolerate duplicate variant names, for example in this case autorenaming the second one as `TRISTATED_2`

panic is here https://github.com/smoltcp-rs/smoltcp/blob/v0.11.0/src/iface/interface/mod.rs#L882 it happens because you haven't configured any ipv6 address in the interface. Are you actually intending to use IPv6? if no, disable it. if yes, configure...

> However, as a necessary trade-off, it exposes registers and register fields for all channels even for timers that don't have the full number of channels: for example, all four...

I'm not sure what feature you're requesting: - You can already use buffers any size you want. If you want a bigger buffer (hence a bigger window), use a bigger...

ah okay! you want to dynamically *change* the buffer size after the TCP socket has already been created. Makes sense. Unfortunately that's not possible now, no. Doing it if the...

you can do it with ```rust regs.some_reg().write(|w| { w.0 = 0xFFFF_FFFF; w.set_something(false); });

True, this is a problem. The fix is to stop DMA when the future is canceled early (ie dropped). The uart driver does do it: https://github.com/embassy-rs/embassy/blob/ab85eb4b60cd49ebcd43d2305f42327685f5e5a6/embassy-nrf/src/uarte.rs#L642