Commit Graph

21923 Commits (ba3727b4e83c94cc54a182a52217159357f512e8)

Author SHA1 Message Date
Yossi Levy eb7cbc1432 Removing the dependency of TDBStore in SystemStorage.h and NVStore co-existence checkup if compile for target TFM 2019-01-15 10:54:21 +02:00
offirko 5a9db72098 general_block_device test fixed to always erase prior to first program 2019-01-15 10:10:39 +02:00
maclobdell ec3d713291 add qspif as default storage for LPCXpresso546XX 2019-01-14 15:55:30 -06:00
Cruz Monrreal 41ecde9c30
Merge pull request #9371 from 0xc0170/test_travis_master
travis: set hypothesis to v3.88
2019-01-14 10:50:42 -06:00
Martin Kojtal be9f9f7610 travis: set hypothesis to 3.88 version
Update to v4.x breaks tools, will need to be addressed separately.
2019-01-14 16:00:36 +00:00
Martin Kojtal 5212cc6544
Merge pull request #6622 from NXPmicro/Add_KW41Z_Thread
Add nanostack support for KW41Z
2019-01-14 14:00:14 +01:00
Fahim Alavi 5caeaed6db Set target C030-R412M in mbed 2019-01-14 17:34:50 +05:00
Tymoteusz Bloch 18967a88f3 Removed cellular driver L3IP stub 2019-01-14 12:08:41 +01:00
Martin Kojtal ebf3a192e1
Merge pull request #9329 from juhaylinen/sdblockdevice-doc
SDBlockDevice docs update
2019-01-14 10:40:35 +00:00
Veijo Pesonen 02cd9f1884 [ESP8266] adds an error check for data overflow from modem side 2019-01-14 12:22:41 +02:00
Leszek Rusinowicz f294447c25 Moved nextTimeout variable out of critical section in BLE::callDispatcher.
Initialization of Timeout object contains critical section inside constructor. Initialization inside critical section caused assertion failing under "debug" profile.
2019-01-14 11:13:28 +01:00
Kevin Bracey 6f757a5824 LoRAWAN: volatile bool -> atomic_flag
Now we have a proper atomic flag API, use it rather than a volatile
cheat.
2019-01-14 11:59:25 +02: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 23d75653ec
Merge pull request #9341 from SeppoTakalo/flush_esp
Flush ESP8266 serial input buffers after HW reset
2019-01-14 09:04:17 +00:00
Martin Kojtal c5014f4e19
Merge pull request #9324 from kfnta/avoid_mbed_tz_context
Avoid building mbed_tz_context.c for TF-M targets
2019-01-14 08:56:25 +00:00
Martin Kojtal 116e42f840
Merge pull request #9295 from deepikabhavnani/iar_asm
Add missing END to Armv8M IAR assembly files
2019-01-14 08:54:21 +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
Martin Kojtal 58a6c24f6b
Merge pull request #9195 from alzix/patch-1
Enable PSA APIs on Pelion boards
2019-01-14 08:40:06 +00:00
Martin Kojtal 9e940705e4
Merge pull request #9362 from davidsaada/david_bd_test_low_mem
Fix the general block device for better support of low memory boards
2019-01-14 08:35:06 +00:00
Martin Kojtal f4aaebde2f
Merge pull request #9203 from ChazJin/gd32e10x
Add GD32_E103VB as new target
2019-01-14 08:31:49 +00:00
Alexander Zilberkant 763cb4c157 Revert "Enable entropy injection on PSA targets"
mbedtls performs selftest on all entropy sources.
Enable injected source without proper entropy injection causes mbedtls
selftest to fail.

Application code can still enable entropy injection by adding the macros
to mbed_app.json/mbed_lib.json

This reverts commit 8c03e3e60d46da71708c4a0e4dacf46a0179d18d.
2019-01-13 18:30:22 +02:00
Alexander Zilberkant 435d944dd0 fix its_reset test 2019-01-13 18:30:22 +02: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
Alexander Zilberkant 7ad02620ae Enable entropy injection on PSA targets
enable entropy injection on:
- K64F
- K66F
- NUCLEO_F411RE
- NUCLEO_F429ZI
- UBLOX_EVK_ODIN_W2
2019-01-13 18:30:22 +02:00
Alexander Zilberkant eac620d1e9 Add FLASHAIP component 2019-01-13 18:30:21 +02:00
Alexander Zilberkant 7d25dcc6dd Enable PSA APIs on Pelion boards
Add PSA label - enabling PSA APIs support on Pelion boards
- K66F
- K66F, NUCLEO_F429ZI
- NUCLEO_F411RE
- UBLOX_EVK_ODIN_W2
2019-01-13 18:30:21 +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
David Saada 90e4286f2d Remove unnecessary error prints in FileSystemStore 2019-01-13 17:17:55 +02:00
kegilbert dafb01c755 Add get/settimeofday retargets 2019-01-11 14:30:44 -06:00
kegilbert 70b9b753db Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-11 10:22:15 -06:00
Nic Costa 7795e30bce Remove own_oob and peer_oob flags from Nordic PAL
the own_oob and peer_oob flags were not being set to 1 even though
an OOB pairing request was in progress, which therefore prevented
OOB data from being passed down to the softdevice during a OOB
pairing operation, thus causing the OOB pairing process to fail.
2019-01-11 08:54:30 -06:00
Nic Costa 24d793ce5d Fix parameters provided to oob generator function
The function in the Nordic SDK for generating OOB data,
sd_ble_gap_lesc_oob_data_get, requires local LE Secure Connection
P256 Public Keys in {X,Y} format, but was being supplied with
the local secret key.  This caused the generated OOB data to
fail to correspond to the Public Keys, which caused a mismatch
during the OOB pairing phase of the OOB confirmation value by
a remote peer when attempting to verify the OOB data against
the Public Keys, ultimately causing the OOB pairing request to
fail with a Confirm Value Failed (0x04) error.
2019-01-11 08:54:30 -06:00
Nic Costa 55507eaf75 Fix race condition when generating OOB data
The GenericSecurityManager tracks the most recent OOB data generated
by the PAL and the PAL function to generate OOB data is expected to
be asynchronous such that the OOB data is returned via a callback.

There was a race condition on the security manager's oob data variable
because it was cleared (set to all zeros) after calling PAL generate.
The expectation was that the clear operation would occur before the
callback executed, but this is proving to not be the case.  Instead,
the callback is being executed as if it were syncronous with PAL
generate, then PAL generate returns and the oob data is cleared,
thereby losing the generated oob data that was set in the callback.

To fix the issue, clear the oob data variables before calling into
the PAL.
2019-01-11 08:54:30 -06:00
jeromecoutant 889d5dca1a NUCLEO_H743ZI : enable TICKLESS 2019-01-11 15:43:31 +01:00
Veijo Pesonen e83b883e08 [ESP8266] fixes disconnect to check the state from modem
Additionally to internal bookkeeping lets check from the modem
that what is connection state in disconnect. There might be
inconsistencies.
2019-01-11 16:25:26 +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 d92febe700
Merge pull request #9327 from jeromecoutant/PR_IFDEF
STM32: replace missing #ifdef DEVICE_xxx
2019-01-11 14:07:28 +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
Martin Kojtal fd6ceda960
Merge pull request #9323 from jeromecoutant/PR_AST
STM32: astyle check
2019-01-11 14:06:05 +00:00
Martin Kojtal 919dba535b
Merge pull request #9321 from jeromecoutant/PR_QSPI
STM32 : typo error in QSPI
2019-01-11 14:05:51 +00:00
Martin Kojtal 6c7bd19ab2
Merge pull request #9350 from mprse/adapt_linker_scripts_new_gb_targets
GD32_F450ZI: Support boot stack size configuration option
2019-01-11 13:56:22 +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
Martin Kojtal c3077d2053
Merge pull request #9346 from cmonr/astyle_in_branch-fix
Travis CI: Corrected astyle job behavior with non-master base branch PRs
2019-01-11 13:06:29 +00:00
Przemyslaw Stekiel 8cc4234181 mbed_boot_gcc_arm.c: remove redundant compiler check 2019-01-11 12:59:53 +01:00
Przemyslaw Stekiel bfcdb7dd3c mbed_boot_arm_std.c: remove redundant compiler check
Check is not needed since this file is exclusive for ARM compiler.
It causes problems on ARMC6.
2019-01-11 12:59:21 +01:00
c_jin 4d9c4343a0 Support boot stack size configuration option 2019-01-11 18:04:56 +08: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