Commit graph

14 commits

Author SHA1 Message Date
Dmitry 2281f6318a Remove CR line ends. 2018-07-31 08:45:43 +03:00
Dmitry e98a49a691 Position save included. 2018-07-31 08:45:43 +03:00
Dmitry 06bab70822 Usless read removed. 2018-07-31 08:45:43 +03:00
Dmitry c9872c649e Additional sector position should not be changed at update. 2018-07-31 08:45:43 +03:00
Dmitry 9d609af54c Added check for version after write. 2018-07-31 08:45:43 +03:00
Dmitry f392727abf Additional info about version update included. 2018-07-31 08:45:42 +03:00
Dmitry e834d6fffc CRC check improved. 2018-07-31 08:45:42 +03:00
Dmitry 35842d02ab Calculation for heap usage corrected with workaround.
Fixed problem with multiple mount/unmount for different devices.
Additional check for structure length included into the code.
Remove useless spaces.
Added initialization for reserved memory.
2018-07-31 08:45:42 +03:00
Dmitry f05f3fbde8 Added test for version update from V1 to V2. Problems for tests on host are fixed. Random function changed to esp_random() 2018-07-31 08:45:42 +03:00
Dmitry a6d6c58eca The version of WL component changed from 1 to 2.
WL version 2 mark used sectors as 16 bytes block of bytes with CRC.
This changes required because old version did not worked with encryption.
Additional unit tests are implemented.
2018-07-31 08:45:42 +03:00
Angus Gratton a67d5d89e0 Replace all DOS line endings with Unix
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
Dmitry 7b287c25b1 Bugfix for write size. The write size for encryption have to be rounded to 16 bytes.
A wl_config structure size now ounded to 16.
Flash Emulator updated to work with defined minimum size.
Tests are updated.
2018-03-06 10:26:21 +03:00
Dmitry Yakovlev b36e580756 wear_levelling: fix write and read length for single access was wrong. 2017-07-17 12:00:40 +03:00
Ivan Grokhotkov 52b51df859 add wear_levelling component and example 2017-04-17 11:01:17 +08:00