Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pkgs/esp-idf/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
owner ? "espressif",
repo ? "esp-idf",
rev ? "v5.5.1",
sha256 ? "sha256-vZ/ZMrOYIgHq0fHnFSN5GLQfYREnf/0PcQI5QllxpTM=",
rev ? "v6.0-beta1",
sha256 ? "sha256-YLvUBvoM3ERlNV3Dx0u+itJG+jFyETmAGpzfcyoCoh0=",
toolsToInclude ? [
"xtensa-esp-elf-gdb"
"riscv32-esp-elf-gdb"
Expand Down Expand Up @@ -84,10 +84,14 @@ let
esp-idf-panic-decoder
esp-idf-size
pyclang
pyparsing
psutil
rich
argcomplete

tree-sitter
tree-sitter-grammars.tree-sitter-c

freertos_gdb

# The esp idf vscode extension seems to want pip, too
Expand Down
35 changes: 19 additions & 16 deletions pkgs/esp-idf/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ with pythonPackages;
rec {
idf-component-manager = buildPythonPackage rec {
pname = "idf-component-manager";
version = "2.2.2";
version = "2.4.2";
pyproject = true;

src = fetchPypi {
inherit version;
pname = "idf_component_manager";
sha256 = "sha256-HKOJIThQ05khSBhDzVjX+cF2hWrBivNZXmQZWBpIGvc=";
sha256 = "sha256-P93LjDZFARmy2S8oIe6uB//JyN2bSU++3oInyLE2vMk=";
};

build-system = [
Expand Down Expand Up @@ -61,13 +61,13 @@ rec {

esp-coredump = buildPythonPackage rec {
pname = "esp-coredump";
version = "1.13.1";
version = "1.14.0";
pyproject = true;

src = fetchPypi {
inherit version;
pname = "esp_coredump";
sha256 = "sha256-rz0HbQ4DHB7vClZICYW/Q13N+48MWqEpnup0TyYFzIk=";
sha256 = "sha256-HDqIHObATfq408mDzpN8WQDIQxfpZFnK2L+LWEcrhzs=";
};

build-system = [
Expand All @@ -89,7 +89,7 @@ rec {

esptool = buildPythonPackage rec {
pname = "esptool";
version = "4.9.0";
version = "5.1.0";
pyproject = true;

build-system = [
Expand All @@ -98,20 +98,22 @@ rec {

src = fetchPypi {
inherit pname version;
sha256 = "sha256-9ja0VS84c835TPry1cN/VAfx8z33NkPv7lE4ZzELao4=";
sha256 = "sha256-Lqm81+smPTgKT+AXCFahDkxl4/OMdX69xzWEyN2DIto=";
};

doCheck = false;

propagatedBuildInputs = [
intelhex
argcomplete
bitstring
click
cryptography
ecdsa
intelhex
pyserial
reedsolo
pyyaml
reedsolo
rich-click
];

# Replaces esptool.py import with .esptool.py-wrapped
Expand All @@ -135,7 +137,7 @@ rec {

esp-idf-kconfig = buildPythonPackage rec {
pname = "esp-idf-kconfig";
version = "2.5.0";
version = "3.3.0";
pyproject = true;

build-system = [
Expand All @@ -145,13 +147,14 @@ rec {
src = fetchPypi {
inherit version;
pname = "esp_idf_kconfig";
sha256 = "sha256-G65GbZh1tlOITRJG1bDKfHq247f0/1pzLjyAljHg45I=";
sha256 = "sha256-M4kOVDI/dxX5BlxTCbERztZdKiu+5Od81oSvTRNqllo=";
};

doCheck = false;

propagatedBuildInputs = [
kconfiglib
pyparsing

# These packages aren't declared as dependencies but will fail idf.py's
# initial dependency check.
Expand All @@ -166,13 +169,13 @@ rec {

esp-idf-monitor = buildPythonPackage rec {
pname = "esp-idf-monitor";
version = "1.7.0";
version = "1.8.0";
pyproject = true;

src = fetchPypi {
inherit version;
pname = "esp_idf_monitor";
sha256 = "sha256-lU5ec8f7d3R+PzBkfiCVbYbnD7ZO1rOJC3TA5ulKGdk=";
sha256 = "sha256-jCJPOBBd+BadDZos0YIV7L3114gBvsLlA4xQLYRxl/8=";
};

build-system = [
Expand All @@ -195,7 +198,7 @@ rec {

esp-idf-size = buildPythonPackage rec {
pname = "esp-idf-size";
version = "1.7.1";
version = "2.0.0";
pyproject = true;

build-system = [
Expand All @@ -205,7 +208,7 @@ rec {
src = fetchPypi {
inherit version;
pname = "esp_idf_size";
sha256 = "sha256-labUYKJukzADWq8eHCXM83FgVJdWIUMgzMqEBNl9zBs=";
sha256 = "sha256-EmPMN7Ypnv0/zCCzClKG4cVr+Yo91q0R7mV2Pc+CrEI=";
};

doCheck = false;
Expand Down Expand Up @@ -290,7 +293,7 @@ rec {

esp-idf-panic-decoder = buildPythonPackage rec {
pname = "esp-idf-panic-decoder";
version = "1.4.1";
version = "1.4.2";
pyproject = true;

build-system = [
Expand All @@ -300,7 +303,7 @@ rec {
src = fetchPypi {
inherit version;
pname = "esp_idf_panic_decoder";
sha256 = "sha256-l0HQFZlWB0PkiK4EkiIotYBkX5hXHCu9v+f0noUcKwM=";
sha256 = "sha256-wjk2lUISeipxw7CDIORQTxKSC2QAW0cjYqM+wkBk9/U=";
};

doCheck = false;
Expand Down