rlcamp
rlcamp
> `if (tud_task_event_ready()) break;` This could work, but code comments within the function it calls indicate that it's meant to be called with interrupts disabled, due to not being protected...
Willing to try things, but what is your suggested fix? Adding a sev wfe to consume the event is, as you point out above, a non starter.
> i was suggesting you CAN reasonably do a SEV/WFE here I don't think you can. In any code that is trying to sleep until either TinyUSB or unrelated things...
> towards a TinyUSB based solution One possible TinyUSB based solution would simply to be to factor out the use of `critical_section_t` within `osal_pico.h` and document that the calls to...