jeromecoutant
777b2730bd
STM32WL LORA: HW specific out of STM32WL_LoRaRadio class
2021-06-03 13:19:32 +02:00
Martin Kojtal
be9850be53
Merge pull request #14701 from donatieng/utf-8-check
...
Add Travis test to make sure text files are UTF-8 encoded
2021-06-02 15:49:14 +02:00
Donatien Garnier
decd7d0167
Convert shci.h from (presumably) latin1 encoding to UTF-8
2021-06-02 12:12:34 +01:00
Paul Szczepanek
c51dc2f6cc
set to pending only after issuing command
2021-06-02 12:06:43 +01:00
Paul Szczepanek
b21ee6b0a0
add information about privacy refresh to config option
2021-06-02 12:06:12 +01:00
Paul Szczepanek
8ec7cfd820
start and stop adv sets in batches
2021-06-01 22:38:39 +01:00
Paul Szczepanek
0670470af6
add config for number of pending adv sets starting
2021-06-01 22:38:13 +01:00
Paul Szczepanek
8dedd43e7c
add status to start and stop events
2021-06-01 22:37:43 +01:00
Paul Szczepanek
e99741dd3d
change function names
2021-06-01 15:45:08 +01:00
Martin Kojtal
0738aabb87
Merge pull request #14710 from noonfom/non-low-power-devices
...
BLE: support non-low power devices
2021-06-01 11:26:21 +02:00
Martin Kojtal
da13755a9f
Merge pull request #14699 from jeromecoutant/PR_ASTYLE
...
STM32 astyle format
2021-06-01 10:02:34 +02:00
Martin Kojtal
bfedc39f7c
Merge pull request #14471 from arduino/whd_patch
...
COMPONENT_WHD: make reusable code available for other targets
2021-05-31 15:49:25 +02:00
Martin Kojtal
bc7fc2b2e7
Merge pull request #14708 from Patater/fix-test-function-return
...
test: Fix function does not return a value warnings
2021-05-31 12:20:00 +02:00
Martin Kojtal
a2d62f9597
Merge pull request #14652 from Patater/upgrade-mbedtls-2.25.0
...
tls: Upgrade to Mbed TLS v2.25.0
2021-05-31 11:36:26 +02:00
Abbas Bracken Ziad
8ee7fb8642
BLE: support non-low power devices
2021-05-27 10:11:05 +01:00
Jaeden Amero
8ce03867c2
test: at: Remove dead code
...
Remove two expressions from at_cellularcontexttest that do nothing. This
fixes the following two warnings.
connectivity/cellular/tests/UNITTESTS/framework/AT/at_cellularcontext/at_cellularcontexttest.cpp:61:67: warning: expression result unused [-Wunused-value] ATHandler_stub::int_valid_count_table[kRead_int_table_size]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^
connectivity/cellular/tests/UNITTESTS/framework/AT/at_cellularcontext/at_cellularcontexttest.cpp:64:66: warning: expression result unused [-Wunused-value] ATHandler_stub::read_string_table[kRead_string_table_size];
2021-05-27 09:38:18 +01:00
Jaeden Amero
7f7571657e
test: Fix function does not return a value warnings
...
Many test stub functions are meant to return a value, but weren't. Clang
would generate a warning for each instance where we weren't returning
anything in a function that was meant to return a value.
warning: non-void function does not return a value [-Wreturn-type]
For a specific example, my_radio::time_on_air() is supposed to return a
uint32_t, but wasn't returning anything. We'll return a zero instead of
relying on undefined behavior.
Without this, clang 11.0.1 was generating a virtual function
implementation with a `ud2` instruction to abort at run-time, causing
some execution of some unit tests to abort.
Running main() from gmock_main.cc
[==========] Running 10 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 10 tests from Test_LoRaPHYUS915
[ RUN ] Test_LoRaPHYUS915.constructor
[ OK ] Test_LoRaPHYUS915.constructor (0 ms)
[ RUN ] Test_LoRaPHYUS915.restore_default_channels
[ OK ] Test_LoRaPHYUS915.restore_default_channels (0 ms)
[ RUN ] Test_LoRaPHYUS915.rx_config
[ OK ] Test_LoRaPHYUS915.rx_config (0 ms)
[ RUN ] Test_LoRaPHYUS915.tx_config
Process 35669 stopped
* thread #1 , name = 'lorawan-loraphy-', stop reason = signal SIGILL: privileged instruction
frame #0 : 0x0000000000276f73 lorawan-loraphy-us915-unittest`my_radio::time_on_air(this=0x0000000800c2b048, modem=MODEM_LORA, pkt_len='\0') at Test_LoRaPHYUS915.cpp:90:5
87 };
88
89 virtual uint32_t time_on_air(radio_modems_t modem, uint8_t pkt_len)
-> 90 {
91 };
92
93 virtual bool perform_carrier_sense(radio_modems_t modem,
(lldb) disassemble --pc
lorawan-loraphy-us915-unittest`my_radio::time_on_air:
-> 0x276f73 <+67>: ud2
0x276f75: int3
0x276f76: int3
0x276f77: int3
(lldb)
2021-05-27 09:38:18 +01:00
Rajkumar Kanagaraj
50fc85dc44
CMake: Remove all unittest.cmake script from test suite
...
- Remove redundant cmake script as already added the CMake configuration file
- Remove redundant empty_baseline as it is no longer needed with the help of CMake configuration file
2021-05-26 07:09:14 -07:00
Anna Bridge
ef0b31ab53
Merge pull request #14629 from artokin/phy_mode_and_channel_plan_master
...
Mesh api: Added PHY mode, channel plan IDs and configuration functions
2021-05-25 14:04:32 +01:00
jeromecoutant
cfd86882d3
STM32H7 astyle
2021-05-25 14:45:52 +02:00
Anna Bridge
8b1cd98a8e
Merge pull request #14574 from noonfom/string-buffer-length
...
Fix string buffer length in UUID trace helper
2021-05-25 12:38:06 +01:00
jeromecoutant
645fed5393
STM32WB HCI driver: Add check for code size configuration
2021-05-25 12:06:55 +02:00
Yahya Tawil
ae31d20904
Merge branch 'master' into master
2021-05-24 20:04:41 +03:00
Anna Bridge
77927d0c7a
Merge pull request #14684 from AGlass0fMilk/fix-kvstore-security-db
...
Fix missing `as_entry` method in KVStoreSecurityDb
2021-05-24 13:22:31 +01:00
Anna Bridge
39922228d6
Merge pull request #14683 from jeromecoutant/PR_WBBARE
...
Baremetal tests: enable BLE tests with NUCLEO_WB55RG
2021-05-24 13:20:55 +01:00
Anna Bridge
ae62f9d02c
Merge pull request #14674 from anttiylitokola/master
...
Update mbed-coap to version v5.1.10
2021-05-24 13:18:53 +01:00
Anna Bridge
4e586a93d3
Merge pull request #14426 from ARMmbed/feature_unittest_refactor
...
CMake: Refactor UNITTESTS CMake
2021-05-24 13:04:22 +01:00
Yahya Tawil
6318e3a3b7
Solve the type error in one of the tracing msgs
...
Adapted from #14684
2021-05-22 11:49:49 +03:00
Yahya Tawil
997b523284
Add the missing definition for `as_entry`
2021-05-22 11:46:34 +03:00
Yahya Tawil
27e64a82b8
Add the missing mbed-storage libraries
...
Refer to #14660
2021-05-22 11:40:36 +03:00
Rajkumar Kanagaraj
6d4caad83d
CMake: Move CMAKE_CROSSCOMPILING check inside library CMake
2021-05-20 06:26:10 -07:00
George Beckstein
2578c5356b
Fix missing `as_entry` method in KVStoreSecurityDb
...
This commit introduces changes to fix a missing method, `as_entry`, and traces that were not updated properly to work with this new method.
Prior to this fix, it was not possible to use KVStoreSecurityDb as the build would fail since the `as_entry` method was not declared in the class header file.
This bug was introduced with commit 957486e0eb in PR ARMmbed/mbed-os#14198
2021-05-19 16:38:13 -04:00
jeromecoutant
ba6d664ff2
Baremetal tests: enable BLE tests with NUCLEO_WB55RG
2021-05-19 17:52:48 +02:00
Paul Szczepanek
4767b7e1ac
fix missing observer ifdefs
2021-05-18 20:58:26 +01:00
Antti Yli-Tokola
18728957b5
Update mbed-coap to version v5.1.10
...
- Fix regression from previous release concerning 1024 byte blocksize operations.
- Do not store ACK's into duplicate list.
- Code size optimizations
2021-05-18 13:24:20 +03:00
Paul Szczepanek
910b7a6438
clear the pal gap queue on reset
2021-05-18 10:39:20 +01:00
Paul Szczepanek
30cd6071cf
remove stopping sets since controller resets them
2021-05-18 10:24:16 +01:00
Paul Szczepanek
ab123d3e22
advertising start queued up waiting for completion
2021-05-17 19:37:26 +01:00
Jaeden Amero
f275a83593
tls: Add fix for Mbed TLS configuration issue
...
Until we have a fix for https://github.com/ARMmbed/mbedtls/issues/4512 ,
we need to patch the fix during import time. Otherwise, we run into
linker errors when PSA attempts to use RSA key generation, which we've
excluded.
This patch is extracted from
https://github.com/ARMmbed/mbedtls/pull/4513
2021-05-14 10:51:04 +01:00
Abbas Bracken Ziad
0ec4a57a6c
Fix string buffer length in UUID trace helper
2021-05-13 11:56:23 +01:00
Jaeden Amero
9360e0fe82
tls: Upgrade to Mbed TLS v2.25.0
2021-05-12 15:49:36 +01:00
Martin Kojtal
541ae06545
Merge pull request #14619 from debdeep-arm/ws-stats-nbr-table-master
...
Add API to get Wi-SUN Neighbor Table
2021-05-12 16:28:33 +02:00
Martin Kojtal
0f907d7620
Merge pull request #13791 from Patater/default-random-seed-experimental
...
mbedtls: Don't attempt to use default_random_seed
2021-05-12 11:03:52 +02:00
Robert Walton
31926c81e0
mbedtls_stub: Add missing include
...
mbedtls_stub uses memset but doesn't add the <string.h> include. This
causes build failures with clang.
Add the include so we can build unit tests using clang.
2021-05-11 12:47:51 +01:00
Rajkumar Kanagaraj
f096b3b3c3
Fix missing newline
2021-05-11 04:22:26 -07:00
Rajkumar Kanagaraj
a88f43f367
CMake: Update mbed os, unittest CMake and add CMAKE_CROSSCOMPILING guard
...
- Add a new MbedOS project in mbed os root CMake which can be used along with
BUILD_TESTING conditional check for enabling the unittest build
- Update UNITTEST CMake for setting the CMake configuration like c, cxx flags etc.,
- Add if CMAKE_CROSSCOMPILING conditional check wherever target configuration check
and toolchain configuration to avoid such configuration gets included for unittest build.
2021-05-11 02:49:03 -07:00
Martin Kojtal
125f58449d
Merge pull request #14497 from jarlamsa/no_duplicate_status_cb
...
Check for duplicate status callbacks before adding to the list
2021-05-11 11:41:06 +02:00
Rajkumar Kanagaraj
4ade0bdbea
CMake: Fix DTLS socket unittest
...
- Binding the socket address into network stack to avoid socket connect API call hangs in the unittest
2021-05-11 02:29:56 -07:00
Paul Szczepanek
452c45b37a
CMake: Update target_h stub headers
...
- Avoid using cmsis headers as it brings more redundant dependency into unittest build and for unittest build, all the required OS flags can provide from mbed rtos types header so replaced cmsis header with mbed os types header
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
bf4ec4a290
CMake: Refactor lorawan unittest cmake
...
- Add CMakeLists.txt file to all lorawan test suite
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
37d4bc2d9e
CMake: Refactore cellular framework unittest
...
- Add CMake configuration file into framework AT, device, common
unittest
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
c5a4fecd28
CMake: Refactor netsocket unittest CMake
...
- Add Cmake configuration file
- Fix the header inclusion in DTLSSocketWrapper and TLSSocketWrapper test
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
ba04c1cf76
CMake: Add add_subdirectory of unittests
...
- add every libraries unittest directory into respective CMake
which allows to include unittest source into build based on
MBED_BUILD_UNITTESTS flag
2021-05-11 02:29:56 -07:00
Martin Kojtal
b80128ff77
Merge pull request #14626 from jeromecoutant/DEV_STM32WB_1_11_1
...
STM32WB update drivers version to CUBE V1.11.1
2021-05-11 10:55:14 +02:00
Debdeep Saha
d963a9af4a
Added API to get Wi-SUN Neighbor Table
2021-05-10 20:00:32 +05:30
Martin Kojtal
26c6b75d3b
Merge pull request #14625 from paul-szczepanek-arm/fix-read-auth
...
BLE: Fix overwriting attribute data from read auth callback
2021-05-10 11:25:55 +02:00
Martin Kojtal
acb43441bb
Merge pull request #14627 from pan-/fix-stop-periodic-advertising
...
Dispatch Gap::stopPeriodicAdvertising to the right function.
2021-05-07 12:41:29 +02:00
Martin Kojtal
b7b4ca72cc
Merge pull request #14605 from paul-szczepanek-arm/tracix
...
BLE: Fix traces
2021-05-07 11:44:25 +02:00
pennam
5475c0995d
CMake add network subdirectory
2021-05-06 15:39:57 +02:00
pennam
665c83b3eb
Moved targets/TARGET_Cypress/TARGET_PSOC6/common/COMPONENT_WHD in connectivity/drivers/wifi/COMPONENT_WHD/network
2021-05-06 15:39:42 +02:00
pennam
6a4fd9d5e6
CMake add COMPONENT_WHD folder
2021-05-06 15:39:42 +02:00
pennam
a29ca0724c
COMPONENT_WHD moved into connectivity/drivers/wifi
2021-05-06 15:39:19 +02:00
Martino Facchin
9686fb6ac2
Patch add #include "cy_utlis.h"
2021-05-06 14:45:26 +02:00
Martino Facchin
ebbbcabb05
Patch add rtos namespace
2021-05-06 14:45:15 +02:00
pennam
7cdf97492a
CMake remove COMPONENT_WHD from emac/TARGET_Cypress
2021-05-06 14:44:58 +02:00
pennam
0db6218dc6
CMake add COMPONENT_WHD in emac
2021-05-06 14:44:41 +02:00
Martino Facchin
ead29d6b83
WHD EMAC moved out of TARGET_Cypress
2021-05-06 14:44:23 +02:00
Jarkko Paso
37e42fb1b7
Mesh API: Functions to set/get/validate FAN v1.1 domain configuration.
2021-05-06 09:27:04 +03:00
Jarkko Paso
6c7789e31e
Fixed astyle issue
2021-05-06 09:24:33 +03:00
Jarkko Paso
2f4b3426cb
Mesh api: Added PHY mode and channel plan IDs
2021-05-06 09:11:20 +03:00
Paul Szczepanek
2041cc6b57
don't copy data into attr if size too big
2021-05-05 19:01:13 +01:00
Paul Szczepanek
0155bce867
allow zero length attribute reads
2021-05-05 18:58:24 +01:00
Paul Szczepanek
17bf70989d
ignore offset, replace whole value of attr in auth callback
2021-05-05 18:40:59 +01:00
Vincent Coubard
cec8a9dc8c
Dispatch Gap::stopPeriodicAdvertising to the right function.
2021-05-05 18:32:47 +01:00
jeromecoutant
f904d10bd6
STM32WB : BLE update from STM32Cube_FW_WB_V1.11.1
2021-05-05 17:22:54 +02:00
Paul Szczepanek
55ffb176d5
Copy data from read auth callback
2021-05-05 14:31:35 +01:00
Jaeden Amero
2300a56863
mbedtls: Don't attempt to use default_random_seed
...
Don't attempt to use default_random_seed unless both PSA and Experimental API
support are enabled. This prevents errors when the Mbed TLS NV Seed feature is
being used on platforms that have PSA enabled by default, but not Experimental
API support by default.
[DEBUG] Output: compilation terminated.
[ERROR] In file included from ./mbed-os/connectivity/mbedtls/include/mbedtls/config.h:31,
from ./mbed-os/connectivity/mbedtls/include/mbedtls/entropy.h:28,
./mbed-os/connectivity/mbedtls/platform/inc/platform_mbed.h:26:10: fatal error: default_random_seed.h: No such file or directory
26 | #include "default_random_seed.h"
2021-05-04 13:56:54 +01:00
Martin Kojtal
6330299ac5
Merge pull request #14578 from jeromecoutant/PR_WB55MMG
...
STM32 : new DISCO_WB5MMG target
2021-05-04 10:48:26 +02:00
Martin Kojtal
dace32aef6
Merge pull request #14602 from paul-szczepanek-arm/conf
...
Deprecate indications event onConfirmationReceived
2021-05-03 09:55:08 +02:00
Martin Kojtal
31d638dc1a
Merge pull request #14603 from paul-szczepanek-arm/compat
...
Avoid init class definition for compatibility
2021-05-03 09:54:54 +02:00
Martin Kojtal
1f57702d79
Merge pull request #14571 from boraozgen/bugfix/cmake-stm32-emac-init
...
CMake: STM32: Add missing emac init files
2021-04-30 15:40:05 +01:00
Martin Kojtal
64eb60e4cc
Merge pull request #14573 from artokin/nanostack_release_13_0_0_for_master
...
Nanostack release v13.0.0
2021-04-30 15:39:41 +01:00
Paul Szczepanek
f872dfa5ca
convert bitfield to bools
2021-04-29 19:07:31 +01:00
Paul Szczepanek
7211cd3e77
fix sm init trace to print string
2021-04-29 16:09:04 +01:00
Paul Szczepanek
52bc9e9f51
fix misleading privacy trace
2021-04-29 16:08:52 +01:00
Paul Szczepanek
172e9697da
avoid init in header for compatibility
2021-04-28 16:29:26 +01:00
jeromecoutant
ebc0035afd
STM32 : new DISCO_WB5MMG target
2021-04-28 16:46:52 +02:00
Paul Szczepanek
b61fc6b639
Deprecate indications event onConfirmationReceived
2021-04-28 14:02:56 +01:00
Martin Kojtal
331473a706
Merge pull request #14589 from plan-do-break-fix/Typo-corrections
...
fix(docs): corrects various typos in project documentation
2021-04-28 13:36:37 +01:00
Martin Kojtal
6f43f03657
Merge pull request #14553 from debdeep-arm/reset-ws-stats-master
...
Added API to reset MAC statistics and Wi-SUN statistics
2021-04-28 12:35:07 +01:00
plan-do-break-fix
915b45af23
fix(docs): corrects various typos in project documentation
2021-04-23 23:31:11 -05:00
Peter B
40c7914c64
add #include "wsf_os.h" into hci_drv_apollo3.h
...
Inclusion of wsf_os.h resolves unknown type errors in hci_drv_apollo3.h
2021-04-23 12:19:54 +02:00
Arto Kinnunen
2773394947
Merge commit 'fb72e8eba714116d3578e4f53010b104f48459f0' into nanostack_release_13_0_master
...
* commit 'fb72e8eba714116d3578e4f53010b104f48459f0':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
2021-04-21 10:20:07 +03:00
Arto Kinnunen
776d5db357
Merge commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81' into nanostack_release_13_0_master
...
* commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from a526cc3f41..260d80f42d
2021-04-21 10:17:34 +03:00
Arto Kinnunen
6ad0cff2c8
802.15.4 STM S2LP driver update
...
Update STM S2LP driver to version v1.0.8
2021-04-21 10:14:04 +03:00
Arto Kinnunen
327ea8fa0f
802.15.4 Atmel RF driver update
...
Sync with master version v3.3.5
2021-04-21 10:11:52 +03:00
Bora Özgen
f365860f3e
CMake: STM32: Add missing emac init files
2021-04-20 16:31:02 +02:00
Martin Kojtal
216965e7e1
Merge pull request #14463 from mikaleppanen/start_wisun_if
...
Wisun: Add new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
2021-04-15 17:30:22 +02:00
Debdeep Saha
83844f0fd4
Added API to reset MAC statistics and Wi-SUN statistics.
2021-04-15 18:28:44 +05:30
Martin Kojtal
7f42511673
Merge pull request #14529 from LDong-Arm/cmake_MULADDC
...
CMake: Fix Mbed TLS compilation on Cortex-M0/0+/1/M23
2021-04-15 14:29:27 +02:00