Closed kamocat closed 9 months ago
I have a simple variable-length UART transmitter which fails to assemble with adafruit-circuitpython-pioasm v0.8.2
from adafruit_pioasm import assemble assemble(''' set pins, 1 set pindirs, 1 pull set pins, 0 [1] txloop: out pins, 1 jmp !OSRE txloop ''')
produces the exception
ValueError: Invalid jmp condition '!OSRE'=
although this is a jump condition shown on pg 321 of the datasheet.
Oh. It doesn't like the capitalization. Interesting. I suppose it's sloppy of me to mix caps and lowercase.
I have a simple variable-length UART transmitter which fails to assemble with adafruit-circuitpython-pioasm v0.8.2
produces the exception
although this is a jump condition shown on pg 321 of the datasheet.