scripts: check_init_priorities: add priority to the file debug print
Log the device priority on the file debug output print, this is convenient to list out all the defined devices and their priority, even if they don't depend on each other. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
111db23d0a
commit
fb003d1aa8
1 changed files with 2 additions and 2 deletions
|
@ -205,9 +205,9 @@ class Validator():
|
|||
obj = ZephyrObjectFile(file)
|
||||
if obj.defined_devices:
|
||||
self._objs.append(obj)
|
||||
for dev in obj.defined_devices:
|
||||
for dev, prio in obj.defined_devices.items():
|
||||
dev_path = self._ord2node[dev].path
|
||||
self.log.debug(f"{file}: {dev_path}")
|
||||
self.log.debug(f"{file}: {dev_path} {prio}")
|
||||
|
||||
self._dev_priorities = {}
|
||||
for obj in self._objs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue