Commit Graph

1011 Commits (d79014f35a19a7edbd849b5945cd37dc97ce12f1)

Author SHA1 Message Date
Jaeden Amero 3e55bdc2c2 uVisor: Import v0.29.0 2017-07-31 13:37:31 +01:00
Jaeden Amero 8ff0c3953b uVisor: importer: Copy uvisor-tests pointer
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-31 13:37:18 +01:00
Adrien Chardon a5148ec31e Fix infinite calling loop 2017-07-28 14:46:26 +01:00
Kari Haapalehto d7f3820908 ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning

Warning #1-D: last line of file ends without a newline
- New line added at the end of file

Warning #997-D:
function "MeshInterfaceNanostack::initialize(NanostackPhy *)" is hidden
by "ThreadInterface::initialize"  -- virtual function override intended?
- virtual keyword removed from "MeshInterfaceNanostack::initialize"

Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning
2017-07-28 14:46:26 +01:00
Kevin Bracey 2813d8d153 Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 6444c8a..854505d
854505d Introduce object oriented dynmemLIB
27bae6b Merge pull request #59 from ARMmbed/fix_yotta_deps
ff45891 Add dependency on mbed-trace

git-subtree-dir: features/FEATURE_COMMON_PAL/nanostack-libservice
git-subtree-split: 854505d0191e428c07eb25fc9630dc05b21d5a47
2017-07-28 14:46:24 +01:00
adustm 2d259e0a6d fix typo in directory name 2017-07-28 14:46:20 +01:00
adustm a1810d4aec Add AES HW encryption for NUCLEO_F756ZG in mbedtls 2017-07-28 14:46:20 +01:00
Russ Butler be1d14c897 Add support for runtime test specification
Add a constructor which explicitly takes the number of test cases.
This allows a test case array created at runtime to be used.
2017-07-28 14:46:20 +01:00
Yogesh Pande 0501f992d9 Fix inconsistent mbed-trace dummy defines and original function declarations. 2017-07-28 14:46:18 +01:00
Adrien Chardon 2939ce067a BLE/GattCharacteristic: Add explanatory note for a parameter 2017-07-28 14:46:15 +01:00
Adrien Chardon 74982846b1 BLE/HRS: Fix #4661 2017-07-28 14:46:15 +01:00
Kari 7559f1822e - Adjust lowpan ND interface connect timeout
Device needs to wait for connectivity:
-routers will create new network and get local connectivity
-end device will get connectivity once attached to existing network
-devices without network settings gets connectivity once
 commissioned and attached to network

Signed-off-by: Kari <kari.haapalehto@arm.com>
2017-07-14 15:13:32 +01:00
Christopher Haster 94aea467c9 fatfs: Fix unaligned access in disk_ioctl
Unlike the other disk_ioctl options, GET_SECTOR_SIZE is interpreted
as a 16-bit WORD, instead of a 32-bit DWORD. This caused an unaligned
access error on M0 platforms.
2017-07-14 15:13:32 +01:00
Rob Meades f7c516a177 Increase PPP stack size from 512 bytes to 768 bytes.
PPP is running close to the edge of its default thread stack size of 512 bytes. When it experiences an FCS error on the incoming data (for example. caused by character loss when the incoming serial rate is too high for it to process in time) it performs some additional work which overruns the thread's stack, hitting the OS "stack underflow" check. Increasing the PPP stack size to 768 bytes resolves this problem.
2017-07-14 15:13:31 +01:00
Christopher Haster b92b4232da fatfs: Added full support for multiple fs volume prefixes
This is only an issue when multiple fatfss are used simultaneously.
Repeated use of a single fatfs instance (even with different storages)
do not show this issue.

Full support requires path prefixes being applied for every function
that takes a path. Note: this is only required filesystems after the
first mounted filesystem. The first filesystem has no penalty.
2017-07-14 15:13:31 +01:00
Brian Daniels f659681478 Fix bad test print and move locks for printf into macro.
A message of "Failed to close socket" was always being printed, not
just when the socket failed to close. This patch fixes this in
addition to a simplifying the call to a thread safe printf.
2017-07-14 15:13:30 +01:00
Deepika 1c3469bfaa Resolved format warnings: format '%d' expects argument of type 'int', but argument 3 has type 'u32_t[-Wformat=] 2017-07-14 15:13:30 +01:00
Deepika 6a8abecde5 Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign 2017-07-14 15:13:30 +01:00
adustm af8c6bd6a2 Move definitions in aes_alt.c + Factorize code 2017-07-14 15:13:29 +01:00
adustm b7b9444f76 STM32L486RG/mbedtls: add aes hw acceleration 2017-07-14 15:13:29 +01:00
Martin Kojtal 805b20b4d2 Cellular: not-supported error if MODEM_ON_BOARD not defined
If a test is empty, it leads to undef. Therefore if a test requires additional
details, it should print an error [NOT SUPPORTED].
2017-07-14 15:13:29 +01:00
Hasnain Virk c19ebcb33b Customer port verification tests for cellular
Basic TCP/UDP tests for PPP based onboard cellular modems.
Tests basic public APIs defined in CellularBase.h
A customer port must pass this test set, hence verifying their
particular implementation.
2017-07-14 15:13:29 +01:00
adbridge 7b33104d11 Re-add #define previously removed 2017-07-03 12:24:22 +01:00
adustm 431218e9d1 Check HASH is not busy before save/resteore context 2017-07-03 12:13:36 +01:00
adustm 09a50efd19 Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
Handle 64 bytes accumulation
2017-07-03 12:12:36 +01:00
adustm 600742b136 Remove trailing whitespace 2017-07-03 12:12:06 +01:00
adustm a8ab0e4290 SHA256: get ready to return error codes 2017-07-03 12:11:41 +01:00
adustm 6d0903b6bb Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE 2017-07-03 12:10:45 +01:00
adustm 8dc7851916 Align SHA256 with MD5 and SHA1 implementation
This will solve Size <4 issues
2017-07-03 12:10:15 +01:00
adustm 2300386b84 NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration 2017-07-03 12:09:14 +01:00
Christopher Haster 17601c0e17 fatfs: Removed unused fat_filesystem_set_errno function
At some point this was replaced by fat_error_remap
2017-07-03 11:47:03 +01:00
Christopher Haster 747fdec04e bd: Add asserts on initialization in HeapBlockDevice 2017-07-03 11:47:00 +01:00
Christopher Haster 556f4161a5 bd: Fix missing init in MBRBlockDevice 2017-07-03 11:46:59 +01:00
adustm 451eb33ec7 Check that the HASH is not busy before save and restore iHW registers 2017-07-03 11:46:56 +01:00
adustm 7e864de0cc handle context swap + change macro name 2017-07-03 11:46:55 +01:00
adustm 9a8f5a7ef3 replace 64 by define 2017-07-03 11:46:55 +01:00
adustm 1bea47d976 Remove tabs, fix doxygen comments 2017-07-03 11:46:54 +01:00
adustm 95beb43bda Rework SHA1 update for buffer <4 bytes management 2017-07-03 11:46:54 +01:00
adustm f4287fd7db Handle 64 bytes buffers 2017-07-03 11:46:54 +01:00
adustm 3d3affadd2 Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json 2017-07-03 11:46:53 +01:00
adustm 284b230cc6 Improve memory management 2017-07-03 11:46:53 +01:00
adustm 726c313d56 Remove unneeded function declarations + include file Move include platform from sha1_alt.h to sha1_alt.c 2017-07-03 11:46:53 +01:00
adustm 57996887da Better explanation of the use of mbedtls_sha1_context fields 2017-07-03 11:46:53 +01:00
adustm bc3bf9f3f4 use mbedtls_zeroize instead of memset(xxx,0,xxx) 2017-07-03 11:46:52 +01:00
adustm fbab24db6b NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration 2017-07-03 11:46:52 +01:00
bcostm 74361df787 DISCO_L072CZ_LRWAN1: Remove unused code 2017-07-03 11:46:52 +01:00
bcostm 196b975f93 DISCO_L072CZ_LRWAN1: Add USB device configuration files 2017-07-03 11:46:51 +01:00
bcostm 5ec1268438 DISCO_F413ZH: Add this board in mbedOS2 CAN tests 2017-07-03 11:46:40 +01:00
arostm 720e20b5fa DISCO_F413ZH: Modification needed to build 2017-07-03 11:46:38 +01:00
bcostm 05c682e83e DISCO_L475VG_IOT01A: Move USB device config files 2017-06-20 17:13:46 +01:00