Browse Source

Скопировал настройки для загрузки прошивки по WiFi из mks_robin_nano.py в mks_robin_nano35.py

pull/5/head
maxd 4 years ago
committed by Maxim Dobryakov
parent
commit
28dbc30db5
  1. 5
      buildroot/share/PlatformIO/scripts/mks_robin_nano35.py

5
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"
)

Loading…
Cancel
Save