mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 08:39:09 +03:00
remove cmd
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
# for calling dos upload from Window WSL2 Linux, because serial ports are not mapped yet
|
|
||||||
# example file
|
|
||||||
Import('env')
|
|
||||||
from subprocess import call
|
|
||||||
|
|
||||||
def upload(source, target, env):
|
|
||||||
print("bin file: " + str(target[0]))
|
|
||||||
call(["cmd.exe", "/c", "c:\\Users\\paul\\OneDrive\\Desktop\\ems-esp32.bat"])
|
|
||||||
|
|
||||||
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", [upload])
|
|
||||||
Reference in New Issue
Block a user