idf-build-apps 2.13.1__py3-none-any.whl → 2.13.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- idf_build_apps/__init__.py +1 -1
- idf_build_apps/app.py +18 -1
- {idf_build_apps-2.13.1.dist-info → idf_build_apps-2.13.3.dist-info}/METADATA +1 -1
- {idf_build_apps-2.13.1.dist-info → idf_build_apps-2.13.3.dist-info}/RECORD +7 -7
- {idf_build_apps-2.13.1.dist-info → idf_build_apps-2.13.3.dist-info}/WHEEL +0 -0
- {idf_build_apps-2.13.1.dist-info → idf_build_apps-2.13.3.dist-info}/entry_points.txt +0 -0
- {idf_build_apps-2.13.1.dist-info → idf_build_apps-2.13.3.dist-info}/licenses/LICENSE +0 -0
idf_build_apps/__init__.py
CHANGED
idf_build_apps/app.py
CHANGED
|
@@ -642,11 +642,28 @@ class App(BaseModel):
|
|
|
642
642
|
return
|
|
643
643
|
|
|
644
644
|
if IDF_VERSION >= Version('4.1'):
|
|
645
|
+
"""
|
|
646
|
+
Starting from version 2.0.0 esp-idf-size uses new generation (NG) implementation.
|
|
647
|
+
In newest version `--format json` was changed to `--format json2`.
|
|
648
|
+
For different versions of IDF there are 4 scenarios:
|
|
649
|
+
|
|
650
|
+
1. 6.0 - NG is enforced until version 2.x will be fully incorporated.
|
|
651
|
+
2. >=5.3 <=5.5 - NG is enabled by default, but could be disabled using `-l/--legacy` argument.
|
|
652
|
+
3. 5.1 and 5.2 - only legacy mode is supported.
|
|
653
|
+
4. <5.1 - esp-idf-size package is not used, only `--json` argument is supported.
|
|
654
|
+
"""
|
|
655
|
+
if IDF_VERSION >= Version('5.3'):
|
|
656
|
+
format_arg = ['--format', 'json2']
|
|
657
|
+
elif IDF_VERSION >= Version('5.1'):
|
|
658
|
+
format_arg = ['--format', 'json']
|
|
659
|
+
else:
|
|
660
|
+
format_arg = ['--json']
|
|
661
|
+
|
|
645
662
|
subprocess_run(
|
|
646
663
|
[
|
|
647
664
|
sys.executable,
|
|
648
665
|
str(IDF_SIZE_PY),
|
|
649
|
-
*(
|
|
666
|
+
*(format_arg),
|
|
650
667
|
'-o',
|
|
651
668
|
self.size_json_path,
|
|
652
669
|
*(self.size_json_extra_args or []),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
idf_build_apps/__init__.py,sha256=
|
|
1
|
+
idf_build_apps/__init__.py,sha256=ZxK4NQEmF-i7Ky7S7vMUuYokfUSr-JyUo70xIHbBueI,711
|
|
2
2
|
idf_build_apps/__main__.py,sha256=pT6OsFQRjCw39Jg43HAeGKzq8h5E_0m7kHDE2QMqDe0,182
|
|
3
|
-
idf_build_apps/app.py,sha256=
|
|
3
|
+
idf_build_apps/app.py,sha256=iMu2m20O7vMpHWWQv107pjtqIJXMT-0Je3uWeWznfog,40179
|
|
4
4
|
idf_build_apps/args.py,sha256=e9d4kxv2q7SEOF42rWn-GS9EfIYYLaMxNUagJ8SPGzk,40140
|
|
5
5
|
idf_build_apps/autocompletions.py,sha256=2fZQxzgZ21ie_2uk-B-7-xWYCChfOSgRFRYb7I2Onfo,2143
|
|
6
6
|
idf_build_apps/constants.py,sha256=2iwLPZRhSQcn1v4RAcOJnHbqp1fDTp6A1gHaxn5ciTE,2166
|
|
@@ -20,8 +20,8 @@ idf_build_apps/vendors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
20
20
|
idf_build_apps/vendors/pydantic_sources.py,sha256=cxSIPRc3eI5peVMhDxwf58YaGhuG4SCwPRVX2znFEek,4553
|
|
21
21
|
idf_build_apps/yaml/__init__.py,sha256=R6pYasVsD31maeZ4dWRZnS10hwzM7gXdnfzDsOIRJ-4,167
|
|
22
22
|
idf_build_apps/yaml/parser.py,sha256=IhY7rCWXOxrzzgEiKipTdPs_8yXDf8JZr-sMewV1pk8,2133
|
|
23
|
-
idf_build_apps-2.13.
|
|
24
|
-
idf_build_apps-2.13.
|
|
25
|
-
idf_build_apps-2.13.
|
|
26
|
-
idf_build_apps-2.13.
|
|
27
|
-
idf_build_apps-2.13.
|
|
23
|
+
idf_build_apps-2.13.3.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
|
|
24
|
+
idf_build_apps-2.13.3.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
25
|
+
idf_build_apps-2.13.3.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
26
|
+
idf_build_apps-2.13.3.dist-info/METADATA,sha256=qKTCSUSpN6ap36s9qCJGa8brz0_Nq05hkGKalJOPr6o,4795
|
|
27
|
+
idf_build_apps-2.13.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|