Vincent Coubard
a10a10a3d7
BLE - Nordic: Release crypto cell when not in use.
...
Previously, the CryptoToolbox was allocated once as part of the security manager.
This was inneficient memory wise as it is only use to prepare key at initialization
and when we need to compute shared keys.
This was also inneficient power consumption wise as the Crypto cell was kept enabled even
when it wasn't used.
This fix creates a CryptoToolbox whenever it is needed and release it once it has fulfilled its
purpose. Note that CryptoToolbox allocation happens on the heap as mbed tls data structure are huge
and there's an high risk of crushing the stack.
2019-01-14 16:56:07 +00:00
Martin Kojtal
9d4db2b0ea
Merge pull request #9332 from jarlamsa/ble_doxygen_cleanup
...
Update and cleanup BLE.h doxygen
2019-01-14 09:43:16 +00:00
Martin Kojtal
601e2c3dba
Merge pull request #9355 from sbutcher-arm/mbedtls-importer-repo-param
...
Parameterise the repo used in the Mbed TLS importer script
2019-01-14 08:52:34 +00:00
Martin Kojtal
7a5192f969
Merge pull request #9330 from hasnainvirk/doxy_loraradio
...
Doxygen update for LoRaRadio class
2019-01-14 08:44:37 +00:00
Alexander Zilberkant
454ae256d4
Set "TDB_INTERNAL" default storage for Pelion
...
NUCLEO_F411RE
NUCLEO_F429ZI
UBLOX_EVK_ODIN_W2
2019-01-13 18:30:22 +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
307bdd7363
Merge pull request #9305 from davidsaada/david_littlefs_fatfs_doxy_fix
...
Minor Doxygen fixes for all file system classes
2019-01-11 14:07:51 +00:00
Martin Kojtal
adeb5be670
Merge pull request #9334 from yossi2le/yossi_write-a-thon2
...
Doxygen fixes in block devices
2019-01-11 14:06:50 +00:00
Simon Butcher
7bf33f01f9
Parameterise repo used in Mbed TLS importer script
...
This commit makes the repo used to import new Mbed TLS versions into Mbed OS
a parameter, to allow CI scripts (and any other script or users) to specify
specific repos to use for testing.
2019-01-11 13:51:19 +00:00
Cruz Monrreal
fd04d25e52
Fixed single space that astyle caught
2019-01-11 11:31:42 +02:00
Mel W
701bb055a2
Writer review
...
Grammatical changes, passive -> active in some places, and future -> present.
2019-01-11 11:31:22 +02:00
Hasnain Virk
8ed521e7ed
Doxygen update for LoRaRadio class
...
Added more documentation to the data structures and corrected the
inclusion of this class to the correct class hierarchy.
2019-01-11 11:29:57 +02:00
Cruz Monrreal
12980f4acd
Merge pull request #9232 from ChazJin/gd32f450
...
Add GD32_F450ZI as new target
2019-01-10 16:07:33 -06:00
Guy Wild
6954c396fb
Update BlockDevice.h
2019-01-10 16:38:00 +02:00
Jarno Lamsa
d9e24b25e4
Update and cleanup BLE.h doxygen
2019-01-10 16:12:56 +02:00
Yossi Levy
51168ee840
Merge branch 'yossi_write-a-thon2' of github.com:yossi2le/mbed-os into yossi_write-a-thon2
2019-01-10 15:55:08 +02:00
Mel Weed
10662582d1
minor editorial tweaks
...
partition's->partition
2019-01-10 15:53:59 +02:00
Yossi Levy
73ac904ef9
Doxygen changes to ProfilingBlockDevice and SlicingBlockDevice.
2019-01-10 15:53:49 +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
Yossi Levy
7dde6773f9
Some Doxygen fixes in MBRBlockDevice and BlockDevice
2019-01-10 15:10:47 +02:00
David Saada
3c7924ac9c
Minor Doxygen fixes for all file system classes
...
- Remove Doxygen generation on protected functions
- Minor description fixes
2019-01-10 15:09:52 +02:00
Cruz Monrreal
cb4d4288c4
Merge pull request #9269 from heejungPark/master
...
SDT64B: Add TARGET_SDT64B, a bootloader file on SDT64B
2019-01-10 00:17:10 -06:00
Cruz Monrreal
d6c014c20d
Merge pull request #9215 from offirko/offir_bootloader_get-device-key
...
Direct access to device key
2019-01-10 00:14:14 -06: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
Martin Kojtal
65729d6800
Merge pull request #9278 from boomer41/master
...
DeviceKey: [Security Fix] Generated ROT-key is still used when TRNG fails
2019-01-09 13:09:01 +00: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
c_jin
be65ebd038
add SPDX indentifier, modify 450zi.icf file and static definition in us_ticker.c
2019-01-09 19:03:33 +08:00
c_jin
5a1108e742
Add GD32_F450ZI as new target
2019-01-09 19:03:33 +08:00
Martin Kojtal
cc9562e0a5
Merge pull request #9136 from yossi2le/yossi_tdbstore_nvstore_co_exist
...
TDBStore and NVStore should create an error if co exist.
2019-01-08 12:02:37 +00: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
Martin Kojtal
42fee4502d
Merge pull request #9241 from davidsaada/david_tdbstore_variant_erase_unit_fix
...
TDBStore: fix bug in sector blank check for variant sized sectors
2019-01-08 09:52:15 +00:00
Martin Kojtal
e6efad1aee
Merge pull request #9271 from KariHaapalehto/fix_error_case_trace
...
Correcting the error-case trace from mesh-api interfaces
2019-01-08 09:51:02 +00:00
Martin Kojtal
b833bbde78
Merge pull request #9237 from yossi2le/yossi_remove_num_entreies
...
Refactoring and fixing some issues in KVStore configuration.
2019-01-08 09:48:26 +00:00
Stephan Brunner
9d8835741b
Fix security bug in DeviceKey
2019-01-07 18:04:33 +01:00
Martin Kojtal
17b0d4e295
Merge pull request #9152 from jarvte/check_attach_status_stm
...
Cellular: fix state machine to check network attach
2019-01-07 16:37:12 +00:00
Yossi Levy
71afcf6c40
Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined.
2019-01-07 16:50:06 +02:00
Martin Kojtal
0eabafa551
Merge pull request #9135 from yossi2le/yossi_get_type_for_bd
...
Get type for BlockDevice
2019-01-07 12:26:29 +00:00
Martin Kojtal
4ec7dd722d
Merge pull request #9251 from hasnainvirk/randomizing_join_retrial
...
LoRaWAN: Randomizing backoff for Join process
2019-01-07 10:24:30 +00:00
Kari Haapalehto
7068e456dd
Correcting the error-case trace from mesh-api interfaces
2019-01-07 10:48:46 +02:00
heejungPark
4f3c50b87e
Added TARGET_SDT64B, a bootloader file on SDT64B
2019-01-07 10:52:34 +09: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
Cruz Monrreal
54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
...
mbed.h includes removed
2019-01-04 10:27:30 -06:00
Donatien Garnier
9dae672ac0
Fixes for features/FEATURE_BLE/ble/services/EddystoneConfigService.h
2019-01-04 09:54:14 +00:00
Donatien Garnier
bc2bd89f83
Fixes for features/FEATURE_BLE/ble/services/EddystoneService.h
2019-01-04 09:50:24 +00:00
Martin Kojtal
5a2469da87
Merge pull request #9183 from SeppoTakalo/lwip_tcp_timeout
...
Allow LwIP TCP retransmissions to be configured and tune those smaller.
2019-01-04 08:44:24 +00:00
Martin Kojtal
0f7381d436
Merge pull request #9058 from pan-/fix-scan-timeout
...
BLE: suppress scan timeout if we disabled scanning
2019-01-04 08:41:36 +00:00