Loading pkgs/development/python-modules/esp-idf-size/1.x-compat.patch +7 −7 Original line number Diff line number Diff line diff --git a/esp_idf_size/main.py b/esp_idf_size/main.py index a600b90..cfe3618 100644 index 13bfa9d..b44289f 100644 --- a/esp_idf_size/main.py +++ b/esp_idf_size/main.py @@ -45,6 +45,8 @@ def main() -> None: parser = argparse.ArgumentParser(prog='esp_idf_size', description='This tool displays firmware size information for project built by ESP-IDF') @@ -49,6 +49,8 @@ def main() -> None: prog='esp_idf_size', description='This tool displays firmware size information for project built by ESP-IDF' ) + parser.add_argument('--ng', action='store_true', help="stub for 1.x compat") + parser.add_argument('input_file', metavar='MAP_FILE', help='Path to the link map file generated by the ESP-IDF build system.') parser.add_argument( 'input_file', metavar='MAP_FILE', help='Path to the link map file generated by the ESP-IDF build system.' ) pkgs/development/python-modules/esp-idf-size/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "esp-idf-size"; version = "2.1.0"; version = "2.2.0"; pyproject = true; src = fetchFromGitHub { owner = "espressif"; repo = "esp-idf-size"; tag = "v${version}"; hash = "sha256-A78sbuxn26gJqZ84EhYWKCVtkZE3gRT3jbjWLpwjXpQ="; hash = "sha256-tiNk1yh8FPwLEKAw+h+Lp5n0aY/FpTwqZjtAQtZK6eY="; }; patches = [ Loading Loading
pkgs/development/python-modules/esp-idf-size/1.x-compat.patch +7 −7 Original line number Diff line number Diff line diff --git a/esp_idf_size/main.py b/esp_idf_size/main.py index a600b90..cfe3618 100644 index 13bfa9d..b44289f 100644 --- a/esp_idf_size/main.py +++ b/esp_idf_size/main.py @@ -45,6 +45,8 @@ def main() -> None: parser = argparse.ArgumentParser(prog='esp_idf_size', description='This tool displays firmware size information for project built by ESP-IDF') @@ -49,6 +49,8 @@ def main() -> None: prog='esp_idf_size', description='This tool displays firmware size information for project built by ESP-IDF' ) + parser.add_argument('--ng', action='store_true', help="stub for 1.x compat") + parser.add_argument('input_file', metavar='MAP_FILE', help='Path to the link map file generated by the ESP-IDF build system.') parser.add_argument( 'input_file', metavar='MAP_FILE', help='Path to the link map file generated by the ESP-IDF build system.' )
pkgs/development/python-modules/esp-idf-size/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "esp-idf-size"; version = "2.1.0"; version = "2.2.0"; pyproject = true; src = fetchFromGitHub { owner = "espressif"; repo = "esp-idf-size"; tag = "v${version}"; hash = "sha256-A78sbuxn26gJqZ84EhYWKCVtkZE3gRT3jbjWLpwjXpQ="; hash = "sha256-tiNk1yh8FPwLEKAw+h+Lp5n0aY/FpTwqZjtAQtZK6eY="; }; patches = [ Loading