Merge branch 'mrbeam' of https://github.com/mrbeam/OctoPrint into mrbeam
This commit is contained in:
commit
e3f44df478
2 changed files with 3 additions and 1 deletions
|
|
@ -885,6 +885,8 @@ class MachineCom(object):
|
|||
pathToGrblHex = cwd + "/../grbl/grbl.hex"
|
||||
import subprocess
|
||||
|
||||
# TODO check if avrdude is installed.
|
||||
# TODO log in logfile as well, not only to the serial monitor (use self._logger.info()... )
|
||||
params = ["avrdude", "-patmega328p", "-carduino", "-b" + str(self._baudrate), "-P" + str(self._port), "-D", "-Uflash:w:" + pathToGrblHex]
|
||||
returnCode = subprocess.call(params)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue