Getting Started: Zephyr OS on RISC-V with the Pi Pico 2 W

Learn how to get Zephyr OS up and running on the open-source RISC-V Hazard3 core of the Raspberry Pi Pico 2 W. In this hands-on tutorial, Ari Mahpour walks through the complete setup process — from installing the Zephyr build environment (West) and SDK, to cloning the project repo, building for the Hazard3 core, and flashing the UF2 firmware to the Pico 2 W using the BOOTSEL boot sequence. Once Zephyr RTOS is running, you'll see a working blinky LED demo controlled over the USB CDC serial console with simple shell commands like "LED on" and "LED off." Along the way, Ari covers important caveats with the current RISC-V Zephyr port — including unsupported Wi-Fi, a CDC enumeration workaround in prj.conf and main.c, and troubleshooting tips. Whether you're new to embedded Linux-style RTOS development or experimenting with open-source processor architectures, this is a quick, practical entry point into RISC-V firmware development on accessible hardware. ⚙️ Resources from this video: Ari's Gitlab: https://gitlab.com/embedded-designs/r... Connect with Ari:   / arimahpour   Ari's Other Zephyr Tutorials:    • Ari's Zephyr Tutorials   ✨ Don't Miss Out: Subscribe to our channel for more electronics, supply chain, and industry content:    / @octopart   ⚙️ Browse Octopart for Parts & Tech News: https://octopart.com/ ⚙️ TikTok:   / octopart_official   ⚙️ Instagram:   / octopart   #ZephyrOS #RISCV #RaspberryPiPico 0:00 Intro 3:19 Zephyr OS Environment Setup 8:28 Building Zephyr for RP Pico ️ 10:48 Flashing UF2 to Pi Pico 11:30 Testing LED & CDC Device 13:02 RISC-V Zephyr OS Conclusion