PIO assembly support for rp2350 enhanced version #16487
Unanswered
graeme-winter
asked this question in
RP2040 / Pico
Replies: 2 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.
0 replies
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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