build/generic_platform/ConnectorManager: allows to search recursively pins through connectors dictionary

This commit is contained in:
Gwenhael Goavec-Merou 2022-08-29 13:39:35 +02:00
parent d3368d7fab
commit fc0f0be679
1 changed files with 4 additions and 1 deletions

View File

@ -168,7 +168,10 @@ class ConnectorManager:
if pn.isdigit():
pn = int(pn)
r.append(self.connector_table[conn][pn])
conn_pn = self.connector_table[conn][pn]
if ":" in conn_pn:
conn_pn = self.resolve_identifiers([conn_pn])[0]
r.append(conn_pn)
else:
r.append(identifier)