RPPicoOS: A tiny C programming environment for PicoCalc

Hi everyone!

I’d like to share a project I’ve been working on: RPPicoOS, a small, self-contained C programming environment for the ClockworkPi PicoCalc with Raspberry Pi Pico 2 W (RP2350).

The idea is simple: what if we could write, compile, and run C programs directly on the PicoCalc, without needing a PC?

That’s what RPPicoOS is trying to achieve.

It’s still an experimental project, but it has reached a point where I think it’s ready for others to try.

What can it do today?

This first public version (0.6) includes:

  • A text-mode shell with file and directory management commands.

  • A built-in source code editor with syntax highlighting, search and replace, and file saving.

  • An on-device compiler supporting a practical subset of C89, including functions, arrays, pointers, structures, floating-point operations, and more.

  • A bytecode virtual machine that runs the compiled programs.

  • The ability to save compiled programs as .exe files and run them later.

  • A small programming API for text output, 16 colors, CP437 characters, keyboard input, timing, and file operations.

  • Several example programs, utilities, and playable games, including Tetris and Snake.

Everything runs directly on the PicoCalc. You can edit a C file, compile it, run it, return to the editor, and keep working.

The .exe files use RPPicoOS’s own virtual machine format, not native ARM machine code.

Where do I hope to take it?

My long-term goal is to turn RPPicoOS into a small but genuinely useful programming environment for the PicoCalc: something inspired by the simplicity and immediacy of classic home computers, but built around C.

I’d like to continue improving C89 compatibility, the editor, the programming libraries, memory management, and the overall user experience.

And perhaps, further down the road, explore the possibility of compiling C programs into native RP2350 code directly on the device.

That’s an ambitious goal, and there’s still plenty of work ahead!

Try it!

The project includes the firmware, example programs, installation instructions, and documentation in English and Spanish.

Project repository: https://github.com/VintaBytes/datax/tree/feature/rppicoos-006/picocalc_picoos

Please keep in mind that this is a development release, not a finished operating system. It supports a subset of C89 rather than the complete standard, and bugs or limitations are to be expected.

If you decide to give it a try, I’d really appreciate your feedback!

Bug reports, suggestions, ideas for new features, compatibility issues, or even small C programs you’ve written for it would all be very welcome.

And a special thanks to @Blairleduc for the text-mode starter that helped provide a foundation for this project!

I hope some of you find RPPicoOS interesting, and I’d love to hear what you think.

Happy coding!

5 Likes