From 00bb31738ef302ac18f657a5d9802046d475cc18 Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 30 Aug 2024 11:09:39 +0200 Subject: [PATCH] comments changed --- scripts/upload.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/upload.py b/scripts/upload.py index 80cc693ca..bdcd9e2a9 100644 --- a/scripts/upload.py +++ b/scripts/upload.py @@ -1,7 +1,9 @@ # Modified from https://github.com/ayushsharma82/ElegantOTA - -# This is called during the platformIO upload process +# +# This is called during the PlatformIO upload process, when the target is 'upload'. +# Use the file upload_cli.py for manual uploads outside PIO. +# # To use create a pio_local.ini file in the project root and add the following: # [env] # upload_protocol = custom @@ -12,7 +14,6 @@ # and # extra_scripts = scripts/upload.py # -# This only works when the PlatformIO target is upload import requests import hashlib