w84death / smolOS

smolOS - a tiny and simple ๐Ÿงช research โš™๏ธ operating system โŒจ๏ธ written in ๐Ÿ MicroPython for microcontrollers giving user a POSIX-like ๐Ÿ“ environment and ๐Ÿงฐ tools to play.
http://smol.p1x.in/os/
MIT License
151 stars 12 forks source link
esp8266 micropython micropython-esp8266 neopixels operating-system os research-project rp2040 seeeduino-xiao xiao

smolOS

Specialized Microcontroller-Oriented Lightweight Operating System

smolOS is a tiny (<20KB, <500LOC) and simple ๐Ÿงช research โš™๏ธ operating system โŒจ๏ธ written in ๐Ÿ MicroPython for microcontrollers giving user a POSIX-like ๐Ÿ“ environment to play. It came with a set of ๐Ÿงฐ tools and ๐Ÿช„ demos.

System should run on any MicroPython supproted board but it's tested and developed on Seeed XIAO RP2040,

Official homepage:

smolOS XIAO

Real Life Usecases

smolOS Features

Additoinal Programs

All of those are for NeoPixel Grid 5x5 BFF:

Installation

Super Quick Quide

Detailed Guides

Connecting

As normal user:

$ picocom /dev/ttyACM0

Press ctrl+a+x to exit.

Running

First start. Or after flashing new main.py file. Restart the microcontroller:

>>> machine.soft_reset()

Autoboot

This should restart the device and "boot" you into the smolOS. Like so:

smolOS XIAO

Manual

If you put smolos.py then you need to boot the system by hand. In MicroPython REPL write:

>>> from smolos import smolOS
>>> os = smolOS()
>>> os.boot()

Using

Write help for manual :)

smolOS list

smolOS help

smolOS editor

Intresting forks

Missing Features / ROADMAP

Some kind of a roadmap (from high to low priority)

Articles