smolOS - Installation Guide

Install MicroPython

Your microcontroller needs to have latest Python firmware installed.

After that you can copy smolOS files.

Install smolOS

As main script:

As separate script that will work with your existing files on the device:

Prepare Environment

Do this once (initialization, ampy installation):

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install ampy

Pushing Files

After that each time do this:

$ source venv/bin/activate
$ ampy --port /dev/ttyUSB0 put
$ ampy --port /dev/ttyUSB0 put
$ ampy --port /dev/ttyUSB0 put hello.txt


Manual Booting

In MicroPython REPL write:

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