-
Notifications
You must be signed in to change notification settings - Fork 74
/
overlay.nix
51 lines (42 loc) · 1.06 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
final: prev:
rec {
esp-idf-full = prev.callPackage ./pkgs/esp-idf { };
esp-idf-esp32 = esp-idf-full.override {
toolsToInclude = [
"xtensa-esp-elf"
"esp32ulp-elf"
"openocd-esp32"
"xtensa-esp-elf-gdb"
];
};
esp-idf-riscv = esp-idf-full.override {
toolsToInclude = [
"riscv32-esp-elf"
"openocd-esp32"
"riscv32-esp-elf-gdb"
];
};
esp-idf-esp32c2 = esp-idf-riscv;
esp-idf-esp32c3 = esp-idf-riscv;
esp-idf-esp32s2 = esp-idf-full.override {
toolsToInclude = [
"xtensa-esp-elf"
"esp32ulp-elf"
"openocd-esp32"
"xtensa-esp-elf-gdb"
];
};
esp-idf-esp32s3 = esp-idf-full.override {
toolsToInclude = [
"xtensa-esp-elf"
"esp32ulp-elf"
"openocd-esp32"
"xtensa-esp-elf-gdb"
];
};
esp-idf-esp32c6 = esp-idf-riscv;
esp-idf-esp32h2 = esp-idf-riscv;
# ESP8266
gcc-xtensa-lx106-elf-bin = prev.callPackage ./pkgs/esp8266-rtos-sdk/esp8266-toolchain-bin.nix { };
esp8266-rtos-sdk = prev.callPackage ./pkgs/esp8266-rtos-sdk/esp8266-rtos-sdk.nix { };
}