Johannes Stratmann
e28df3aa30
replace underscore by hyphen
2021-03-02 16:54:34 +01:00
Johannes Stratmann
6934a46505
move private struct dns_server_interface to c file
...
use ip_addr function to initialize dns_add_interface_server
2021-03-02 14:51:11 +01:00
Martin Kojtal
63eeb93a5f
Merge pull request #14341 from artokin/update_traces_in_stm_emac_driver
...
Update stm32xx_emac driver traces
2021-02-25 15:09:10 +00:00
Lingkai Dong
0dd43976b8
Import mbedtls_ecp_write_key for Cypress Mbed TLS driver
...
Mbed TLS 2.24.0 has added a new function mbedtls_ecp_write_key()
which is the reverse of the existing mbedtls_ecp_read_key(). This
function should be platform agnostic, but needs to be copied into
Cypress's hardware-accelerated ECP driver as part of the updated
API.
2021-02-25 14:02:57 +00:00
Lingkai Dong
1f4f6dd0b6
Mbed TLS importer: don't import unnecessary files
...
The Mbed TLS importer accidentally imports Makefile and .gitignore
from Mbed TLS's `library/` directory. This commit restricts the
pattern to .h and .c files only, and removes the unnecessary files.
2021-02-25 14:02:57 +00:00
Lingkai Dong
241b062cdf
Update .gitignore for Mbed TLS importer
...
The directory `mbed-tls-lib` previously in `.gitignore` no longer
exists. Instead, we can simply ignore the entire TARGET_IGNORE.
2021-02-25 14:02:57 +00:00
Lingkai Dong
410a1bad6b
Import mbedtls-2.24 and Mbed PSA Service (non-TFM)
...
Files have been automatically imported by setting MBED_TLS_RELEASE to
mbedtls-2.24.0 in connectivity/mbedtls/tools/importer/Makefile and
running `make` in that directory.
2021-02-25 14:02:55 +00:00
Lingkai Dong
e0d2c3d03a
Fix paths in Mbed TLS importer
...
Note: Now we need to export common.h to the include path, because
this header is now also needed by PSA Crypto service.
2021-02-25 14:02:54 +00:00
Lingkai Dong
e3641576d0
Move hash_wrappers.c to platform subdirectory
...
hash_wrappers.c is specific to Mbed OS, moving it into platform
as its original directory is for imported Mbed TLS source only.
2021-02-25 14:02:54 +00:00
Lingkai Dong
9e48b782b9
Add copyright header to hash_wrappers.c
2021-02-25 14:02:54 +00:00
Johannes Stratmann
73ce15ccbb
turn off rdnss for compatibility
2021-02-24 21:13:26 +01:00
Johannes Stratmann
ddbc2d7b88
add options to use RDNSS and IPv6 queuing
2021-02-24 21:09:40 +01:00
Johannes Stratmann
54b3b03426
use calloc for new_interface_server
...
malloc left garbage in the structure, dns IPs were filled with random content
2021-02-24 20:50:29 +01:00
Arto Kinnunen
e4e2f79cc8
Update stm32xx_emac traces
...
- Make packet trace optional, can be enabled by enabling macro
STM32xx_DEEP_TRACE
- Shorten traces during driver initialisation to avoid problems with
driver startup when soft reset is used.
2021-02-24 13:46:58 +02:00
Martin Kojtal
8340ea2d2b
Merge pull request #14305 from paul-szczepanek-arm/cordio-host-fix-index
...
BLE: fix indexing of array in Cordio host stack
2021-02-23 14:23:21 +00:00
Paul Szczepanek
53cf06278a
use the ccb instead of looking up the conn id
2021-02-22 11:31:25 +00:00
Paul Szczepanek
9a25b7b7cd
use dmConnId_t for conn id
2021-02-19 12:52:47 +00:00
Paul Szczepanek
b271ee853a
fix Cordio attsCsfActClientState index parameter
...
instead of using a handle this should be conn id
there were two calls using it differently
2021-02-19 12:45:09 +00:00
Martin Kojtal
85c2d7a25c
CMake: remove IAR references as they are not supported
2021-02-17 09:19:03 +00:00
Martin Kojtal
3894d73680
Merge pull request #14289 from hugueskamba/hk_cmake_refactor_cypress
...
CMake: Refactor Cypress targets
2021-02-16 13:43:35 +00:00
Hugues Kamba
ea6955bd1c
CMake: Refactor Cypress targets
...
Refactor all Cypress targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using target_link_libraries its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-15 17:20:23 +00:00
Martin Kojtal
fa62e80958
Merge pull request #14249 from jeromecoutant/PR_STM32WL_LORA
...
STM32WL : add LoRa support
2021-02-15 11:04:00 +00:00
Martin Kojtal
bc6679ebd6
Wiced: remove empty spaces
2021-02-15 08:49:44 +00:00
jeromecoutant
81a44fc9ae
STM32WL: use correct include path
2021-02-15 08:54:06 +01:00
Martin Kojtal
51a6754e22
WicedInterface: fix styling
2021-02-14 20:00:25 +00:00
Martin Kojtal
2f09d7c057
Update WicedInterface.h
...
Fix the styling error
2021-02-14 19:35:37 +00:00
Hugues Kamba
01875ebb09
WICED: Move directory to WiFi driver
...
WICED is something is build to Cypress WiFi on multiple devices, it's a binary form. It is owned
by Seeed studio
2021-02-12 16:40:22 +00:00
Martin Kojtal
3174a4c6a5
Merge pull request #14264 from paul-szczepanek-arm/fix-terminate-sync
...
BLE: fix termination of periodic advertising sync
2021-02-12 09:16:55 +00:00
Martin Kojtal
8284807a00
Merge pull request #14239 from paul-szczepanek-arm/passkey-fix
...
BLE: fix passkey for display being returned reversed
2021-02-11 08:04:57 +00:00
Martin Kojtal
871522c929
Merge pull request #14256 from pan-/ble-chainable-event-handler-test
...
BLE: Add API to test the presence of an event handler in a chain.
2021-02-11 08:04:34 +00:00
Martin Kojtal
533e63355d
Merge pull request #14257 from pan-/add-getter-for-characteristic-cb
...
BLE: Add APIs to get characteristic authorization callbacks.
2021-02-11 08:04:29 +00:00
Paul Szczepanek
938aedac91
use the correct id to identify sync
2021-02-10 11:57:30 +00:00
Vincent Coubard
edd7678cfc
BLE: Add API to test the presence of an event handler in a chain.
2021-02-10 11:18:59 +00:00
Mika Leppänen
08bec7583d
Added missing const qualifier to mesh ethernet mac addr get
2021-02-10 13:17:03 +02:00
Vincent Coubard
c099b859d7
BLE: Add APIs to get characteristic authorization callbacks.
2021-02-09 19:56:58 +00:00
jeromecoutant
7baae39ece
STM32WL LORA : enable connectivity test
2021-02-09 11:56:50 +01:00
Ludovic Champsaur
08050839d5
STM32WL LORA : lorawan update
2021-02-09 11:56:41 +01:00
Ludovic Champsaur
83d18eb4c0
STM32WL LORA : STM32WL_LoRaRadio support
2021-02-09 11:56:30 +01:00
Paul Szczepanek
94529508a5
include deprecation option for reversing passkey display
2021-02-08 13:36:28 +00:00
Martin Kojtal
733975220d
Merge pull request #14228 from ARMmbed/rename_greentea_test_macro
...
CMake: rename greentea test macro
2021-02-03 14:17:20 +00:00
Martin Kojtal
40cd33001d
Merge pull request #14195 from jeromecoutant/PR_LORA_BARE
...
LoraRadio test update for baremetal support
2021-02-03 09:31:41 +00:00
Martin Kojtal
5e1d13886c
Merge pull request #14202 from paul-szczepanek-arm/fix-stop-advert
...
BLE: return OK when stopping advertising set that is not active
2021-02-03 09:31:24 +00:00
Rajkumar Kanagaraj
6824b14e48
CMake: rename greentea test macro
2021-02-02 07:43:40 -08:00
Martin Kojtal
276e835e4b
Merge pull request #14181 from hugueskamba/hk_cmake_greentea_mbedtls
...
CMake: Add support for Mbed TLS Greentea tests
2021-02-02 14:17:18 +00:00
Martin Kojtal
956b19775c
Merge pull request #14197 from paul-szczepanek-arm/gtest
...
Upgrade gtest to 1.10
2021-02-01 10:44:11 +00:00
Martin Kojtal
04100a14c2
Merge pull request #14092 from hugueskamba/hk_nfc_m24sr_support
...
NFC: Add support for M24SR driver
2021-02-01 09:39:26 +00:00
Paul Szczepanek
bd5f437896
return OK when stopping advertising that is not active
2021-01-27 16:32:57 +00:00
Paul Szczepanek
2fe6c7aa52
upgrade gtest to 1.10
2021-01-26 17:25:44 +00:00
jeromecoutant
dd602689d2
LoraRadio test update for baremetal support
2021-01-26 14:47:56 +01:00
Hugues Kamba
d0076a9e61
NFC: Add support for M24SR driver
...
The repository https://github.com/ARMmbed/mbed-nfc-m24sr
is no longer required to build applications that require
this driver.
2021-01-26 10:33:06 +00:00
Hugues Kamba
9a1c24e254
CMake: Add support for Mbed TLS Greentea tests
...
The Mbed TLS Greentea tests can now be built with CMake.
2021-01-25 10:48:15 +00:00
Martin Kojtal
83c18dd67c
Merge pull request #14099 from hugueskamba/hk_cmake_greentea_cordio
...
CMake: Add support for CORDIO Greentea tests
2021-01-20 21:14:33 +00:00
Martin Kojtal
dc40c47cfa
Merge pull request #14169 from artokin/nanostack_release_12_8_0_to_master
...
Nanostack release v12.8.0
2021-01-20 14:38:16 +00:00
Martin Kojtal
5860bd3eea
Merge pull request #14126 from urutva/fix-mbedtls-sanity-test
...
tests: Limit PSA crypto tests to Arm-v7M targets
2021-01-20 12:35:44 +00:00
Arto Kinnunen
4d13419f38
Add nsdynmem_tracker_lib.c to CMakeLists.txt
2021-01-20 13:09:06 +02:00
Arto Kinnunen
0810306ca4
Add random_early_detection to CMakeLists.txt
2021-01-20 11:43:43 +02:00
Martin Kojtal
8145477cab
Merge pull request #14098 from hugueskamba/hk_cmake_greentea_lorawan
...
CMake: Add support for LoRaWAN Greentea tests
2021-01-20 08:34:50 +00:00
Martin Kojtal
8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
...
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Martin Kojtal
4324d32d7c
Merge pull request #14148 from mikaleppanen/nano_coverity_corr_master
...
Corrected nanostack coverity warnings
2021-01-20 08:05:00 +00:00
Paul Szczepanek
5d26114458
astyle
2021-01-19 14:47:02 +00:00
Paul Szczepanek
5ef1f161c3
Update cert for testing server
2021-01-19 13:25:16 +00:00
Arto Kinnunen
0c4294b1af
Merge commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508'
...
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a693..3183d87e41
2021-01-19 11:53:20 +02:00
Arto Kinnunen
a13d6ab0f3
Merge commit 'aad453e0ac69b9de3b3e218c21a423bebd506174'
...
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
2021-01-19 11:52:43 +02:00
Arto Kinnunen
6354a1e8dc
Merge commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793'
...
* commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
2021-01-19 11:43:02 +02:00
Arto Kinnunen
06b913ff7e
Merge commit '2f56ffab52d78986aebc1a290f106f5cf58830f8'
...
* commit '2f56ffab52d78986aebc1a290f106f5cf58830f8':
Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from 86cf0cca08..fb20d3f32c
2021-01-19 11:38:59 +02:00
Arto Kinnunen
908278f771
Merge commit '61315d197624480acfe555a3031228e62a55b239'
...
* commit '61315d197624480acfe555a3031228e62a55b239':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from ae4ef1b197..b1a8186d75
2021-01-19 11:33:45 +02:00
Martin Kojtal
f8e586492f
Merge pull request #14091 from hugueskamba/hk_cmake_greentea_nfc
...
CMake: Add support for NFC Greentea test
2021-01-19 09:24:59 +00:00
jeromecoutant
7ab7933d12
STM32 / CMAKE / mbedtls : correct CMakeLists.txt files
2021-01-15 11:46:26 +01:00
Hugues Kamba
9985392c09
CMake: Add support for LoRaWAN Greentea test
...
The LoRaWAN Greentea test can now be built with CMake.
2021-01-14 17:35:16 +00:00
Hugues Kamba
5616537c3a
CMake: Add MbedTLS dependency to LoRaWAN library
...
This way applications that need LoRaWAN do need to also add MbedTLS
2021-01-14 17:32:00 +00:00
Martin Kojtal
82f3126ab8
Merge pull request #14049 from jeromecoutant/PR_L072_LORA
...
DISCO_L072CZ_LRWAN1: enable LORA by default
2021-01-14 17:16:19 +00:00
Devaraj Ranganna
61009ba05a
tests: Limit PSA crypto tests to Arm-v7M targets
...
The PSA crypto tests in
connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp are only
supported for Arm-v7M PSA targets. For Arm-v8M PSA targets, crypto
regression tests provided by TF-M are used. Refer to
https://github.com/ARMmbed/mbed-os-tf-m-regression-tests for more
information.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:56:04 +00:00
Devaraj Ranganna
9186fe57b2
tests: Fix test_crypto_asymmetric_encrypt_decrypt
...
The test `test_crypto_asymmetric_encrypt_decrypt` was incorrectly
setting the key usage flags. The key usage is updated to support both
encryption and decryption.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:52:36 +00:00
Mika Leppänen
1e3d32ad41
Corrected nanostack coverity warnings
2021-01-13 13:05:51 +02:00
Martin Kojtal
8fb31d7ec3
Merge pull request #14008 from MultiTechSystems/mtqn-cpsms
...
Add proper power save mode command format for MTS_DRAGONFLY_L471
2021-01-12 15:16:01 +00:00
Hugues Kamba
edab3140e2
CMake: Add support for NFC Greentea test
...
The NFC Greentea test can now be built with CMake
2021-01-12 10:57:27 +00:00
jeromecoutant
e0217ad9f7
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
2021-01-12 11:42:07 +01:00
jeromecoutant
c3664d2339
LORA: update test
2021-01-12 11:42:06 +01:00
jeromecoutant
80aa710a48
LORA-DRIVER: add pins in json configuration
2021-01-12 11:42:04 +01:00
Martin Kojtal
265aa4cc92
Merge pull request #14103 from hugueskamba/hk_cmake_greentea_netsocket_network
...
CMake: Add support for netsocket/network Greentea tests
2021-01-12 10:40:20 +00:00
jeromecoutant
61059d45e4
STM32F439 : correct cmake compilation
2021-01-11 18:07:58 +01:00
Hugues Kamba
088ce195b6
CMake: Add support for netsocket/network Greentea tests
...
The netsocket/network Greentea tests can now be built with CMake
2021-01-11 16:34:07 +00:00
Hugues Kamba
51bd84ef7d
CMake: Add support for CORDIO Greentea tests
...
The Cordio Greentea tests can now be built with CMake.
2021-01-11 16:30:29 +00:00
Martin Kojtal
15de1aae18
Merge pull request #14101 from rajkan01/add_cmake_greentea_netsocket
...
CMake: Add CMake support for netsocket greentea test
2021-01-11 15:38:55 +00:00
Martin Kojtal
53776fec43
Merge pull request #14125 from pan-/fix-sm-key-generation
...
BLE: Fix Security Manager key generation
2021-01-11 13:39:19 +00:00
Martin Kojtal
a124bcab32
Merge pull request #14048 from mikaleppanen/corr_cert_add
...
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-11 11:19:26 +00:00
Vincent Coubard
4cfcadd9e9
BLE: Fix SM random number generation.
...
Ensure the more than 8 random bytes are fetched from the stack.
2021-01-07 12:38:47 +00:00
Vincent Coubard
b28e11574a
BLE: Regenerate CSRK if it is all zeroes.
2021-01-07 12:35:24 +00:00
Rajkumar Kanagaraj
48829eee60
CMake: Add CMake support for netsocket greentea test
2021-01-05 09:11:22 -08:00
Martin Kojtal
dd4eca1b69
Merge pull request #14100 from hugueskamba/hk_cmake_fix_ambiq_ble
...
CMake: Fix path to Ambiq BLE source file
2021-01-05 15:50:32 +00:00
Martin Kojtal
d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
...
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Hugues Kamba
a1e80925af
CMake: Fix path to Ambiq BLE source file
...
Update the hci_drv_apollo3.c listing as the file location was changed.
2021-01-05 13:50:50 +00:00
Martino Facchin
62b6cc9a05
cmake: STM32H7: enable PORTENTA* target
2021-01-05 14:49:37 +01:00
Martin Kojtal
e1d1753726
Merge pull request #14111 from paul-szczepanek-arm/ble-fix-ext
...
BLE: fix scanning/advertising when extended features are available but disabled on host
2021-01-05 13:28:13 +00:00
Martin Kojtal
ce825bcd45
Merge pull request #14084 from paul-szczepanek-arm/gatt-copy-callbacks
...
BLE: Fix GattServer callbacks not being copied to GattServer instance of the service
2021-01-05 11:26:25 +00:00
paul.szczepanek@arm.com
2e714f4b6f
compile out trace when not available
2021-01-04 19:38:03 +00:00
paul.szczepanek@arm.com
6746573b34
add missing guards for extended advertising feature
2021-01-04 18:05:50 +00:00
Paul Szczeanek
5e99ea8d7e
correct the documentation for GattServer::addService
2021-01-04 17:11:03 +00:00
Paul Szczeanek
cdc8845b3c
copy authorsation callbacks to gattserver
2021-01-04 17:11:03 +00:00
Martino Facchin
a723b4ce23
cmake: STM32H7: fix mbed-emac target
2021-01-04 17:31:54 +01:00