mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
Merge branch 'bugfix/ldgen_path_error' into 'master'
ldgen: fixed error reporting of duplicate and missing entries. See merge request espressif/esp-idf!17568
This commit is contained in:
@@ -32,6 +32,7 @@ class Fragment:
|
|||||||
def __init__(self, name: str, entries: Set[Union[str, Tuple[str]]]):
|
def __init__(self, name: str, entries: Set[Union[str, Tuple[str]]]):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.entries = entries
|
self.entries = entries
|
||||||
|
self.path = ''
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return str(self.__dict__)
|
return str(self.__dict__)
|
||||||
@@ -470,4 +471,7 @@ def parse_fragment_file(path, sdkconfig):
|
|||||||
fragment_file = parser.parse_file(path, parse_all=True)[0]
|
fragment_file = parser.parse_file(path, parse_all=True)[0]
|
||||||
fragment_file.path = path
|
fragment_file.path = path
|
||||||
|
|
||||||
|
for frag in fragment_file.fragments:
|
||||||
|
frag.path = path
|
||||||
|
|
||||||
return fragment_file
|
return fragment_file
|
||||||
|
Reference in New Issue
Block a user