Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#5 from maxd/fix-firmware-upload-set…
Browse files Browse the repository at this point in the history
…tings

Восстановил загрузку прошивок по WiFi в mks_robin_nano35.py
  • Loading branch information
Sergey1560 authored Aug 31, 2020
2 parents b261e88 + 28dbc30 commit 241305c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildroot/share/PlatformIO/scripts/mks_robin_nano35.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ def encrypt(source, target, env):
firmware.close()
robin.close()
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", encrypt);

env.Replace(
UPLOADER="curl",
UPLOADCMD="$UPLOADER -v -H 'Content-Type:application/octet-stream' http://$UPLOADERFLAGS/upload?X-Filename=Robin_Nano35.bin --data-binary @$BUILD_DIR/Robin_nano35.bin"
)

0 comments on commit 241305c

Please sign in to comment.