Skip to content

Commit

Permalink
tools/psoc6/mpy-psoc6.py: Fw-loader don´t exit on error but warn.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Jan 31, 2024
1 parent 77c92da commit 3c939bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/psoc6/mpy-psoc6.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def parse_output_for_error(fwloader_stdout):
fwloader_out_lines = fwloader_stdout.decode().split("\n")
for line in fwloader_out_lines:
if "Error" in line:
sys.exit(colour_str_error(line))
colour_str_error("warning: " + line.strip("Error: "))

print("Updating kitprog3 firmware...")
fwloader_cmd = "fw-loader --update-kp3 all"
Expand Down

0 comments on commit 3c939bf

Please sign in to comment.