Commit Graph

7021 Commits (57f39aed01a34ef6620d0547b51c0480e573b8e9)

Author SHA1 Message Date
Lingkai Dong 2b24a7a31e Update paths to cellular framework 2020-07-22 11:06:23 +01:00
Lingkai Dong 3ff03bf452 Move cellular framework into connectivity 2020-07-22 11:05:49 +01:00
Lingkai Dong 276de0a5f2 Move cellular target drivers into connectivity/drivers/cellular 2020-07-22 11:05:49 +01:00
Martin Kojtal 7592d702b2
Merge pull request #13284 from LDong-Arm/move_ppp
Refactor PPP library
2020-07-21 14:12:05 +01:00
Rajkumar Kanagaraj d956116c36 Update greentea config, header reference 2020-07-20 07:33:52 -07:00
Martin Kojtal 2b60c871d8
Merge pull request #13264 from ashok-rao/rtos-refactor
Moving around a few items within \rtos
2020-07-20 10:39:19 +01:00
Martin Kojtal 7ef1dbcf93
Merge pull request #13293 from paul-szczepanek-arm/fix-gatt-rw-callbacks
BLE Fix read and write callbacks for descriptors not firing if characteristic is not readable or writable
2020-07-20 08:27:45 +01:00
Rajkumar Kanagaraj f58c5631c0 Fix UNITTESTS issue 2020-07-19 10:02:32 -07:00
Lingkai Dong bda46e0fa8 Move ppp_nsapi.cpp from ppp library to netsocket/nsapi_ppp.cpp
This file is the source for nsapi_ppp.h and is not implementation
specific.
2020-07-17 15:30:53 +01:00
Lingkai Dong b8a1c5ba23 Move ppp into connectivity/libraries 2020-07-17 15:30:53 +01:00
Anna Bridge 63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Anna Bridge f5801aa681
Merge pull request #13254 from LDong-Arm/move_nanostack-libservice
Move nanostack-libservice into connectivity/libraries
2020-07-17 14:40:50 +01:00
Anna Bridge d14454baef
Merge pull request #13283 from paul-szczepanek-arm/fix-fixed-size-att-write
BLE: Cordio bugfix fixed size writes under size must be allowed
2020-07-17 11:08:06 +01:00
jeromecoutant 0b5a91c9a2 STM32WB FLASH activity shared with M0+ core
source:
- https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_RfWithFlash/Core/Src/flash_driver.c
- Figure 10 from AN5289
2020-07-17 12:06:40 +02:00
jeromecoutant 285d533075 STM32WB: ST CUBE drivers update V1.4.0 => V1.7.0 / BLE 2020-07-17 12:06:39 +02:00
Anna Bridge ab5af1e4f0
Merge pull request #13244 from rajkan01/storage_restructure_initial
Move storage from features into mbed-os root directory
2020-07-17 10:52:56 +01:00
Lingkai Dong 3b2e07c12e Move mbed-coap to connectivity/libraries 2020-07-16 17:06:57 +01:00
Paul Szczeanek aa42aeb514 callbacks to descriptors should not based on characteristic properties 2020-07-14 16:59:58 +01:00
Vikas Katariya 776ccce8d6 psa: Update TF-M for ARM_MUSCA_B1 2020-07-14 11:54:57 +01:00
Paul Szczeanek c0391dc37b fixed size writes under size must be allowed 2020-07-13 14:42:53 +01:00
Rajkumar Kanagaraj aafdb8a0a3 Update the header reference from feature/storage to stroage 2020-07-10 14:59:53 +01:00
Rajkumar Kanagaraj 0bcf967870 Storage directory restructure:
- Move mbed-os/features/storage to mbed-os/storage
- Move components/storage/blockdevice to storage/blockdevice/COMPONENT_xxx
2020-07-10 14:59:53 +01:00
Jaeden Amero 2f2e4a95a1 psa: Update TF-M for ARM_MUSCA_B1 2020-07-09 15:40:38 +01:00
Martin Kojtal 947eb7a044
Merge pull request #13258 from praveenCY/pr/merge_warning_fix
Fix deprecated warning messages in Cypress code
2020-07-09 11:53:40 +02:00
Martin Kojtal 4f9699a4d4
Merge pull request #13257 from rwalton-arm/dev/rwalton-arm/fix-invalid-json-nanostack-lib
Remove invalid unicode characters from mesh-api/mbed_lib.json
2020-07-09 11:15:29 +02:00
Martin Kojtal a2b79803af
Merge pull request #13247 from jamesbeyond/greentea_fix
GreenTea: Fix inconsistency of  Greentea KV message
2020-07-09 10:50:03 +02:00
Martin Kojtal be7571e741
Merge pull request #13217 from ARMmbed/feature-cordio-update-20-05
Feature cordio update 20 05
2020-07-09 10:13:10 +02:00
Praveen babu chandran 0a65358a6d Fix deprecated warning messages in Cypress code 2020-07-08 13:25:11 -07:00
Rob Walton 1ed468b540 Remove invalid unicode characters from mesh-api/mbed_lib.json 2020-07-08 21:11:17 +01:00
Lingkai Dong cb828c3aa1 Move nanostack-libservice into connectivity/libraries/ 2020-07-08 17:25:18 +01:00
Qinghao Shi 48d78c6374 GreenTea: Fix inconsistenet Greentea KV message 2020-07-08 09:24:55 +01:00
Martin Kojtal 13efd1af38
Merge pull request #13225 from jeromecoutant/PR_CYW4343X
BLE remove unused CYW4343X file
2020-07-08 09:38:21 +02:00
Martin Kojtal 2ebf2cf4c4
Merge pull request #13038 from paul-szczepanek-arm/kvstoredb
BLE: Add KVStore Security DB
2020-07-08 09:33:00 +02:00
Martin Kojtal 33a7a5f00e
Merge pull request #13230 from LDong-Arm/freescale_nanostack_rebase_fix
Fix duplication of KW41Z Nanostack driver
2020-07-07 20:45:49 +02:00
Paul Szczeanek d080c7e85a add SPDX identifier 2020-07-06 15:06:04 +01:00
Paul Szczepanek 3e6e671d17 make public and random static based on different nrf configs 2020-07-06 11:05:37 +01:00
Lingkai Dong d27ec8272a Apply astyle fix from CI 2020-07-03 16:24:38 +01:00
Lingkai Dong acfbca7ada Fix duplication of KW41Z Nanostack driver 2020-07-03 15:57:07 +01:00
Martin Kojtal dd209da675 Revert "Fix kv parsing bug in greentea client."
This reverts commit c70baa9289.

Reason for revert: needs to be reviewed again, will be sent via new PR
2020-07-03 10:02:51 +01:00
Martin Kojtal fe2fb48907
Merge pull request #13210 from dustin-crossman/pr/sleep_test_fix
Fix hal-sleep/sleep_manager Tests on Cypress Targets
2020-07-03 10:36:22 +02:00
jeromecoutant cf801464e1 BLE removed unused CYW4343X file 2020-07-03 09:58:20 +02:00
jeromecoutant 85e0334ec3 ADV_WISE TLS config duplication 2020-07-03 09:52:57 +02:00
Paul Szczeanek c3a39e9b4d stray tabs removed 2020-07-02 16:41:43 +01:00
Paul Szczeanek f2a6e8b0e8 update comment 2020-07-02 16:41:42 +01:00
Paul Szczeanek 2ffc61aacb added timer IRQ handler for TIMER2 2020-07-02 16:41:42 +01:00
Paul Szczeanek 9354bc2a95 memory footprint increased 2020-07-02 16:41:42 +01:00
Paul Szczeanek 3de3754a33 switch to 5.1 api 2020-07-02 16:41:42 +01:00
Paul Szczeanek bc44299512 added timerboundary to config 2020-07-02 16:41:42 +01:00
Paul Szczeanek 666f2f4b79 trigger complete callbacks after sending HCI message 2020-07-02 16:41:42 +01:00
Paul Szczeanek 3316e7ff66 shutdown timer on deinit 2020-07-02 16:41:42 +01:00
Paul Szczeanek 981eaed9bb crypto init calls fixed 2020-07-02 16:41:42 +01:00
Paul Szczeanek 16cbc97feb enum for acl changed name from data to acl to match stack 2020-07-02 16:41:42 +01:00
Paul Szczeanek 3a46d09a87 add stubs for iso channels, update config for iso 2020-07-02 16:41:42 +01:00
Paul Szczeanek dbd58bfd02 remove unneeded pal 2020-07-02 16:41:42 +01:00
Paul Szczeanek ebd4aed9b1 disable led 2020-07-02 16:41:42 +01:00
Paul Szczeanek d9699cf269 asm only for gcc 2020-07-02 16:41:42 +01:00
Paul Szczeanek a04102ae39 switch to timer 2 due to conflict 2020-07-02 16:41:42 +01:00
Paul Szczeanek 7f23b6df0f update nrf cordio ll files 2020-07-02 16:41:42 +01:00
Paul Szczeanek 568d0a287e use assembly on gcc 2020-07-02 16:41:42 +01:00
Paul Szczeanek 4ce36b3728 missing def arm id in ll_defs 2020-07-02 16:41:42 +01:00
Paul Szczeanek c2ccc30657 enable custom hci transport in config 2020-07-02 16:41:42 +01:00
Paul Szczeanek fbf55f90eb change fake chci into custom chci to resolve naming issues 2020-07-02 16:41:42 +01:00
Paul Szczeanek be80c46e9a update cordio LL files to 20.05r 2020-07-02 16:41:42 +01:00
Paul Szczeanek c2bc9a4385 avoid redundant call on timer init 2020-07-02 16:41:42 +01:00
Paul Szczeanek a40d0cb282 fix error message 2020-07-02 16:41:42 +01:00
Paul Szczeanek ebf9ec963d copy advertising data into the message 2020-07-02 16:41:42 +01:00
Paul Szczeanek d3bda92bee fix signed writes 2020-07-02 16:41:41 +01:00
Paul Szczeanek c4afea26fa remember if key was authenticated 2020-07-02 16:41:41 +01:00
Paul Szczeanek c61f84b97c remove pointless heap count 2020-07-02 16:41:41 +01:00
Paul Szczeanek 260e5016dc fix cordio configuration 2020-07-02 16:41:41 +01:00
Paul Szczeanek 11dba2e972 don't compile debug version of ecc by deafult 2020-07-02 16:38:28 +01:00
Paul Szczeanek 758b9587d2 missing wsf_types.h include 2020-07-02 16:38:28 +01:00
Paul Szczeanek 4090f31107 add missing services header 2020-07-02 16:38:28 +01:00
Paul Szczeanek 59528d6a18 expose WsfTimerNextExpiration in the wsf api 2020-07-02 16:38:28 +01:00
Paul Szczeanek 313651bb2e remove nvm 2020-07-02 16:38:28 +01:00
Paul Szczeanek 764f18c4bd add crit section to cordio stack pal 2020-07-02 16:38:28 +01:00
Paul Szczeanek bb4b58b239 porting adaptation layer 2020-07-02 16:38:28 +01:00
Paul Szczeanek fc59443a09 hciDrvWrite no longer needed 2020-07-02 16:38:28 +01:00
Paul Szczeanek 3e011a9c4a update host and wsf files 2020-07-02 16:38:28 +01:00
Dustin Crossman c70baa9289 Fix kv parsing bug in greentea client.
Mbed greentea sends all KV pairs in the following format:
"{{key,value}}\n"
Previously the greentea client code was not reading the final '\n' from
the UART as part of the HandleKV() call. This did not cause an
error when multiple KV pairs were being parsed because any whitespace
proceeding a message was ignored. Once the final KV pair was sent,
however, HandleKV() would only read up to the "}}" leaving the final
'\n' in the UART buffer.
2020-07-01 10:38:49 -07:00
Martin Kojtal 663492a24f
Merge pull request #13205 from kjbracey-arm/lwipnonblock
LWIPStack: set sockets non-blocking
2020-07-01 12:29:22 +02:00
Martin Kojtal 26b6ca67ff
Merge pull request #13199 from jamesbeyond/test_fix
TEST: Update kvstore tests with shorter timeout
2020-07-01 12:18:12 +02:00
Martin Kojtal ab84dcde03
Merge pull request #13198 from kyle-cypress/pr/whd-1.91.2
Cypress: Update WHD to version 1.91.2
2020-07-01 12:01:51 +02:00
Martin Kojtal 60c94ebd3c
Merge pull request #13191 from dgreen-arm/fix-ordering-in-adjust_config.sh
Fix ordering in adjust config.sh
2020-07-01 12:00:41 +02:00
Martin Kojtal 23a84dd396
Merge pull request #13180 from esajaa/master
Update mbed-coap to version 5.1.6
2020-07-01 11:43:04 +02:00
Martin Kojtal 9ad4aa5334
Merge pull request #13152 from debdeep-arm/add-wisun-interface-api
Add Wi-SUN Interface APIs
2020-07-01 10:25:56 +02:00
Kevin Bracey c2c2b19ecf Turn off LWIP_SO_RCVTIMEO
We no longer use the receive timeout option in lwIP, so disable it to
save a small amount of ROM+RAM.
2020-06-30 11:48:13 +03:00
Kevin Bracey 134abf8e1f LWIPStack: set sockets non-blocking
When sockets were opened, they were not set non-blocking, but only had
their timeout set to 1ms.

TCP sockets were set to non-blocking on connect or accept, but UDP
sockets were left blocking with 1ms timeout.

This led to unnecessary delays when checking for data from an empty UDP
socket.

Change sockets to be non-blocking on open instead of setting the
timeout. As TCP sockets were already non-blocking, the necessary event
handling is already in place, and no other changes are required.
2020-06-30 11:34:39 +03:00
Qinghao Shi e88015e53e TEST: Update kvstore tests with shorter timeout 2020-06-27 20:12:58 +01:00
Kyle Kearney c7a6a8f649 WHD: Fix incorrect security type mapping 2020-06-26 12:22:10 -07:00
Darryl Green a3af4305bc Ensure that MBEDTLS_USE_PSA_CRYPTO is only defined when it should be
MBEDTLS_USE_PSA_CRYPTO should only be defined in Mbed OS when the
appropriate Mbed OS flags are set.
2020-06-25 14:24:25 +01:00
Darryl Green 077f4c3d46 Move code additions to end of adjust_config.sh
The config.py script that adjusts config.h in Mbed TLS doesn't
handle having configurations being defined in it multiple times
very well. As Mbed OS needs to have certain configurations settings
based on what features are set, these code additions to config.h
are moved to being added after the rest of the configuration is
adjusted.
2020-06-25 14:16:26 +01:00
Esa Jaaskela c9748a8c8a Update mbed-coap to version 5.1.6 2020-06-24 09:19:45 +03:00
Jaeden Amero e3cfee4b3d psa: Remove not needed TF-M ITS KVStore adapter
Targets that use Mbed for their PSA implementation
(TARGET_MBED_PSA_SRV), rather than TF-M, do not need any adapters to
connect TF-M and KVStore. Remove the unnecessary file its_tfm_impl.cpp.
2020-06-23 13:22:29 +01:00
Martin Kojtal 15b7fe404e
Merge pull request #13142 from rajkan01/fix_emac_chrono_warning
EMAC: Fix Chrono compliation warnings
2020-06-19 10:06:58 +02:00
Martin Kojtal 32a032bbf0
Merge pull request #13149 from kivaisan/cellular_alt1250_save_rat
Cellular: ALT1250: Store RAT to permament memory
2020-06-18 22:24:24 +02:00
Martin Kojtal 3e42991289
Merge pull request #13046 from hugueskamba/hk_use_chrono
Use std::chrono based functions
2020-06-18 22:16:00 +02:00
Debdeep Saha ef385619d4 [master] Added Wi-SUN Interface APIs
Implemented
-info_get API for Wi-SUN router to get RPL information.
-info_get API for Wi-SUN BR to get RPL information.
-routing_table_get API for Wi-SUN BR.
2020-06-18 18:01:49 +05:30
Rajkumar Kanagaraj 31bc95a742 Fix astyle format issue 2020-06-18 12:40:44 +01:00
Rajkumar Kanagaraj 28e44ac6f8 Fix compilation warnings by using the Chrono based time argument in EventQueue call_every() API call. 2020-06-18 12:30:11 +01:00