Valentin Milea

Results 17 comments of Valentin Milea

Pull request submitted. A couple of notes: * To keep is simple, buffer space is only reclaimed after _all_ non-control endpoints have closed. * If a transfer event gets delivered...

Hi! > We're encountering a problem: if we talk to the RP2040 at low speeds (8kHz bus speed) everything is stable but once we increase the bus speed to 100kHz...

This sort of loop works well on the master side. The slave on the other hand is always reacting to requests from master, so an event driven API fits better....

> I don't really want to do the data preparation in the callback... It depends on what you are trying to accomplish. Here's a couple of options: * Prepare the...

> Would the bus be released in such a case? What would the master see? No, the slave keeps stalling and asserting `RD_REQ` until there's something to transmit. > the...

After giving it more thought, here is a minimal [example](https://gist.github.com/vmilea/5820c2d08d3392d639b1fbc8c015c53b) of slave-transmitter in a loop. See `i2c_slave_transmit_blocking()` which waits for `RD_REQ` before doing the blocking write. This is easier to...

According to the datasheet, the DHT sensor sends a 26-28 μs pulse for bit value 0, and 70 μs for bit value 1. But real timings are a bit off....

> In the meantime, if you're able to NDK r21 still contains these binaries and is tested with. We've worked around it for now by pointing `bugsnag.objdumpPaths` to files from...

Apparently, a dedicated `DispatcherQueue` thread is needed to pump the events. The [documentation](https://docs.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.input.inputpointersource?view=windows-app-sdk-1.1) completely ignores this. Calling `swapChainPanel.CreateCoreIndependentInputSource()` on UI thread throws `RPC_E_WRONG_THREAD` error, while having it on a dedicated...

I think an extra template parameter similar to `Bucket` would suffice. The user can add typedefs as needed. A basic enum may work: ``` enum class hash_policy { assume_avalanching, require_avalanching,...