mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
When writing to flash, the source buffer only needs to be read-only, not writable. This fix allows passing in `bytes` and other read-only buffer objects. Signed-off-by: Damien George <damien@micropython.org>