No description
- C 98.9%
- HTML 0.8%
- Lua 0.2%
- Nix 0.1%
| .github/workflows | ||
| .vscode | ||
| assets | ||
| boards/esp32c3-devkit | ||
| main | ||
| .envrc | ||
| .gitignore | ||
| CMakeLists.txt | ||
| diagram.json | ||
| flake.lock | ||
| flake.nix | ||
| partitions.csv | ||
| README.md | ||
| sdkconfig | ||
| sdkconfig.defaults | ||
| wokwi.toml | ||
Inkpot on ESP32 Lilygo T5
This repository contains the sources required to run the Inkpot frontend on a Lilygo T5, an ESP32 equipped with an e-ink display. It allows you to create Lua sketches that draw on the e-ink screen.
Prerequisites
There is a flake.nix at the root of this repository that defines a development environment with all required tools. If you are using direnv, cd into the repositorie's root directory after cloning it and run direnv allow. If you aren't using direnv the enviroment can be activated using nix develop ..
The build environment consists of:
- ESP-IDF version 5.1.0 or higher
- Components:
Build and Flash
idf.py set-target esp32
idf.py build flash monitor
You can stop the monitor by pressing Ctrl + ].
File Structure
main/inkpot.c: Main program containing embedded Lua script and file-based Lua execution.paper.c: Defines the lua bindings to epdiy that can be used for drawing on the screen.
assets/: Directory containing all Lua scripts; some are older example scripts that are not executedepaper.luacontains the sketch that runs at startup