Anna Bridge
a6730ad8ef
Merge pull request #13365 from paul-szczepanek-arm/ble-streamlining
...
BLE streamlining
2020-08-10 11:04:45 +01:00
Charley Chu
c525aec6ad
Add TFM V1.0
...
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
Charley Chu
badfa189d6
Move current TFM to TFM_V1_1
...
Named TFM V1.1 as TFM_V1_1 instead of TFM_V1.1 as TFM_V1.1 is invalid
as macro name
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
Charley Chu
8b663cfaa5
psoc64: Add ability to disable MXCRYPTO
...
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
Charley Chu
ff74ea41c1
Use PSA TRNG if PSA is enabled and no TRNG device defined
...
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
Charley Chu
a1bc65a152
psoc64: Update TF-M for MBedOS
...
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
Paul Szczeanek
365cb3c5d0
remove generic, TPPs, nested namespaces
2020-08-07 11:59:14 +01:00
Ashok Rao
b9b4c5d392
Mbed OS will soon be changing directory structure to the below:
...
```
connectivity
├── netsocket
├── lwipstack
├── nanostack
│ ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│ ├── include
│ │ └── nanostack // headers from features/netsocket/nanostack-interface
│ ├── source // sources from features/netsocket/nanostack-interface
│ ├── coap-service // used by Thread only - deprecate?
│ ├── mbed-mesh-api
│ ├── nanostack-hal-mbed-cmsis-rtos // HAL porting layer for Nanostack on mbed with CMSIS-RTOS
│ ├── sal-stack-nanostack
│ └── sal-stack-nanostack-eventloop
├── cellular // previously in features/cellular/framework/
├── ...
```
This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \nanostack.
2020-08-05 16:55:43 +01:00
George Psimenos
97ea45ad63
Move lwipstack
...
- Public headers moved into mbed-os/connectivity/lwipstack/include/lwipstack folder
- Source moved into mbed-os/connectivity/lwipstack/source folder
- Internal lwip and lwip-sys libraries moved to source folder
2020-07-31 10:15:25 +01:00
Martin Kojtal
c7251b0177
Merge pull request #13377 from rajkan01/move_nanostack_rf
...
Move nanostack rf driver from features to connectivity
2020-07-30 13:26:11 +01:00
Rajkumar Kanagaraj
f026f0d54f
Move nanostack rf driver from features/nanostack/nanostack-interface into connectivity/drivers/802.15.4_RF
2020-07-30 03:47:52 -07:00
George Psimenos
76f37fb2bc
Restructure events directory & move tests
2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj
522f100262
Move features/netsocket/emac-drivers to connectivity/drivers/emac
2020-07-27 09:53:31 -07:00
Martin Kojtal
6bd52719f6
Merge pull request #13335 from rajkan01/netsocket_dir_restructure
...
Restructure netsocket directory
2020-07-27 14:35:27 +01:00
Martin Kojtal
1d9c13ed5b
Merge pull request #13307 from rajkan01/storage_kv_dir_resturcture
...
Restructure storage kvstore directory
2020-07-23 15:59:07 +01:00
Rajkumar Kanagaraj
ea6a7ddbaa
Refactor features/netsocket and move to connectivity/netsocket
2020-07-23 06:15:09 -07:00
Martin Kojtal
f83d100fa6
Merge pull request #13261 from LDong-Arm/move_cellular
...
Refactor cellular directory structure
2020-07-23 14:06:23 +01:00
Jaeden Amero
61a65c0353
mbedtls: Fix PSA key encoding
...
When using TF-M, use the PSA_KEY_TYPE_ECC_KEY_PAIR() macro from
mbedtls_psa_parse_tls_ecc_group(), since that function is supposed to
return a psa_key_type_t. This helps to avoid any misencodings when the
return value from mbedtls_psa_parse_tls_ecc_group() is used directly as
a psa_key_type_t without additional encoding.
Fixes: 0961f312c6
("Make PSA util compatible with Mbed Crypto 3.0.1")
2020-07-23 10:48:20 +01:00
Rajkumar Kanagaraj
ca84e11a22
Fix CI build issue with GCC_ARM and ARMC6 toolchain
2020-07-22 10:23:12 -07:00
Jaeden Amero
0cf680593c
mbedtls: Specify key length with TF-M
...
When using TF-M, be sure to specify the length of the key.
Fixes: 0961f312c6
("Make PSA util compatible with Mbed Crypto 3.0.1")
2020-07-22 17:03:51 +01:00
Martin Kojtal
1bd138b6fc
Merge pull request #13304 from jeromecoutant/PR_WB_CUBE17
...
STM32WB update drivers version to CUBE V1.7.0
2020-07-22 15:09:22 +01:00
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