LS7-Kernel/upload.sh

21 lines
310 B
Bash
Raw Permalink Normal View History

2023-12-07 22:45:26 +01:00
#!/bin/sh
2023-11-20 13:22:50 +01:00
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