Skip to content

[ln882h] Fix flashing with .bin/raw file#81

Merged
kuba2k2 merged 1 commit intolibretiny-eu:masterfrom
Fumon:fix-ln882h-raw-flashing
Feb 2, 2026
Merged

[ln882h] Fix flashing with .bin/raw file#81
kuba2k2 merged 1 commit intolibretiny-eu:masterfrom
Fumon:fix-ln882h-raw-flashing

Conversation

@Fumon
Copy link
Contributor

@Fumon Fumon commented Jan 20, 2026

stream.getbuffer() is only available on BytesIO, not IO[bytes]. This causes a failure when writing flash when reading from a regular BufferedReader (such as in a raw/.bin file using -f -s)

.read is available on IO[bytes] which BufferedReader and BytesIO both implement.

stream.getbuffer() is only available on BytesIO, not IO[bytes]. This causes a failure when reading from a regular BufferedReader.

.read is available on IO[bytes] which BufferedReader and BytesIO both implement.
@kuba2k2 kuba2k2 merged commit 92c3bec into libretiny-eu:master Feb 2, 2026
1 check failed
kuba2k2 pushed a commit that referenced this pull request Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments