mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 19:07:35 +08:00
Mantis: move upload.sh into boards/atl/mantis-edu
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
PX4_BINARY_FILE="$1"
|
||||
|
||||
echo "uploading: $PX4_BINARY_FILE"
|
||||
|
||||
PX4_BINARY_FILE_SIZE=$(stat -c%s "$PX4_BINARY_FILE")
|
||||
curl -v -F "image=@$PX4_BINARY_FILE" -H "Expect:" -H "File-Size:$PX4_BINARY_FILE_SIZE" http://192.168.42.1/cgi-bin/upload
|
||||
|
||||
Reference in New Issue
Block a user