Commit Graph

5540 Commits (9efaabe40456414602cb05c046fc2239747c5c7b)

Author SHA1 Message Date
Martin Kojtal 6a1ab73988
Merge pull request #10770 from Patater/update-to-mbedcrypto-1.1.0d1
mbed-crypto: Update to Mbed Crypto 1.1.0d1
2019-06-07 09:18:53 +01:00
Jaeden Amero 9676edd36b mbed-crypto: Update to Mbed Crypto 1.1.0d1 2019-06-05 16:39:06 +01:00
Martin Kojtal fbc489e6a5
Merge pull request #10733 from pan-/fix-nrf52-memory-pools
Fix nrf52 memory pools
2019-06-04 21:01:15 +01:00
Vincent Coubard 618e1e623e Cordio: Fix default COC parameters.
The stack doesn't cope with zero COC client or channel on IAR.
2019-06-04 14:45:45 +01:00
Martin Kojtal 04d0b0d1c8
Merge pull request #10654 from desowin/usbhost-msd
USBHostMSD: Implement BlockDevice get_type()
2019-06-04 12:56:52 +01:00
Martin Kojtal b050a9df64
Merge pull request #10722 from Patater/auto-enable-psa-entropy-injection
mbed-crypto: Automatically enable entropy injection
2019-06-04 09:47:15 +01:00
Martin Kojtal 752101d041
Merge pull request #10696 from AriParkkila/cell-ublox-at-connect
Cellular: Fix socket connect on UBLOX_AT driver
2019-06-03 08:52:43 +01:00
Martin Kojtal f0696417c5
Merge pull request #10647 from tymoteuszblochmobica/coverity
Fix LWIP warning issues found by Coverity scan

lwip_dns.c in function: dns_add_interface_server
CID 1399051 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)10. buffer_size_warning: Calling strncpy with a maximum size argument of 6 bytes on destination array new_interface_server->interface_name of size 6 bytes might leave the destination string unterminated.
line 434 strncpy(new_interface_server->interface_name, interface_name, INTERFACE_NAME_MAX_SIZE);

lwip_ip4_frag.c in function: ip_reass_free_complete_datagram

CID 1373164 (#1 of 1): Dereference after null check (FORWARD_NULL)7. var_deref_model: Passing null pointer prev to ip_reass_dequeue_datagram, which dereferences it. [show details]
line 209 ip_reass_dequeue_datagram(ipr, prev);

lwip_ip4_frag.c in function: ip_reass

CID 1373163 (#1-2 of 2): Dereference after null check (FORWARD_NULL)38. var_deref_model: Passing null pointer ipr_prev to ip_reass_dequeue_datagram, which dereferences it. [show details]
line 663 ip_reass_dequeue_datagram(ipr, ipr_prev);

lwip_api_msg.c in function: lwip_netconn_do_connected

CID 1373162 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)10. var_deref_model: Passing null pointer op_completed_sem to sys_sem_signal, which dereferences it. [show details]
line 1336 sys_sem_signal(op_completed_sem);
2019-06-03 08:41:53 +01:00
Martin Kojtal 9a3c175e96
Merge pull request #10588 from AriParkkila/cell-bg96-power
Cell bg96 power
2019-06-03 08:38:58 +01:00
Vincent Coubard 11cb7f0119 BLE - tune Cordio LL default parameters to reduce the memory required. 2019-05-31 16:11:08 +01:00
Vincent Coubard 12bdc0ebdb BLE - Fix Cordio LL extended advertising size. 2019-05-31 16:10:02 +01:00
Vincent Coubard a74c4ce57f BLE - Set rx ACL buffer size to the minimum viable in cordio conf. 2019-05-31 16:09:28 +01:00
Vincent Coubard 0baf04dfb4 Disable l2cap connection oriented channels in Cordio default conf. 2019-05-31 16:08:37 +01:00
Martin Kojtal a8444bd6ff
Merge pull request #10651 from desowin/usbhost-set-address-wait
USBHost: Wait for device to implement SET ADDRESS
2019-05-31 12:37:19 +01:00
Martin Kojtal 523ad23a30
Merge pull request #10656 from jarvte/fix_cellularctx_destr
Cellular: AT_CellularContext disconnect in non-blocking mode
2019-05-31 12:35:59 +01:00
Jaeden Amero 4feb15c76a mbed-crypto: Automatically enable entropy injection
Automatically enable entropy injection when the NV Seed feature is
requested on PSA targets. Add a warning note describing the state of the
current implementation of the entropy injection API.

Fixes #10720
2019-05-31 09:11:58 +01:00
Ari Parkkila 73164710af Cellular: Fix socket connect on UBLOX_AT driver 2019-05-29 03:19:07 -07:00
Martin Kojtal 9cc1caa031
Merge pull request #10596 from kjbracey-arm/sem_acquire
Introduce Semaphore::acquire methods
2019-05-29 06:22:30 +01:00
Martin Kojtal cc491812a8
Merge pull request #10427 from kjbracey-arm/new_standards
Set compilers to C++14 and C11
2019-05-28 20:34:00 +01:00
Martin Kojtal 8fc2a3c92a
Merge pull request #10675 from 0xc0170/update-mbedtls-2.18.0-rc1
Update mbedtls 2.18.0 rc1
2019-05-28 20:24:18 +01:00
Kevin Bracey 2fbbd9d2ca Introduce Semaphore::acquire methods
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().

Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".

Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
k-stachowiak 948d4379d8 Update Mbed TLS feature to 2.18.0-rc2 2019-05-28 11:00:16 +01:00
Martin Kojtal 19e762298f
Merge pull request #10666 from ARMmbed/feature-nrf52-sdk15
Nordic SDK v15 Update
2019-05-28 09:48:44 +01:00
Tomasz Moń a39cba0e52 USBHost: Wait for device to implement SET ADDRESS
The USB Device must change the address within 2 ms after completing
SET ADDRESS status stage.

Wait 2 ms before issuing GET DESCRIPTOR under the new address. In my
case, this completely resolves the timeout issues.
2019-05-27 12:22:59 +02:00
Teppo Järvelin 779fb6defd Cellular: AT_CellularContext disconnect in non-blocking mode
Disconnect was supporting only blocking mode.
2019-05-27 12:23:29 +03:00
paul-szczepanek-arm 9bf2d0ae55 cryptocell acceleration as an option 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 4d236665a2 ifdef 52840 crypto 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 41e02279d3 config fixed for LL hci 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm c050faf268 fix typo 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 16bb7e5f04 fix merge conflixt 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm c9f8ca46ff config now applies to MCU_840 instead of only DK 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm ac66a0040c moved config to target nordic 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 0d1ca866ea license updated 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 6b705c881f remove usage of gpio and leds from nordic cordio LL as it interferes with normal function 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm e43aa12a5d removed stray comma 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 1bbadde9c0 configs in mbed json 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm a6f639ba27 zero copy HCI as a config option 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 87f5e1f057 review comments addressed 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 7894a9321d fix releaseing the WSF msg too early 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 88d000e18e update LL runtime config to new version 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 00bd959abe use TIMER2 instead 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 5025022ab8 handle extended reset 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 96040be349 wsf buffer transfers owenrship to controller 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 0de3510d1c service immediately after sending 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 8ddaf84516 use pal version of load bd address 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm f13e966dc0 translate hci types 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm ccddf32f85 cleanup json 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 2232fd045b handle all types 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm d1593fecc1 move nordic ll to target nordic 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm d09f66b4c5 move config to nordic ll 2019-05-27 06:16:49 +01:00