Hello Everyone!!
I have tried loading firmware into the PYBV11 with no success!!
Please refer the screenshot
What could be the possible cause?
Thanks in advance!!
Unable to build latest firmware for PYBV11
Re: Unable to build latest firmware for PYBV11
This is caused by a bug recently introduced into pydfu.py when run under Python 2.7. I just subitted a PR: https://github.com/micropython/micropython/pull/4384
The simplest way to fix this until that PR lands is to edit the tools/pydfu.py file and make the same one-line change. Around line 88 change bytes to bytearray:
https://github.com/micropython/micropyt ... 9e0bb0c8cf
The simplest way to fix this until that PR lands is to edit the tools/pydfu.py file and make the same one-line change. Around line 88 change bytes to bytearray:
https://github.com/micropython/micropyt ... 9e0bb0c8cf
Re: Unable to build latest firmware for PYBV11
Hi Dave,
Thanks for the quick reply there!!
I don't see any such thing in line number 88. This is in "pydfu.py"" I have both Python2.7.10 as well as python 3.7.2rc1 installed in my mac book. Would this be impacting the build?
If so , should I uninstall the older version?
Thanks in advance!!
Thanks for the quick reply there!!
I don't see any such thing in line number 88. This is in "pydfu.py"" I have both Python2.7.10 as well as python 3.7.2rc1 installed in my mac book. Would this be impacting the build?
If so , should I uninstall the older version?
Thanks in advance!!
lnsri22
Re: Unable to build latest firmware for PYBV11
You must be looking at an old version. This is the line (already fixed) from the latest master:
https://github.com/micropython/micropyt ... dfu.py#L88
https://github.com/micropython/micropyt ... dfu.py#L88