BOSSA icon indicating copy to clipboard operation
BOSSA copied to clipboard

Fix MacOS write error caused by unflushed buffer

Open kaysievers opened this issue 4 years ago • 4 comments

This replaces the current sleep() with the operating system's flush() call to write out the buffer.

kaysievers avatar Jan 13 '21 00:01 kaysievers

I can confirm this helps and works on macOS 11.1

mike-kfed avatar Feb 01 '21 18:02 mike-kfed

It also improves operations' speed in my Debian Testing

LumitoLuma avatar Jun 25 '21 11:06 LumitoLuma

Any news on merging this?

@kaysievers just a nitpick you could add a commit summary describing the issues of failed flashing attempts.

lynxis avatar Nov 08 '21 20:11 lynxis

I could confirm that there is macos upload issue with bossac 1.9.1 . We have user report that we have to roll back to bossac 1.8

https://forums.adafruit.com/viewtopic.php?f=19&t=187831 https://forums.adafruit.com/viewtopic.php?f=57&t=187924

hathach avatar Feb 06 '22 06:02 hathach