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

17 Commits

Author SHA1 Message Date
Benjamin Valentin
585928f23d drivers/mtd_spi_nor: derive capacity from JEDEC ID
Most manufacturers (Spansion, Micron & ISSI) just encode the capacity
in the second ID byte.

Old Adesto (Atmel) chips use a different scheme here.
2020-06-09 16:09:40 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Vincent Dupont
c077c07017 drivers/mrd_spi_nor: fix read spanning pages 2020-05-06 16:36:29 +02:00
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init 2020-04-21 11:09:40 +02:00
Francisco Molina
8a256eba12
drivers/mtd_spi_nor: return error on invalid manuf id 2020-04-21 11:09:40 +02:00
dc04b86d1b
mtd_spi_nor: Add wait timings to parameters 2020-03-03 09:49:00 +01:00
2dcf65d942
Merge pull request #13332 from bergzand/pr/mtd_spi_nor/params_struct
mtd_spi_nor: Move const params to separate struct
2020-02-26 09:43:18 +01:00
d40015a41a
mtd_spi_nor: Add chip wait timings to debug output 2020-02-25 11:21:20 +01:00
e5fa8921b3
mtd_spi_nor: Move const params to separate struct 2020-02-11 15:55:41 +01:00
Vincent Dupont
f11fac8811 mtd_spi_nor: remove sleep when waiting for write completed 2020-02-05 16:20:01 +01:00
Vincent Dupont
53b3d1af78 mtd_spi_nor: add 4-byte address flash support 2018-05-14 15:05:24 +02:00
Pieter Willemsen
372cd64547 mtd_spi_nor: run uncrustify 2018-03-05 15:54:29 +01:00
Pieter Willemsen
e4055d5cd5 mtd_spi_nor: make thread safe 2018-03-05 15:54:29 +01:00
Vincent Dupont
063a7835c4 driver/mtd_spi_nor: fix erase with unaligned addresses 2018-02-26 12:22:59 +01:00
Vincent Dupont
a02db9c551 drivers/mtd_spi_nor: fix chip erase 2017-11-24 16:48:21 +01:00
8d74212afa drivers/mtd: constify where possible 2017-06-29 22:46:16 +02:00
Joakim Nohlgård
9313d8ec67 mtd_spi_nor: MTD interface driver for SPI NOR flash memory
This is a generic SPI NOR flash driver which can be used with many
different flash chips.
2017-03-29 16:52:07 +02:00