OVMS3-idf/components/nvs_flash/test
Ivan Grokhotkov 2c5340d47e spi_flash: change argument types
spi_flash_read and spi_flash_write currently have a limitation that source and destination must be word-aligned.
This can be fixed by adding code paths for various unaligned scenarios, but function signatures also need to be adjusted.
As a first step (since we are pre-1.0 and can still change function signatures) alignment checks are added, and pointer types are relaxed to uint8_t.
Later we will add handling of unaligned operations.
This change also introduces spi_flash_erase_range and spi_flash_get_chip_size functions.

We probably need something like spi_flash_chip_size_detect which will detect actual chip size.
This is to allow single application binary to be used on a variety of boards and modules.
2016-10-27 17:58:42 +08:00
..
catch.hpp Initial public version 2016-08-17 23:08:22 +08:00
crc.cpp Initial public version 2016-08-17 23:08:22 +08:00
crc.h Initial public version 2016-08-17 23:08:22 +08:00
main.cpp Initial public version 2016-08-17 23:08:22 +08:00
Makefile components/nvs: maintain item hash list at page level 2016-09-21 18:02:52 +08:00
sdkconfig.h components/nvs: fix build, use log library instead of printf 2016-09-23 09:00:28 +08:00
spi_flash_emulation.cpp spi_flash: change argument types 2016-10-27 17:58:42 +08:00
spi_flash_emulation.h spi_flash: change argument types 2016-10-27 17:58:42 +08:00
test_compressed_enum_table.cpp Initial public version 2016-08-17 23:08:22 +08:00
test_intrusive_list.cpp components/nvs: strlcpy is not available on Linux, replace with strncpy and terminate strings explicitly 2016-08-23 15:14:13 +08:00
test_nvs.cpp nvs: Remove flash layout arguments from nvs_init() 2016-09-27 13:28:45 +10:00
test_spi_flash_emulation.cpp spi_flash: change argument types 2016-10-27 17:58:42 +08:00