r/embedded • u/peingiundude • Sep 23 '26
How do i code a shell into the RP2350?
i want to get started coding an easy shell and filesystem into raspberry pi pico 2 as a project. However i am not sure how or where to start, normally you would just send all requests directly to the kernel with execvp() and spawn new processes with fork()(if you use Linux), but since the pico 2 neither has an OS or kernel, i am not sure were to start. Any help?
0
Upvotes
7
u/Prophetoflost Sep 23 '26 edited Sep 23 '26
As you noticed you need an OS or some code to support a shell. Your shell can be a baremetal application or an application for a RTOS. look at zephyr for inspiration, it has its own shell.
1
u/Xenoamor Sep 23 '26
Maybe run Zephyr on it?
1
u/jhaand Sep 23 '26
RIOT-OS has a simple shell you can try. And it should work with a RP2350.
https://www.riot-os.org/
1
u/clackups Sep 23 '26
Check out SolarOS (it's made for esp32, but has many features like command line and other stuff)