Graham Sanderson

Results 589 comments of Graham Sanderson

closing as not reproducable

Ok, trying again: ``` while (!condition) { tud_task(); // do these at the end of tud_task() on RP2350 to consume the event (I'd suggest putting them in there) __sev(); __wfe();...

The code at the top of https://github.com/raspberrypi/pico-sdk/issues/2495#issuecomment-3067323222 - i was suggesting you CAN reasonably do a SEV/WFE here

Yeah, as i say any code relying on the CPU event side effects (present or not) of `tud_task()` is probably built on shaky foundations. If you need to sleep waiting...

moving to 2.3.0 as there will be no SDK change for 2.2.0 - it is still worth working towards a TinyUSB based solution

Yeah, another potential solution is to use an `async_context` for all tinyusb stuff, which is the direction pico_stdio_usb ought to go; just happens to predate the `async_context` code. The `async_context`...