kopia lustrzana https://github.com/espressif/esp-idf
ldgen: fixed error reporting of duplicate and missing entries.
Fragment was missing path variable which is used for error reporting.pull/8755/head
rodzic
c1bcb8756b
commit
e32fc9eb36
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue