dad5ca3276
Merge pull request #14953 from benpicco/drivers/mtd_mapper-pagewise
...
mtd_mapper: implement pagewise functions
2020-11-17 11:46:52 +01:00
Benjamin Valentin
5d3de413b3
tests/mtd_mapper: implement pagewise functions
2020-11-05 18:17:54 +01:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit
2020-10-15 18:52:51 +02:00
Leandro Lanzieri
b897637dba
tests: remove esp32-wroom-32 from blacklist of mtd using tests
...
This reverts commit d59fd84bff
.
2020-10-09 13:29:55 +02:00
Benjamin Valentin
69a7eb5efa
tests: add stk3200 to Makefile.ci
2020-10-06 16:43:47 +02:00
d59fd84bff
tests: blacklist mtd using tests for esp32-wroom-32
2020-09-30 13:02:31 +02:00
Benjamin Valentin
81b07895af
mtd_mapper: count offset in sectors
...
The offset of MTD regions must be aligned with erase sectors.
So in order not to waste address space, avoid misconfiguration and
eventually support storage media > 4 GiB, give the offset in sectors
instead of bytes.
2020-05-12 12:02:05 +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
e9af310159
tests: use check_unittests func from testrunner
2020-03-19 10:39:34 +01:00
d2c3362c88
mtd_mapper: add test
2020-03-04 10:47:54 +01:00