Removed py files

This commit is contained in:
Glenn Arens
2019-04-05 12:19:17 +02:00
parent 36494d9e6b
commit f86532dc15
6 changed files with 0 additions and 381 deletions

View File

@@ -1,14 +0,0 @@
#!/usr/bin/env python
from subprocess import call
import os
Import("env")
def clean(source, target, env):
print("\n** Starting clean...")
call(["pio", "run", "-t", "erase"])
call(["esptool.py", "-p COM6", "write_flash 0x00000", os.getcwd()+"../firmware/*.bin"])
print("\n** Finished clean.")
# built in targets: (buildprog, size, upload, program, buildfs, uploadfs, uploadfsota)
env.AddPreAction("buildprog", clean)