-
Notifications
You must be signed in to change notification settings - Fork 18
.side_set N opt is not currently implemented #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This may require additional code in the RP2040 CircuitPython code to distinguish between optional and non-optional |
I just spent a few hours to find this again (with examples the same as #21) - including disassembling. Can we put a notice for this in https://circuitpython.readthedocs.io/en/latest/shared-bindings/rp2pio/index.html?#rp2pio.StateMac? |
@dannystaple I don't think the CircuitPython doc should be updated for it because the issue is this library. I think it should work on the CP side. Instead, an error could be thrown by PIOASM if .side_set is in the assembly. |
I'm working on this now because it's needed for UART TX. |
Ah, that is even better. Let me know if you need a PR tested - I can give it a go. |
You must also set `sideset_enable` when creating the rp2pio.StateMachine object. Fixes adafruit#16 and fixes adafruit#21.
The optional
opt
flag for .side_set is not currently implemented in the assembler. This is used in some of the common PIO examples and an example in section 3.5.4 of the RP2040 data sheet.The text was updated successfully, but these errors were encountered: