Skip to content

Nix overlay for building the ESP8266 and ESP32 compiler toolchains.

License

Notifications You must be signed in to change notification settings

busti/nixpkgs-esp-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixpkgs-esp-dev

Derivations for developing for ESP8266 and ESP32 on NixOS.

This repo contains derivations for:

  • Toolchains (compiler, linker, etc.) for xtensa-lx106-elf and xtensa-esp32-elf built with the xtensa fork of crosstool-NG
  • The xtensa crosstool-NG fork itself.
  • esptool

The easiest way to get started is to use nix-shell with one of these:

  • shell-esp32.nix: for ESP32 development with esp-idf
  • shell-esp-open-rtos.nix: for ESP8266 development with esp-open-rtos

To add this as a nixpkgs overlay, clone this repo somewhere on your machine and symlink overlay.nix to a file in ~/.config/nixpkgs/overlays, eg. ~/.config/nixpkgs/overlays/esp-dev.nix.


Note: This currently is impure and requires sandboxing to be turned off. Run commands that build things from this repo with --option sandbox false.


Partly adapted from esp-open-sdk.

Released into the public domain via CC0 (see COPYING).

About

Nix overlay for building the ESP8266 and ESP32 compiler toolchains.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%