Yossi Levy
492e3ebd96
Fixing a bug in FileSystemStore to get the folder path from kv_config in FILESYSTEM and default configuration
2019-01-25 14:29:59 +00:00
offirko
7ae8e94fbf
general_block_device test fixed to always erase prior to first program
2019-01-25 14:29:59 +00:00
offirko
57e1b46df4
DirectAccess DeviceKey added support for default storage type
2019-01-25 14:29:59 +00:00
Cruz Monrreal
a2220f39a9
Merge pull request #9384 from davidsaada/david_mbr_erase_start
...
MBRBlockDevice: When partitioning, clear the rest of first erase unit
2019-01-15 22:49:56 -06:00
David Saada
e57c9f35a8
Fix the general block device to support better low memory boards
...
In addition, fix prints and warnings.
2019-01-14 13:06:14 +00:00
David Saada
5b281d7301
Remove kvstore's mbed_lib.json file (not relevant any more)
...
In addition, use the NOT_SUPPORTED directive to skip the tests.
2019-01-14 13:06:14 +00:00
Amir Cohen
7bb8345b65
Kvstore tests api change to run on K64F only
...
Change KVStore API tests to run only on K64F, these tests check the KVStore functionality without actually testing the board's storage,
Thus they should produce the same results for each device they run on.
K64F was selected for no special technical reason but only because of it being available and convenient to use.
2019-01-14 13:06:14 +00:00
Yossi Levy
16a4e34d2c
The direct_access_devicekey test should not run if there is no component flashiap block device in the target
2019-01-14 13:06:14 +00:00
offirko
a1788e929d
Added utility function to help locate expected internal flash tdbstore position. (Supporting FILESYSTEM and TDB_EXTERNAL configuration only)
2019-01-14 13:06:14 +00:00
offirko
879d234b72
Updated test to consider tdb_internal non default configuration as well
2019-01-14 13:06:14 +00:00
offirko
7136c78bff
Adding low code size tool for direct access to Devicekey. This enables application with code size restrictions to access devicekey directly based on address in internal flash without kvconfig overhead
2019-01-14 13:06:14 +00:00
David Saada
d85fda724e
TDBStore: Perform garbage collection on failed writes
...
Partial writes may turn storage unusable. GC clears this scenario.
2019-01-14 13:06:14 +00:00
Yossi Levy
65f9e7c9a8
astyle fix
2019-01-14 13:06:14 +00:00
Yossi Levy
8f2b5efe0d
Add get_type method to block devices.
2019-01-14 13:06:14 +00:00
David Saada
d6f22193ff
Adjust FAT FS tests to low memory boards
...
This is achieved by checking whether the board can allocate a certain memory
chunk (threshold) and skipping the test if it can't.
This should prevent these boards from failing in CI.
2018-12-27 22:26:02 -06:00
Amir Cohen
b261162c9b
Remove dead code
2018-12-27 22:26:00 -06:00
Amir Cohen
79103d25fd
Improve tests by reducing kvstore reset occurrences
2018-12-27 22:26:00 -06:00
David Saada
04377fa88e
Fix a few SecureStore issues (following preliminary security review)
...
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-11 16:14:50 -06:00
Nir Sonnenschein
0283bb84e4
Merge pull request #8667 from davidsaada/kvstore_integration
...
KVStore & derived classes: design docs, implementation & configuration
2018-11-25 07:30:53 +02:00
David Saada
e9c25e23a5
KVStore & derived classes: design docs, implementation & configuration
...
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00
Amir Cohen
cf846151eb
Add block device small data size test
2018-11-19 14:49:28 +02:00
Cruz Monrreal II
0e4f843022
Merge branch 'david_buffered_bd_perf' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:11 -06:00
David Saada
50836e76a1
Improve the efficiency of BufferedBlockDevice
2018-11-15 11:52:22 +02:00
Martin Kojtal
a4500e86f5
blockdevice test: fix coding style
2018-11-15 07:20:09 +00:00
Martin Kojtal
e54ce88bca
storage: fix astyle coding style
2018-11-07 08:56:35 +00:00
Jaakko Korhonen
c3e0e3e75d
Add generic BlockDevice test for get_erase_value().
2018-11-01 14:51:07 +02:00
Jaakko Korhonen
ebef79a05c
Add generic BlockDevice test for contiguous erase/write/read.
2018-11-01 14:51:07 +02:00
Amir Cohen
54d2f66aec
Fix no block device handling
2018-10-23 16:41:54 +03:00
Amir Cohen
7962e0c525
Fix build issues
2018-10-23 10:54:58 +03:00
Amanda Butler
8bca678ed8
Copy edit README.md
...
Copy edit file, mostly for active voice.
2018-10-23 10:54:58 +03:00
Amir Cohen
71431437fd
Fix typos
2018-10-23 10:54:58 +03:00
Amir Cohen
5a2e7e3367
Fix minor issues
2018-10-23 10:54:58 +03:00
Amir Cohen
1b45d00bde
features/storage/TESTS/blockdevice/general_block_device/README.md
2018-10-23 10:54:58 +03:00
Amir Cohen
7d7a553836
Add general block device tests
2018-10-23 10:54:58 +03:00
Deepika
9db31d299b
Resolve build issues in test
...
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
Yossi Levy
473f8d3f94
Fixing the order of component if more than one is included for a target.
...
Revert deprecation of FlashIAPBlockDevice 2 argument constructor has this was a breaking change. This follows a similar change in the external flashiap-driver repo.
2018-10-10 12:32:08 +03:00
Aashish chaddha
887aafe321
skip the flashsim test if enough memory cannot be allocated for it.
2018-09-18 11:38:39 -05:00
Kevin Bracey
fd4b3879be
Change default filesystem name to /default
...
"/fs" is a tautology - not a good name for the default filing system, as
whereever we use it, we know we're specifying a filing system. Rename to
"/default".
2018-09-05 14:18:28 +03:00
Yossi Levy
c1eb141def
Changing general_filesystem test to be more efficient. now format is done once at the beginning and once at the end while every test clean its resource before the next test. Testing time on SD should be drop form 10 minutes plus to less than 1 minute
2018-08-31 18:33:08 +03:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00