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
57e1b46df4
DirectAccess DeviceKey added support for default storage type
2019-01-25 14:29:59 +00:00
Alexander Zilberkant
608c79a207
Remove TARGET prefix from the TARGET_BYPASS_NVSTORE_CHECK and leave it as BYPASS_NVSTORE_CHECK
2019-01-25 14:29:59 +00:00
Yossi Levy
f0d828ce13
Moving DirectAccessDevicekey.h and DirectAccessDevicekey.cpp to direct_access_devicekey sub folder For TFM support
2019-01-25 14:29:59 +00:00
Yossi Levy
8eb1c01d51
Moving KVStore to include sub folder For TFM support
2019-01-25 14:29:59 +00:00
Yossi Levy
f306233d1e
Removing the dependency of TDBStore in SystemStorage.h and NVStore co-existence checkup if compile for target TFM
2019-01-25 14:29:59 +00:00
David Saada
9fb04a957b
Remove unnecessary error prints in FileSystemStore
2019-01-25 14:29:59 +00:00
Yossi Levy
70c0745d2d
removing output parameter from avoid_conflict_nvstore_tdbstore function.
2019-01-14 13:40:41 +00:00
Yossi Levy
e5888feab4
Create runtime error if TDBStore and NVStore are created in internal flash
2019-01-14 13:40:10 +00:00
Alexander Zilberkant
e7b5918d6b
Set "TDB_INTERNAL" default storage for Pelion
...
NUCLEO_F411RE
NUCLEO_F429ZI
UBLOX_EVK_ODIN_W2
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
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
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
David Saada
69d57c8e8d
TDBStore: fix bug in sector blank check for variant sized sectors
2019-01-14 13:06:14 +00:00
Yossi Levy
98f6364e87
Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined.
2019-01-14 13:06:14 +00:00
Yossi Levy
40263b3c5c
fixing FAT mount failure in kvstore FILESYSTEM
2019-01-14 13:06:14 +00:00
Yossi Levy
b7004eb2a3
Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use remove of rbp_number_of_entries from the kvstore configuration. Adding default option for storage_type allowing the system to choose TDB_INTERNAl, TDB_EXTERNAL or FILESYSTEM base on the blockdevice component set in the target board. Adding remarks to kv_config.cpp and break simplify the _get_blockdevice_FLASHIAP function
2019-01-14 13:06:14 +00:00
Yossi Levy
db22ce9b6c
Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use
2019-01-14 13:06:14 +00:00
David Saada
c0226febbc
Fix LTO build failures due to duplicate local types
2018-12-27 22:26:04 -06:00
David Saada
67ba976b30
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
...
- Consider data section in GCC_ARM toolchain
- Consider init_array section in IAR toolchain
- Rename macro to FLASHIAP_APP_ROM_END_ADDR for clarity sake
2018-12-27 22:26:03 -06:00
Amanda Butler
81296b34d0
Edit TDBStore.h
...
Edit file for punctuation and consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler
053212b540
Edit SecureStore.h
...
Edit file for consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler
cafce1018a
Add word to KVMap.h
...
Add missing article for clarity and capitalization.
2018-12-27 22:25:57 -06:00
Amanda Butler
bbea6ed27a
Edit FileSystemStore.h
...
Make minor edits, mostly for consistent tense across documents.
2018-12-27 22:25:57 -06:00
Yossi Levy
31eff13967
Fixing Doxygen descriptions
2018-12-27 22:25:57 -06:00
Yossi Levy
9325ed9a6c
Setting K64F to use KVStore FileSystem configuration
2018-12-27 22:25:56 -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
David Saada
56ab748391
Fix a few bugs in TDBStore and KV config
2018-12-11 16:14:47 -06:00
Oren Cohen
b4a77f6ead
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-11 16:14:45 -06:00
Danny Shavit
53728e45b7
Add a new PSA Internal Trusted Storage APIs
2018-11-25 09:57:22 +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