summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/esp-idf-size/1.x-compat.patch
blob: b1386aee06f085d395aed21695f9a8f3feecca79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/esp_idf_size/main.py b/esp_idf_size/main.py
index a600b90..cfe3618 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')
 
+    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.')