micropython/drivers/memory
Damien George bdc875e602 drivers/memory/spiflash: Fix bugs in and clean up read/write functions.
mp_spiflash_read had a bug in it where "dest" and "addr" were incremented
twice for a certain special case.  This was fixed, which then allowed the
function to be simplified to reduce code size.

mp_spiflash_write had a bug in it where "src" was not incremented correctly
for the case where the data to be written included the caching buffer as
well as some bytes after this buffer.  This was fixed and the resulting
code simplified.
2018-03-13 14:13:30 +11:00
..
spiflash.c drivers/memory/spiflash: Fix bugs in and clean up read/write functions. 2018-03-13 14:13:30 +11:00
spiflash.h drivers/memory/spiflash: Change to use low-level SPI object not uPy one. 2018-03-10 00:59:43 +11:00