Dario Nieuwenhuis

Results 349 comments of Dario Nieuwenhuis

manually stomping over spurious failure

bind the same interrupt to both handlers. ```rust bind_interrupts!(struct Irqs { I2C1 => i2c::EventInterruptHandler, i2c::ErrorInterruptHandler; }); ```

it's a bit complicated, control handlers use `dyn` and async traits can't use `dyn`. It'd require using actual generics, which i'm not sure how it'd work because there's N handlers,...

This is a known issue, the problem is probe-rs resets only core0, not the entire chip. I've made an attempt to fix it here, but it's not trivial: https://github.com/probe-rs/probe-rs/pull/1603

Watchdog reset can definitely reset SIO if you set the bit in PSM.WDSEL. The embassy-rp implementation does [set it.](https://github.com/embassy-rs/embassy/blob/main/embassy-rp/src/watchdog.rs#L70)

no, teleprobe has this workaround https://github.com/embassy-rs/teleprobe/blob/main/teleprobe/src/probe/mod.rs#L90-L127 which I was hoping to port into probe-rs with https://github.com/probe-rs/probe-rs/pull/1603 but doing it properly is hard.

> Having multi core support in embassy-rp will restrict embassy multi core support to RP2040 devices, will hinder embassy supporting other multi core devices. No, this doesn't prevent anyone else...