Benjamin Valentin
|
d525807598
|
unittests/tests-mtd: expect mtd_write() to always succeed
The MTD layer now takes care of splitting up writes, so it
should always work (as long as the destination address is
within the memory region)
|
2023-12-13 16:50:41 +01:00 |
|
Gunar Schorcht
|
cfc2232f11
|
tests/unittests: fix MTD unit test compilation
|
2023-12-07 15:32:49 +01:00 |
|
Gunar Schorcht
|
0cdcac96bc
|
tests/unittests/test-mtd: use emulated MTD as test mockup
|
2023-04-12 06:27:12 +02:00 |
|
chrysn
|
dc7bc9f854
|
Merge pull request #17683 from chrysn-pull-requests/mtd-granularity
mtd: Introduce write granularity
|
2022-05-20 11:52:03 +02:00 |
|
Benjamin Valentin
|
9d1dd98a24
|
unittests/tests-mtd: prefix local functions
This avoids a conflict with the functions from unistd.h
|
2022-05-03 00:53:34 +02:00 |
|
chrysn
|
38d0ec52d0
|
tests: Set a MTD write size of 1 wherever an MTD is mocked
|
2022-03-31 13:56:30 +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
|
49358e2763
|
unittests/tests-mtd: add a test to check read spanning pages
|
2020-05-06 16:36:29 +02:00 |
|
Vincent Dupont
|
f04ecee9f6
|
mtd_native: fix overlapping pages write check
|
2018-02-26 15:32:06 +01:00 |
|
Vincent Dupont
|
e2d392629b
|
unittests/tests-mtd: disable AND flash test with dummy flash
|
2017-05-02 09:59:14 +02:00 |
|
Joakim Nohlgård
|
d1ea50a600
|
mtd: Redefine MTD_0 as a mtd_dev_t *
|
2017-03-28 17:00:39 +02:00 |
|
Joakim Nohlgård
|
9782be1d91
|
unittests: add unit test for mtd-vfs
|
2017-03-16 18:19:05 +01:00 |
|
Vincent Dupont
|
81149f1843
|
unittests: add mtd unittests
|
2017-03-16 11:24:46 +01:00 |
|