an alternative firmware the official trmnl firmware.
just a hobby project.
you need to have nix
installed with flakes enabled: https://nixos.org/download.html
Note
i use macOS and NixOS and nushell and may have built in some opinions. i'm open to contributions if there's interest, but you can pry nushell out of my cold, dead laptop.
NixOS doesn't use the Linux Filesystem Hierarchy Standard (FHS) and also doesn't support dynamic linking by default. while generally dynamic linking is just a pain in the ass, the consequences of disallowing this is also a pain in the ass. but me and Copilot figured it out 👍
drop into a FHS compatible shell with:
esp-idf-env
this is defined in the flake.nix
file and is necessary
to build esp-idf
project which is necessary
to install esp-idf-sys
, a Rust crate that wraps esp-idf
.
you can then call nu
to use an objectively better shell.
if you've got direnv
,
you can just run direnv allow
in the root of the project.
otherwise, you can spawn a bash
shell with Nix:
nix develop
can't remember the commands?
just
# or
just --list
this project is basically a firmware for the ESP32-C3