Skip to content

RP235x: Add minimal example for Raspberry Pi Pico 2 Board#33

Open
Karthik-d-k wants to merge 13 commits into
cbiffle:mainfrom
Karthik-d-k:cortex-m33
Open

RP235x: Add minimal example for Raspberry Pi Pico 2 Board#33
Karthik-d-k wants to merge 13 commits into
cbiffle:mainfrom
Karthik-d-k:cortex-m33

Conversation

@Karthik-d-k

@Karthik-d-k Karthik-d-k commented Nov 3, 2025

Copy link
Copy Markdown

Hi,

This PR adds a working example for the Raspberry Pi Pico 2, showing how to blink an On-Board LED connected to GPIO 25 using the Cortex-M33 core.

The Pico 2 is an exciting board because it features dual Cortex-M33 ARM cores and dual RISC-V Hazard3 cores, making it a great target for experimenting with mixed-architecture systems.

I discovered this OS while researching Hubris, and I built a similar working demo on Hubris.
That hubris demo runs on both:

  • Cortex-M33 (ARM) core
  • RISC-V Hazard3 core

This PR brings a comparable example here, focused specifically on the Cortex-M33 target.

  • The example blinks an On-Board LED connected to GPIO 25 on the Raspberry Pi Pico 2.
  • On the Pico 2W, the onboard LED is tied to WL_GPIO0, controlled by the Infineon CYW43439 wireless chip.

From the Intro Guide:

NOTE: {os} currently supports ARM Cortex processors (M0, M0+, M3, M4, M7, and
probably M33). I would be delighted to port it to a RISC-V processor and stop
being ARM-centric. Perhaps you could recommend a cheap dev board for me to buy?

Probably, Raspberry Pi Pico 2 could be a great, affordable candidate for exploring RISC-V support :)

@Karthik-d-k

Copy link
Copy Markdown
Author

Rebased onto latest upstream main and resolved the conflicts.

@Karthik-d-k Karthik-d-k changed the title RP235x: Add minimal example for Raspberry Pi Pico 2W Board RP235x: Add minimal example for Raspberry Pi Pico 2 Board May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants