The focus on the bundled firmware is word processing, but it's open-source and built around the popular ESP32 microcontroller family.
https://github.com/unkyulee/micro-journal