mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fde3026312
There is no difference between 4k erase and sector erase. But sector erase would previously do `.block_erase` which would not erase a sector (4k) but a whole block (64k). Fortunately all boards declare `SPI_NOR_F_SECT_4K` and all file systems don't try to erase anything smaller, so this was never triggered. Add an `assert(0)` to crash instead of corrupting data. |
||
---|---|---|
.. | ||
dist | ||
include | ||
board.c | ||
doc.txt | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include |