Commit Graph

21521 Commits (75fbc5817e112b1cbf45e91fef286c20797890f2)

Author SHA1 Message Date
Leszek Rusinowicz 75fbc5817e Fixes for PSoC6 serial interface, asynchronous mode. 2019-01-25 14:29:59 +00:00
Yossi Levy 0332f8443a Adding a test if device key buffer has changed after calling to entropy func. this should enable as to eliminate some rare cases when the trng fail but still return success. 2019-01-25 14:29:59 +00:00
Deepika c5747c44fa DSP_PRESENT flag is needed for Armv8m devices having DSP enabled 2019-01-25 14:29:59 +00:00
Deepika 7dc93e0820 Set DSP and floating point flags for ASM files 2019-01-25 14:29:59 +00:00
Philipp Steiner c17d4f04c5 Update Comments 2019-01-25 14:29:59 +00:00
Philipp Steiner afd7f4133a Add SPIF_ULBPR command also to QSPIFBlockDevice and SPIFReducedBlockDevice 2019-01-25 14:29:59 +00:00
Philipp Steiner 331c66d4fb Add SPIF_ULBPR command and replace wrong command to clear all write-protection bits in the Block-Protection register. 2019-01-25 14:29:59 +00:00
Volodymyr Medvid 09c8b99ec9 Fix links to documentation on https://os.mbed.com 2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 02df4cb4f1 LPC546XX, LPC54114: Add README and LICENSE files for the power libraries
This is a fix for Issue#9254

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
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
Qinghao Shi 7864012ef4 Examples: enabled some examples build for FVP_MPS2_M3 target 2019-01-25 14:29:59 +00:00
kevin.ong 50e2e05442 stm32: fix indent style 2019-01-25 14:29:59 +00:00
kevin.ong f0006adb41 stm32: fix typo 2019-01-25 14:29:59 +00:00
kevin.ong 0e69cd95de stm32: fix some F0 target compile error 2019-01-25 14:29:59 +00:00
kevin.ong 56e488a2fd stm32: F1/F2/F4/L1 set to not supported HW CRC
Currently, mbed supported input data format fix on bytes, so those
devices are not supported at default.
2019-01-25 14:29:59 +00:00
kevin.ong 38e1152eea stm32: fix F1/F2/F4/L1 compile fail after enable CRC
Those series have not CRC_POLYLENGTH_32B definition
2019-01-25 14:29:59 +00:00
kevin.ong 536b7a645a stm32: remove empty line 2019-01-25 14:29:59 +00:00
kevin.ong 6688b55a58 stm32: Improve the CRC function to support fully accumulate
Tested on DISCO_L476VG and NUCLEO_L476RG
2019-01-25 14:29:59 +00:00
David Saada 6c5ab0c842 Put LittleFS emulated BD module under .mbedignore 2019-01-25 14:29:59 +00:00
Aleksi Klasila b68628aae6 Add Travis include mbed.h check 2019-01-25 14:29:59 +00:00
Cruz Monrreal II 89bc39e6cf Added pyocd requirement. Dependency tree: icetea > mbed_flasher > pyocd 2019-01-25 14:29:59 +00:00
Cruz Monrreal II 6750550051 Updated requirements.txt to be more module-version resilliant. Moved modules tied to specific versions higher, and modules with no restrictions lower. 2019-01-25 14:29:59 +00:00
Cruz Monrreal II adc768b197 Added warning suppression to python api_tests. Apparently local laptop isn't fast enough for test generation, but CI is 2019-01-25 14:29:59 +00:00
Cruz Monrreal II 74187e7f30 Shuffled around version checks to be more useful in case of failure 2019-01-25 14:29:59 +00:00
Cruz Monrreal II 89ffe622a9 Added specific versions of Travis-only modules Use requirements.txt to install specific versions of Travis CI python modules. 2019-01-25 14:29:59 +00:00
Filip Jagodzinski 7643868afd ROTS: SysTimer: Fix test timing issues
Use a busy loop with non-blocking Semaphore::wait(0) calls instead of a
single Semaphore::wait(osWaitForever) to improve time measurement
accuracy. Looping in Semaphore::wait(0) prevents the board from entering
sleep or deepsleep modes while waiting for the semaphore. By skipping
the overhead wakeup time, we get more accurate timings.
2019-01-25 14:29:59 +00:00
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