mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update upload scripts
This commit is contained in:
@@ -16,4 +16,5 @@ debug_tool = esp-prog
|
||||
debug_init_break = tbreak setup
|
||||
extra_scripts =
|
||||
; pre:scripts/build_interface.py
|
||||
; scripts/rename_fw.py
|
||||
; scripts/upload_fw.py
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ def upload(source, target, env):
|
||||
platform = "esp" + env['PIOPLATFORM'].strip("espressif")
|
||||
|
||||
if platform == 'esp8266':
|
||||
call(["cmd.exe", "/c", "C:\\Users\\Paul\\OneDrive\\Desktop\\com8266.bat"])
|
||||
call(["cmd.exe", "/c", "C:\\Users\\Paul\\Desktop\\ems-esp8266.bat"])
|
||||
|
||||
if platform == 'esp32':
|
||||
call(["cmd.exe", "/c", "C:\\Users\\Paul\\OneDrive\\Desktop\\com32.bat"])
|
||||
call(["cmd.exe", "/c", "C:\\Users\\Paul\\Desktop\\ems-esp32.bat"])
|
||||
|
||||
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", [upload])
|
||||
Reference in New Issue
Block a user