Skip to content

Commit 1f5da0c

Browse files
committed
load cmd: replace internal variable with method for target output in cbuild-run
1 parent 827685e commit 1f5da0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyocd/subcommands/load_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def invoke(self) -> int:
109109
no_reset=self._args.no_reset)
110110
if not self._args.file and self._args.cbuild_run:
111111
# Populate file list from cbuild-run output if not provided explicitly
112-
cbuild_files = session.target._cbuild_device.output
112+
cbuild_files = session.target.get_output()
113113
self._args.file = cbuild_files.keys()
114114
for filename in self._args.file:
115115
# Get an initial path with the argument as-is.

0 commit comments

Comments
 (0)