Refactor console output during compilation
This commit is contained in:
parent
bebf6fa55e
commit
d9a2cbd26f
|
@ -260,15 +260,15 @@ then
|
|||
then
|
||||
outputName="$(realpath "$projectRoot/$buildPath/$outputName")";
|
||||
outputFile="$outputName.axf";
|
||||
echo "The File Has Been Built to \"$outputFile\".";
|
||||
echo "Target Built: \"$outputFile\".";
|
||||
pyocd list | {
|
||||
grep '^No available' &&
|
||||
{
|
||||
echo "Skpping flash."
|
||||
echo "Skpping Flash."
|
||||
} ||
|
||||
{
|
||||
pyocd flash --target stm32f439xi "$outputFile";
|
||||
handle_status $? "Flashing failed";
|
||||
handle_status $? "Flashing Failed";
|
||||
};
|
||||
};
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue