Skip to content

Commit

Permalink
Fixed compiler script
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacehuhn committed Jan 17, 2021
1 parent d06e5d3 commit abf56ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/arduino-cli-compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@

for board in boards:
print(f"Compiling {board}...", flush=True)
os.system(f"arduino-cli cache clean");
command = f"arduino-cli compile --fqbn deauther:esp8266:d1_mini --build-properties \"build.extra_flags=-DESP8266 -D{board}\" --output-dir {folder}"
os.system(f"arduino-cli cache clean")
command = f"arduino-cli compile --fqbn deauther:esp8266:generic --build-properties \"build.extra_flags=-DESP8266 -D{board}\" --output-dir {folder}"
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
process.wait()
os.system(f"mv {folder}/esp8266_deauther.ino.bin {folder}/esp8266_deauther_{version}_{board}.bin")
Expand Down

0 comments on commit abf56ca

Please sign in to comment.