add esp-idf tooling
This commit is contained in:
parent
e1c2c96ccf
commit
58fd3db51e
7 changed files with 220 additions and 1 deletions
|
|
@ -4,20 +4,28 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs-python.url = "github:cachix/nixpkgs-python";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
nixpkgs-python,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
pkgs-python = nixpkgs-python.packages.${system};
|
||||
in {
|
||||
packages = rec {
|
||||
rust = import ./rust.nix {inherit pkgs system;};
|
||||
clang = import ./clang.nix {inherit pkgs system;};
|
||||
esp-idf = import ./esp-idf.nix {inherit pkgs system;};
|
||||
openocd-esp32 = import ./openocd-esp32.nix {inherit pkgs system;};
|
||||
xtensa-esp-elf-gdb = import ./xtensa-esp-elf-gdb.nix {inherit pkgs pkgs-python system;};
|
||||
xtensa-esp-elf = import ./xtensa-esp-elf.nix {inherit pkgs system;};
|
||||
esp-rom-elfs = import ./esp-rom-elfs.nix {inherit pkgs;};
|
||||
default = rust;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue