fix pio_encode_mov in release mode - #3072
Conversation
|
I can confirm this fixes the issue. On a Pimoroni Presto (RP2350B, ST7701 panel driven by PIO + DMA) the display comes up lit and permanently black on 2.3.0, and renders normally on 2.1.1. The driver clears the OSR before restarting a frame: pio_sm_set_enabled(pio, sm, false);
pio_sm_clear_fifos(pio, sm);
pio_sm_exec_wait_blocking(pio, sm, pio_encode_mov(pio_osr, pio_null));
pio_sm_exec_wait_blocking(pio, sm, pio_encode_out(pio_null, 32));In Release on 2.3.0 the first instruction encodes as One small thing in the new test — the |
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
fixes #3068