LS7-Kernel/upload.sh
2023-11-20 13:22:50 +01:00

21 lines
312 B
Bash

#!/bin/bash
echo -e "\nUploading..."
bold=$(tput bold)
normal=$(tput sgr0)
upload(){
output=`minipro -p SST39SF040 -w build/a.out -Sy`
}
# Checking dependencies
if command -v minipro > /dev/null 2<&1;
then
upload
else
echo -e "\n\e[0;31m${bold}minipro not found${normal}"
echo "Aborting upload..."
fi