You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
389 B
9 lines
389 B
date -R |
|
starttime=`date +'%Y-%m-%d %H:%M:%S'` |
|
make px4_fmu-v3_default upload |
|
endtime=`date +'%Y-%m-%d %H:%M:%S'` |
|
date -R |
|
start_seconds=$(date --date="$starttime" +%s); |
|
end_seconds=$(date --date="$endtime" +%s); |
|
echo "本次运行时间: "$((end_seconds-start_seconds))"s" |
|
cp ./build/px4_fmu-v3_default/px4_fmu-v3_default.px4 /mnt/f/_02-work/100_data/Firmware/px4/px4_fmu-v3_tfiic-12.px4
|
|
|