Menu

I built a small Unix-style OS for the Heltec V4 with a shell, installable apps, and a browser flasher

#esp32#redditesp32#apps#lora#flash
Reading 0:00
15s threshold

Most ESP32 boards I buy end up doing one thing forever. I got tired of that, so I built KoaOS for the Heltec WiFi LoRa 32 V4 (ESP32-S3): a small Unix-style OS that turns the board into something you can repurpose without reflashing.

Flash it once, log in over USB serial, and you get a shell, a Nano-style editor, GPS, Wi-Fi, weather and LoRa APRS. After that, new functionality is just an app you install.

Flash from your browser:

https://flash.koakno.com

Source (MIT): https://github.com/Koakno/KoaOS-for-the-Heltec-V4

How it works

Apps are C programs compiled to WebAssembly and run by wasm3 in PSRAM. A crashing app doesn't take the OS down.

install <app> pulls a package over Wi-Fi from a small Python server on your PC or phone. It's SHA-256 checked, and each app gets a private /data/<app>/ folder.

The OS owns the hardware. Apps declare what they need in a manifest (Wi-Fi, GPS, LoRa, I2C, SPI, UART, GPIO), and the OS grants, shares or refuses it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.