1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

mulle: add erase timings to mtd_spi_nor instance

This commit is contained in:
Koen Zandberg 2020-02-10 22:29:08 +01:00
parent dc04b86d1b
commit dcdaf8a2ab
No known key found for this signature in database
GPG Key ID: 0E63411F8FCA8247

View File

@ -50,6 +50,10 @@ static devfs_t mulle_nvram_devfs = {
static const mtd_spi_nor_params_t mulle_nor_params = {
.opcode = &mtd_spi_nor_opcode_default,
.wait_chip_erase = 16LU * US_PER_SEC,
.wait_sector_erase = 40LU * US_PER_MS,
.wait_32k_erase = 20LU * US_PER_MS,
.wait_4k_erase = 10LU * US_PER_MS,
.spi = MULLE_NOR_SPI_DEV,
.cs = MULLE_NOR_SPI_CS,
.addr_width = 3,