micropython/tools
Andrew Leech a2703649ea tools/pydfu: Workaround stdio flush error on Windows with Python 3.6.
There appears to be an issue on Windows with CPython >= 3.6,
sys.stdout.flush() raises an exception:

    OSError: [WinError 87] The parameter is incorrect

It works fine to just catch and ignore the error on the flush line.  Tested
on Windows 10 x64 1803 (Build 17134.228), Python 3.6.4 amd64.
2018-09-21 11:57:24 +10:00
..
.gitattributes
.gitignore
bootstrap_upip.sh
build-stm-latest.sh
cc1
check_code_size.sh
codestats.sh
dfu.py
file2h.py
gen-changelog.sh
gen-cpydiff.py
gendoc.py
insert-usb-ids.py
make-frozen.py
mpy_bin2res.py
mpy_cross_all.py
mpy-tool.py
pyboard.py
pydfu.py
tinytest-codegen.py
upip_utarfile.py
upip.py