Yossi Levy
130cab4bb4
Removing FLASHIAP support form general_filesystem tests as it is marked as skip anyway
2019-05-02 15:40:48 +03:00
Amir Cohen
ba6748fe41
Improve general Block Device tests
...
Fixing all rand issues, aligning erase addresses, moving prints to debug mode.
2019-03-26 14:49:57 +02:00
Michael Schwarcz
14aa347040
TF-M config: Add max_ns_thread_count parameter
2019-03-07 12:18:19 +02:00
Cruz Monrreal
26920fe0cc
Merge pull request #9931 from offirko/offir_nxp
...
Reduce number of threads in block device test
2019-03-05 22:48:10 -06:00
David Saada
3c14dd4d6e
Fix test skip message to not enough heap
2019-03-05 22:42:46 +02:00
offirko
4075d6ee49
Add pre test resource verifications
2019-03-05 22:42:45 +02:00
offirko
e41118796a
Reduce number of threades in block device test
...
In addition, prevent FS tests from running on internal flash,
due to the fact that file system on internal flash is not part of
our offering (TDBStore should be used there instead).
2019-03-05 22:40:24 +02:00
David Saada
eb29af5f8a
Fix direct access to device key test for small erase/program ratio
...
This commit fixes the failure in the "Direct access to device key" test,
when working with internal flash components, whose erase size to program
size ratio is small. In such cases, the last two sectors are not large
enough to store the device key.
2019-03-05 11:32:29 +02:00
Amir Cohen
5c7f6cb755
Merge SPIF & QSPIF components test to general block device tests
...
The SPIF and QPIF components tests are fully merged into general block device tests and were deleted
2019-02-26 10:28:45 -06:00
Amir Cohen
b8fed58f12
Modifing general block device tests doe to targets enhancement
...
Due to targets enhancement some boards failed the general block device tests for flashiap component,
The fails were due to boards containing inconsistent sector sizes.
The tests were modified but should be improved to address the problem.
Rand() function issues were fixed.
2019-02-26 09:24:09 -06:00
Deepika
d2e11966fc
Revert "rand() by default does increment of 1, randomizing more"
...
This reverts commit f7a6d254f6
.
2019-02-26 09:21:19 -06:00
Deepika
f7a6d254f6
rand() by default does increment of 1, randomizing more
...
Random number generation in case of IAR 8, requires TLS support.
Thread local storage is not part of Mbed OS, test is updated to have random
numbers sparse, but in future random number creation should be moved to main
thread, or use some other logic for randomization instead of rand() call.
2019-02-22 16:44:54 -06:00
offirko
4bbc2cdc5b
Fix general block device test to ensure unique block address per test
2019-02-10 10:38:46 +02:00
Amir Cohen
a07f0fafaa
asyle issues
2019-01-31 14:40:33 +02:00
Amir Cohen
f1f60bf341
Modify general blockdevice tests to run all storage components
...
All tests will run for each storage component available on device excapt for test_get_type_functionality that will run once on the default blockdevice.
2019-01-31 14:36:37 +02:00
Yossi Levy
5de92ca4c6
Fixing a bug in FileSystemStore to get the folder path from kv_config in FILESYSTEM and default configuration
2019-01-21 11:19:14 +02:00
Martin Kojtal
cee814dc29
Merge pull request #9377 from offirko/offir_general_block_device_test
...
test: general_block_device fix to always erase prior the first program
2019-01-18 11:48:41 +01:00
offirko
e996b7f9ce
DirectAccess DeviceKey added support for default storage type
2019-01-17 10:58:55 -06:00
David Saada
af23e3f489
MBRBlockDevice: When partitioning, clear the rest of first erase unit
...
Make sure all the parts of the first erase unit, that are not part of the
partition table are clear.
2019-01-15 16:43:03 +02:00
offirko
5a9db72098
general_block_device test fixed to always erase prior to first program
2019-01-15 10:10:39 +02:00
David Saada
d6382bb114
Fix the general block device to support better low memory boards
...
In addition, fix prints and warnings.
2019-01-13 18:17:39 +02:00
Martin Kojtal
d20b59153a
Merge pull request #9244 from theamirocohen/kvstore_tests_api
...
Kvstore tests api change to run on K64F only
2019-01-10 13:48:31 +00:00
David Saada
5d1985019f
Remove kvstore's mbed_lib.json file (not relevant any more)
...
In addition, use the NOT_SUPPORTED directive to skip the tests.
2019-01-09 16:25:13 +02:00
Amir Cohen
9a5841ad00
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-09 14:52:11 +02:00
Yossi Levy
423c4fbc18
The direct_access_devicekey test should not run if there is no component flashiap block device in the target
2019-01-09 13:48:25 +02:00
offirko
6592e85c13
Added utility function to help locate expected internal flash tdbstore position.
...
(Supporting FILESYSTEM and TDB_EXTERNAL configuration only)
2019-01-09 13:48:25 +02:00
offirko
bb0d1afa9a
Updated test to consider tdb_internal non default configuration as well
2019-01-09 13:48:25 +02:00
offirko
945579378e
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-09 13:48:24 +02:00
Martin Kojtal
5a5ad8d26d
Merge pull request #9200 from davidsaada/david_tdbstore_gc_if_corrupt
...
TDBStore: Perform garbage collection on failed writes
2019-01-08 11:55:31 +00:00
David Saada
72f6f6c92f
TDBStore: Perform garbage collection on failed writes
...
Partial writes may turn storage unusable. GC clears this scenario.
2019-01-06 15:03:40 +02:00
Yossi Levy
9590441288
astyle fix
2018-12-23 11:03:45 +02:00
Yossi Levy
1d71fb1c9f
Add get_type method to block devices.
2018-12-23 11:03:45 +02:00
Cruz Monrreal
2697913773
Merge pull request #8990 from davidsaada/david_fat_tests_low_mem
...
Adjust FAT FS tests to low memory boards
2018-12-17 14:44:38 -06:00
David Saada
713b4704f2
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-13 15:26:31 +02:00
Amir Cohen
4fe7834928
Remove dead code
2018-12-13 13:34:08 +02:00
Amir Cohen
901a493299
Improve tests by reducing kvstore reset occurrences
2018-12-13 11:47:25 +02:00
David Saada
cb7f68e992
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-10 23:34:57 +02: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