idf-build-apps 2.4.0__py3-none-any.whl → 2.4.1.dev0__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.
@@ -8,7 +8,7 @@ Tools for building ESP-IDF related apps.
8
8
  # ruff: noqa: E402
9
9
  # avoid circular imports
10
10
 
11
- __version__ = '2.4.0'
11
+ __version__ = '2.4.1.dev0'
12
12
 
13
13
  from .session_args import (
14
14
  SessionArgs,
@@ -1,6 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2
2
  # SPDX-License-Identifier: Apache-2.0
3
- import glob
4
3
  import logging
5
4
  import os.path
6
5
  import typing as t
@@ -93,27 +92,21 @@ class SocHeader(dict):
93
92
 
94
93
  return dirs
95
94
 
96
- @staticmethod
97
- def _find_candidates_from_pattern(pattern: str) -> t.List[str]:
98
- # get dirs from pattern
99
- return [d for d in glob.glob(pattern) if os.path.isdir(d)]
100
-
101
95
  @classmethod
102
96
  def _parse_soc_header(cls, target: str) -> t.Dict[str, t.Any]:
103
97
  soc_headers_dirs = cls._get_dirs_from_candidates([
104
- # master c5
105
- *cls._find_candidates_from_pattern(
106
- os.path.join(IDF_PATH, 'components', 'soc', target, '*', 'include', 'soc')
107
- ),
98
+ # master c5 mp
99
+ os.path.abspath(os.path.join(IDF_PATH, 'components', 'soc', target, 'mp', 'include', 'soc')),
108
100
  # other branches
109
101
  os.path.abspath(os.path.join(IDF_PATH, 'components', 'soc', target, 'include', 'soc')),
110
102
  # release/v4.2
111
103
  os.path.abspath(os.path.join(IDF_PATH, 'components', 'soc', 'soc', target, 'include', 'soc')),
112
104
  ])
113
105
  esp_rom_headers_dirs = cls._get_dirs_from_candidates([
114
- # master c5
115
- *cls._find_candidates_from_pattern(os.path.join(IDF_PATH, 'components', 'esp_rom', target, '*', target)),
116
- os.path.join(IDF_PATH, 'components', 'esp_rom', target),
106
+ # master c5 mp
107
+ os.path.abspath(os.path.join(IDF_PATH, 'components', 'esp_rom', target, 'mp', target)),
108
+ # others
109
+ os.path.abspath(os.path.join(IDF_PATH, 'components', 'esp_rom', target)),
117
110
  ])
118
111
 
119
112
  header_files: t.List[str] = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: idf-build-apps
3
- Version: 2.4.0
3
+ Version: 2.4.1.dev0
4
4
  Summary: Tools for building ESP-IDF related apps.
5
5
  Author-email: Fu Hanxi <fuhanxi@espressif.com>
6
6
  Requires-Python: >=3.7
@@ -1,4 +1,4 @@
1
- idf_build_apps/__init__.py,sha256=C3lZ5AdMBO7eTuVsdBtoQ6npF65DDzpgHgBXhP3-AAA,650
1
+ idf_build_apps/__init__.py,sha256=Nx8K2NkVg5vjd8rN34aw-yJqYiDrIehLexP8dEK8I9o,655
2
2
  idf_build_apps/__main__.py,sha256=8E-5xHm2MlRun0L88XJleNh5U50dpE0Q1nK5KqomA7I,182
3
3
  idf_build_apps/app.py,sha256=z6i55q_XaMjea34_nbAKgNTU-qOEkO_qTHCYSeQNUFw,35887
4
4
  idf_build_apps/autocompletions.py,sha256=g-bx0pzXoFKI0VQqftkHyGVWN6MLjuFOdozeuAf45yo,2138
@@ -16,11 +16,11 @@ idf_build_apps/junit/utils.py,sha256=gtibRs8WTE8IXTIAS73QR_k_jrJlOjCl2y-9KiP5_Nk
16
16
  idf_build_apps/manifest/__init__.py,sha256=Q2-cb3ngNjnl6_zWhUfzZZB10f_-Rv2JYNck3Lk7UkQ,133
17
17
  idf_build_apps/manifest/if_parser.py,sha256=r0pivV9gmniPn3Ia6sTMbW5tFAKInhOXk-Lfd6GokqE,6381
18
18
  idf_build_apps/manifest/manifest.py,sha256=P5ZaUd72A_HOVF6iuwap__Bw-w7WI72ugiTURm9PNNQ,10708
19
- idf_build_apps/manifest/soc_header.py,sha256=uAS944qDN3z9lvFHXE7du7bsQXQbgCcf2Lt90iiDano,4472
19
+ idf_build_apps/manifest/soc_header.py,sha256=_edrD1sYGUHZTksBxCVO5HwhJr_7KaePaEAjc_z4S-E,4252
20
20
  idf_build_apps/yaml/__init__.py,sha256=W-3z5no07RQ6eYKGyOAPA8Z2CLiMPob8DD91I4URjrA,162
21
21
  idf_build_apps/yaml/parser.py,sha256=Y2OyB4g1DCC7C7jrvpIyZV9lgeCB_XvuB75iGmqiTaM,2093
22
- idf_build_apps-2.4.0.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
23
- idf_build_apps-2.4.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
- idf_build_apps-2.4.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
25
- idf_build_apps-2.4.0.dist-info/METADATA,sha256=WN1SIhaqA3rl5ZOWe_SzfQlkwDrW5iQFDkOe0FrKaug,4608
26
- idf_build_apps-2.4.0.dist-info/RECORD,,
22
+ idf_build_apps-2.4.1.dev0.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
23
+ idf_build_apps-2.4.1.dev0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
+ idf_build_apps-2.4.1.dev0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
25
+ idf_build_apps-2.4.1.dev0.dist-info/METADATA,sha256=rVymKRLi4vO9RcV8HtwMU_uOVBw5gF9LedXfVGri6G8,4613
26
+ idf_build_apps-2.4.1.dev0.dist-info/RECORD,,