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> |
||
|---|---|---|
| .. | ||
| flashbdev.c | ||
| flashbdev.h | ||
| modnrf.c | ||
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> |
||
|---|---|---|
| .. | ||
| flashbdev.c | ||
| flashbdev.h | ||
| modnrf.c | ||