PIO assembly support for rp2350 enhanced version #16487
Replies: 3 comments
-
Diffs are detailed in §11.1.1. "Changes from RP2040" in the RP2350 datasheet - probably not all diffs need support in the micropython port, but some are useful |
Beta Was this translation helpful? Give feedback.
-
For reference, most of the PIO assembly compilation occurs in Python, in ports/rp2/modules/rp2.py. It's relatively understandable code in case anyone wants to consider extending it with the newer features! |
Beta Was this translation helpful? Give feedback.
-
See also: |
Beta Was this translation helpful? Give feedback.
-
With the rp2350 there are some new options to pioasm whch are not currently supported in the existing syntax e.g.
mov(rxfifo[0], isr)
- obviously you can "hack" it by hand-assembling and over-writing the right instruction e.g. with:but feels like something worth supporting if someone has the time to extend the assembler
Would probably need the state machine setup code to verify at runtime that this hardware has the right PIO version to support all the instructions given in the program e.g. if pre-compiled as a list of numbers...
Beta Was this translation helpful? Give feedback.
All reactions