Andrew Gordon
Andrew Gordon
But add the __dmb() and it works: ``` +static void __not_in_flash_func(irq_handler_D)(void) { + int r = remaining; + while (pio->ints0 & (PIO_IRQ0_INTS_SM0_TXNFULL_BITS inte0,PIO_IRQ0_INTE_SM0_TXNFULL_BITS txf[sm] = DELAY; + __dmb(); + }...
Actually, `asm volatile (" nop");` also works, though that doesn't really shine any more light on the issue..
Yes, the reason for doing it the way I did was not any perceived inefficiency in pio_sm_is_tx_fifo_full(), but because testing the interrupt status combines the test for fifo full with...
Ah OK, someone beat me to it. I checked the other issues but not the open pull requests. That PR is only fixing the portable_endian.h issue, not `` . Maybe...
Well, it wasn't entirely clear which of those alternatives you had in mind - there were several, and their starting point isn't necessarily the same upstream portable_endian.h as you currently...