Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4970

MicroPython • Re: Testing PIO on Pico 2

$
0
0
Anyone know ...
I did think I'd had another D'Oh! moment when I remembered 'pioasm' can generate MicroPython source code for a PIO program but was saved by the fact it 'cheats' by emitting 'word(....)' opcodes for the new instructions.

But it wasn't all wasted effort. I have unearthed a couple of bugs in 'pioasm' as well as another in 'picotool' which could be pretty nasty when it bites.

And it appears I may have found a way to add the RP235X specific '@asm_pio()' decorator stuff so it should be able to generate code which actually will run on an RP235X. Not sure how long that will take to get working but I'll publish a new '.zip' if and when it does.

Statistics: Posted by hippy — Tue Aug 27, 2024 5:31 pm



Viewing all articles
Browse latest Browse all 4970

Trending Articles