Graham Sanderson
Graham Sanderson
closing as not reproducable
merged into develop
added, then deleted my totally incorrect comment
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();...
@rlcamp could you try my suggested fix
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`...
fix was merged into develop