Browse Source
Merge pull request #5 from maxd/fix-firmware-upload-settings
Восстановил загрузку прошивок по WiFi в mks_robin_nano35.py
pull/11/head
Sergey1560
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
buildroot/share/PlatformIO/scripts/mks_robin_nano35.py
|
|
@ -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" |
|
|
|
) |
|
|
|