Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/mix/tasks/pico_flash.ex
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ defmodule Mix.Tasks.Atomvm.Pico.Flash do
case picotool do
false ->
IO.puts(
"Error: #{error}\nUnable to locate 'picotool', close the serial monitor before flashing, or install picotool for automatic disconnect and BOOTSEL mode."
"Error: #{inspect(error)}\nUnable to locate 'picotool', close the serial monitor before flashing, or install picotool for automatic disconnect and BOOTSEL mode."
)

exit({:shutdown, 1})

_ ->
IO.puts(
"Warning: #{error}\nFor faster flashing remember to disconnect serial monitor first."
"Warning: #{inspect(error)}\nFor faster flashing remember to disconnect serial monitor first."
)

reset_args = ["reboot", "-f", "-u"]
Expand Down