zephyr/tests/drivers/flash_simulator
Andrzej Puzdrowski 428c281bc6 drivers/flash/flash_simulator: fix flash size calculation
Flash size calculation was don with assumption that flash page size
is always 1 KB and flash size was parameterized with such granularity.

This patch correct this bug.

Flash pages number under statistic can't be calculated via preprocessor
anymore - thus are parameterized via Kconfig.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2019-07-17 13:49:26 -07:00
..
src drivers/flash/flash_simulator: fix flash size calculation 2019-07-17 13:49:26 -07:00
CMakeLists.txt tests: drivers: add flash_simulator driver 2019-04-24 13:05:11 -07:00
prj.conf drivers/flash/flash_simulator: Allow unaligned read 2019-05-28 11:24:48 +02:00
testcase.yaml tests: drivers: add flash_simulator driver 2019-04-24 13:05:11 -07:00