Commit Graph

21495 Commits (37ab6ecce2994e11b31c636ee39b76a2545dad8d)

Author SHA1 Message Date
Seppo Takalo 37ab6ecce2 Allow NSAPI_ERROR_UNSUPPORTED from Socket::setsockopt() 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm fa930586a7 error when there is no handler 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm 5077d6faaf add missing null checks 2019-01-25 14:29:59 +00:00
jeromecoutant 9a04abbb23 Netsocket DNS test: increase timeout value 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm 4aca75aecb fix truncation 2019-01-25 14:29:59 +00:00
Fahim Alavi 7aa3f4855e PB_1 is not connected to D4 in R412M above 2019-01-25 14:29:59 +00:00
jeromecoutant bb5e45625a FLASH test: skip test if test region overlaps code 2019-01-25 14:29:59 +00:00
Martin Kojtal a08c3af82b STM32H743ZI: iar removal as not supported in v7.x
Fixes #9426
2019-01-25 14:29:59 +00:00
Naveen Kaje 1133a65b48 tools: build_api: remove redundant initialization and fix spelling 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
Christopher Haster 7059d44c57 Extended mount to check all metadata-pairs
The most common issue with using littlefs in mbed-os is when users
change from littlefs->FAT->littlefs (or with MBR or similar). When this
corrupts the superblock, littlefs tries to fall back to the backup
superblock. However, at this point in the time the old superblock may be
very out-of-date and pointing to an incorrect filesystem.

There's no complete solution to a malicious modification of the
filesystem (short of checking all metadata+data, a very expensive
operation), but we can at least expand our validation to all of the
metadata for the filesystem. This at least catches the common issues
with changing between different filesystems.
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
Bence Kaposzta 70569fa5d6 Fixes typos in SMSC9220 Ethernet driver
Change-Id: I44a12ec1c57a926dadee81df1b84bd531d5cfccb
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-01-25 14:29:59 +00:00
Amanda Butler b824172500 Clarify addition to CONFIGURATION.md
Rephrase for clarity.
2019-01-25 14:29:59 +00:00
shilei.yu 04fb1ecbe5 open hal lib source 2019-01-25 14:29:59 +00:00
Michal Paszta c92dac82fe TCP/UDP greentea tests refactoring and cleanup 2019-01-25 14:29:59 +00:00
Veijo Pesonen 44696009bd adds an error check for data overflow from modem side 2019-01-25 14:29:59 +00:00
Nic Costa 3b99566226 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-25 14:29:59 +00:00
Nic Costa 09bd512da8 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-25 14:29:59 +00:00
Nic Costa c5edbe05b0 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-25 14:29:59 +00:00
Naveen Kaje 985e1d311d thread_mle_message_handler: fix build warning
Fix the following build warning found when building with

ARMC6 toolchain for NRF52_DK with mbed cli version 1.8.3

[Warning] thread_mle_message_handler.c@762,0:  #188-D: enumerated type mixed with another type
[Warning] thread_mle_message_handler.c@834,0:  #188-D: enumerated type mixed with another type
2019-01-25 14:29:59 +00:00
Guy Wild 9198f937b2 Update iBeacon.h
Technical author review
2019-01-25 14:29:59 +00:00
offirko b1106ff859 Review updates 2019-01-25 14:29:59 +00:00
offirko 64eff0a17b Minor Doxygen fixes for BufferedBlockDevice and iBeacon 2019-01-25 14:29:59 +00:00
jeromecoutant 4b7f273ee5 FLASHIAP test: skip test if test region overlaps code 2019-01-25 14:29:59 +00:00
Veijo Pesonen 1eed2668ba fixes a debug print 2019-01-25 14:29:59 +00:00
Veijo Pesonen 64bb010541 Drop signalling SIGIO artificially if UDP send fails
With TCP it's desirable that SIGIO wakes up the application to check
if there is buffer space space available on the mode. With UDP the
behavior is not acceptable as we don't know if the other endpoint is
there as connection establishment is missing. Hence buffers might
stay full forever.
2019-01-25 14:29:59 +00:00
Brian Daniels 97bf0d5cd3 uARM targets now build in correct ARM_MICRO directory
This is for OS2 testing. Previously, targets that were configured with
the option "default_toolchain": "uARM" would still build to a
TOOLCHAIN_ARM_STD directory. This fixes these targets to build into
TOOLCHAIN_ARM_MICRO.
2019-01-25 14:29:59 +00:00
Deepika 2f371bd6bc Update the header files
File was moved from hal -> platform folder, hence includes should be
changed accordingly.
2019-01-25 14:29:59 +00:00
deepikabhavnani 891986a389 Sleep manager implements all the API's in platform/mbed_sleep_manager.changes
Not sure why mbed_sleep_manager.c was in hal, moving it to platform
2019-01-25 14:29:59 +00:00
Fahim Alavi 19a88e0ddc Set target C030-R412M in mbed 2019-01-25 14:29:59 +00:00
Terence Zhang 7cd0ccad5d Initial version for Quectel M26 GSM/GPRS Module. 2019-01-25 14:29:59 +00:00
Michal Paszta 273323d2ed Gemalto Crinterion UDP test adjustments
Adjusting the tests to match the cellular modems ELS61-E2 and BGS2-W requirements.
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
Leszek Rusinowicz 582c84a4af 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-25 14:29:59 +00:00
maclobdell 6e3006d508 add qspif as default storage for LPCXpresso546XX 2019-01-25 14:29:59 +00:00
kegilbert da99f9e955 Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-25 14:29:59 +00:00
Veijo Pesonen e495866eea 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-25 14:29:59 +00:00
jeromecoutant 0277fc389a NUCLEO_H743ZI : enable TICKLESS 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
Mahesh Mahadevan 6e67930f1c Supply test config for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan c0c002dc89 Update TEST_APPS to add KW41Z for nanostack tests
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 6be2ef21c4 Add nanostack support for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Cruz Monrreal a8f0c33eaa
Merge pull request #9370 from ARMmbed/release-candidate
Release candidate for mbed-os-5.11.2
2019-01-16 13:33:05 -06:00
Cruz Monrreal II 1f96a7c083 Added pyocd depencency to resolve Travis CI issue 2019-01-16 15:02:28 +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
Martin Kojtal 5e0a2d991f travis: set hypothesis to 3.88 version
Update to v4.x breaks tools, will need to be addressed separately.
2019-01-15 08:31:36 +00:00