Refactor console output during compilation

This commit is contained in:
Manuel Thalmann 2023-04-12 07:16:16 +00:00
parent bebf6fa55e
commit d9a2cbd26f

View file

@ -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