8000 GitHub - covercash2/trmnl_rs: messing around with this TRMNL and Rust and Nix
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

covercash2/trmnl_rs

Repository files navigation

trmnl_rs

an alternative firmware the official trmnl firmware.

just a hobby project.

setup

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 weirdness

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.

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

just

can't remember the commands?

just
# or
just --list

the board

this project is basically a firmware for the ESP32-C3

About

messing around with this TRMNL and Rust and Nix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0