Marian Buschsieweke
86fdbd7054
core/lib: Add macros/utils.h header
...
The macros CONCAT(), MIN(), and MAX() are defined over and over again in
RIOT's code base. This de-duplicates the code by moving the macros to a
common place.
2023-01-07 09:47:44 +01:00
Benjamin Valentin
53f891e604
tests/mtd_mapper: don't set device properites for regions
2022-06-03 00:22:06 +02:00
chrysn
52ea93ef03
drivers/mtd_mapper: Add write_size
2022-03-31 10:58:52 +02:00
Jue
347152b128
tests/mtd_mapper: add tests for the read_page and write_page backend
2022-03-26 14:30:42 +01:00
Jue
80305ade1f
tests/mtd_mapper: clear fake-memory for every test
2022-03-25 18:32:07 +01:00
Gerson Fernando Budke
4a9f0efb6d
boards: introduce atmega328p-xplained-mini
...
Add ATmega328P Xplained Mini board. The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync
2021-01-20 17:36:14 +01:00
Leandro Lanzieri
20c5552920
tests: add Kconfig configuration files for multiple driver tests
...
Configurations for the following applications have been added:
l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
Benjamin Valentin
0c36a57e4e
tests: add samd10-xmini to Makefile.ci
2020-12-11 18:33:31 +01:00
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