1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/mulle
Benjamin Valentin fde3026312 drivers/mtd_spi_nor: prevent data corruption on 'sector erase'
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.
2020-10-26 13:48:26 +01:00
..
dist boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
include remove XTIMER_OVERHEAD 2020-01-10 13:22:11 -08:00
board.c drivers/mtd_spi_nor: prevent data corruption on 'sector erase' 2020-10-26 13:48:26 +01:00
doc.txt boards/mulle: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Kconfig boards/mulle: Add Kconfig symbols 2020-07-02 14:41:42 +02:00
Makefile boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Makefile.dep boards: remove duplicate gnrc_netdev_default from Makefile.dep 2020-05-05 09:58:45 +02:00
Makefile.features boards/mulle: move CPU/CPU_MODEL definiton to Makefile.features 2019-09-24 17:29:37 +02:00
Makefile.include boards*: fix position of openocd variable definitions 2020-04-07 11:38:53 +02:00