Skip to content
Snippets Groups Projects
Commit 4abbc8e6 authored by test_nonet's avatar test_nonet
Browse files

move usage info to README

parent 4ca17c55
No related branches found
No related tags found
No related merge requests found
ESP32 compiler for NixOS, build according to [this](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup-scratch.html) documentation using crosstool-NG.
* compile for local host: `nix-build release.nix -A espressif-esp32-tools`
* cross-compile for aarch64 (not working, yet): `nix-build release.nix -A espressif-esp32-tools --arg crossAarch64 true`
* start nix-shell for aarch64 to debug build: `mkdir tmp; cd tmp; nix-shell ../release.nix -A espressif-esp32-tools --arg crossAarch64 true`, then `eval "$unpackPhase"`, `eval "$configurePhase"`, etc.
# usage:
# nix-build release.nix -A espressif-esp32-tools
# nix-build release.nix -A espressif-esp32-tools --arg crossAarch64 true
# mkdir tmp; cd tmp; nix-shell ../release.nix -A espressif-esp32-tools --arg crossAarch64 true
let
nixpkgs = import <nixpkgs>;
overlay = import ./overlay.nix;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment