Skip to content

[RP] PIO with compile time assembler#1358

Merged
salkinium merged 10 commits into
modm-io:developfrom
andryblack:pio-asm-upstream
Jul 4, 2026
Merged

[RP] PIO with compile time assembler#1358
salkinium merged 10 commits into
modm-io:developfrom
andryblack:pio-asm-upstream

Conversation

@andryblack

@andryblack andryblack commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Updated from #1212
Added RP PIO periperial
Added compile-time assembler closely matched original from pico-sdk
Added example of rewriting pio program at compile-time assembly.

@salkinium salkinium left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very impressive!

Unfortunately I don't have any technical insight into the PIO that could be helpful for a review, so if you're happy with it and it works, I'd just merge it.

Maybe you can add a more extensive readme to the pio module on how to translate or use it? Gotchas like using labels might be important to understand.

Edit: the macOS CI is broken again
Edit2: I fixed the macOS CI, pls rebase

Comment thread src/modm/platform/pio/rp/pio.cpp.in Outdated
Comment thread src/modm/platform/pio/rp/module.lb Outdated
Comment thread src/modm/platform/pio/rp/pio_asm.hpp Outdated
Comment thread src/modm/platform/pio/rp/pio_sm.hpp Outdated
Comment thread src/modm/platform/pio/rp/pio_sm.hpp Outdated

@salkinium salkinium left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@salkinium salkinium merged commit a50e1cc into modm-io:develop Jul 4, 2026
12 checks passed
@salkinium salkinium added this to the 2026q3 milestone Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants