Commit Graph

33704 Commits (bfe24ce64d07f330658c238ca247a6de60a8a036)

Author SHA1 Message Date
Hari Limaye bfe24ce64d Greentea: Remove unused variable from ticker test
Ticker test contains definition of variable total_ticks, which is unused
in the file since removal of function wait_and_print() in commit
aaa15bcf58
2021-07-21 12:21:58 +01:00
Martin Kojtal 146c98ccd6
Merge pull request #14920 from hazzlim/refactor-connectivity-netsocket-unittests
Refactor connectivity netsocket unittests
2021-07-20 14:58:40 +02:00
Martin Kojtal 2181d7cc77
Merge pull request #14924 from ARMmbed/refactor_cellular_unittest
Refactor cellular unittest CMake
2021-07-20 10:09:57 +02:00
Martin Kojtal 26889ca2f7
Merge pull request #14927 from paul-szczepanek-arm/master
add workflow for checking ble feature selection compilation
2021-07-20 10:09:47 +02:00
Martin Kojtal 2bb1539ec4
Merge pull request #14922 from ARMmbed/at-handler-fix
Cellular: AT command fix - hex string shouldn't be quoted on bc95
2021-07-20 10:04:02 +02:00
Martin Kojtal c9234177c1
Merge pull request #14921 from paul-szczepanek-arm/fix-ble-default-db
BLE: suppress error when no path is passed in for ble security db
2021-07-20 10:02:28 +02:00
Martin Kojtal 1a7175d0a7
Merge pull request #14919 from paul-szczepanek-arm/fix-feature-toggle
BLE: fix missing define guards for feature selection
2021-07-20 10:02:12 +02:00
Martin Kojtal 11439bf264
Merge pull request #14909 from DDC-NDRS/ndrs-pst
SPIF: fixed _address_size to always initialize as 3_BYTES in ::init()
2021-07-20 09:55:08 +02:00
Martin Kojtal b6e044a2f3
Merge pull request #14894 from hazzlim/refactor-connectivity-lorawan-unittests
Unit tests: Connectivity: Make lorawan test header dependencies explicit
2021-07-20 09:54:49 +02:00
Martin Kojtal 2a24d81ef0
Merge pull request #14821 from boraozgen/rtos-events-enable
RTOS: Add configuration to enable RTX events
2021-07-20 09:47:59 +02:00
Martin Kojtal a07ec0bfeb
Merge pull request #14805 from rkotan/I2C_Multiple_Buses_fix
i2c: fix issue #14735 with multiple buses
2021-07-20 09:44:59 +02:00
ndrs-pst 8394988354 SPIF: Moving _address_size = SPIF_ADDR_SIZE_3_BYTES from constructors into ::init() instead 2021-07-19 17:30:00 +07:00
Hari Limaye 14cab32df4 Unittests: Make netsocket test header dependencies explicit
The CMake target `mbed-headers` brings in all
headers, and we are gradually moving away from it and explicitly use
only headers needed by each unit test.
2021-07-19 10:37:45 +01:00
Hari Limaye 4e54bf94d0 Unittests: Replace files with stubs in netsocket unit tests
Some netsocket unit tests depend on nanostack-libservice library, but
should use stubs instead of including the source files. We remove the
source files and link to mbed-stubs-nanostack-libservice.
2021-07-19 10:37:25 +01:00
Hari Limaye 8ad216ae1a Unittests: Clean up unused sources from netsocket
Some source files included when building netsocket unit tests with CMake
were determined to be unused by removing the files from target_sources()
and verifying that the tests still built and ran successfully. These
files have been removed from CMake builds.
2021-07-19 10:37:16 +01:00
Hari Limaye 47943dcf3d Unittests: connectivity: remove trailing whitespace 2021-07-19 10:36:54 +01:00
Paul Szczepanek dd16aa76d2 run only on feature ble changes 2021-07-16 10:20:38 +01:00
Paul Szczepanek b960dfcaf3 run test on push instead of weekly 2021-07-16 10:16:19 +01:00
Paul Szczepanek 413882e7ae add workflow for checking ble feature selection compilation 2021-07-15 17:37:13 +01:00
Rajkumar Kanagaraj f32a3cbeb7 CMake: Limit cellular device cmake to use mocks/sources what it depends
Update cellular device unit tests CMake depends on a mock, which is
required for the test instead of depending on the group of mbed-stubs,
mbed-headers, mbed_stub_headers, libraries.
Limit the cellular context unit test CMake target_sources to keep only
required sources
2021-07-15 06:27:28 -07:00
Rajkumar Kanagaraj 27bfa906c6 CMake: Limit cellular common unit tests to use mocks what it depends
Update cellular common unit tests CMake depends on a mock, which is
required for the test instead of depending on the group of
mbed-headers libraries.
2021-07-15 06:25:50 -07:00
Rajkumar Kanagaraj 6cf1211b3a CMake: Limit at cellular unittest to use mock what it depends
Update AT cellular unit tests CMake depends on a mock, which is required
for the test instead of depending on the group of mbed-stubs,
mbed-headers, mbed_stub_headers, libraries.
2021-07-15 06:17:07 -07:00
Paul Szczepanek a8982ca06e AT command fix - hex string shouldn't be quoted on bc95 2021-07-14 21:43:53 +01:00
Paul Szczepanek 8a4b278a38 suppress error when no path is passed in for ble sec db 2021-07-14 17:26:57 +01:00
Hari Limaye db2042755c Unit tests: Make lorawan test header dependencies explicit
To quote @LDong-Arm - "The CMake target `mbed-headers` brings in all
headers, and we are gradually moving away from it and explicitly use
only headers needed by each unit test."
2021-07-14 15:27:30 +01:00
Paul Szczepanek 7ba7f3e667 fix toggling off ble feature signing 2021-07-14 15:13:13 +01:00
mbedmain d147abc3e5 Update Mbed version block 2021-07-14 11:11:35 +01:00
Martin Kojtal 16d3e998fa
Merge pull request #14915 from arduino/i2c_timing_fix
STM32 Fix i2c_compute_timing() API
2021-07-13 16:20:15 +02:00
Martin Kojtal 9a591453b3
Merge pull request #14896 from ARMmbed/move_connectivity_nanostack_libservice_stub
Move connectivity nanostack libservice stub
2021-07-13 16:19:21 +02:00
Rajkumar Kanagaraj d488597a97 CMake: Limit the mbed-stubs-nanostack-libservice to required dependency mocks 2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj 22b2e9f800 CMake: Add mbed-headers-nanostack-libservice library
Previously all nanostack libservice headers part of
mbed-headers-connectivity. This PR moves all the nanostack
libservice headers into newly added mbed-headers-nanostack-libraries.
This makes the nanostack libservice stubs more self-contained and
improves the composition of the library.
2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj d95bf96bbf CMake: Move nanostack libservice stubs to the connectivity/libraries dir
Move the connectivity nanostack-libservice stubs into the connectivity/libraries
directory where the nanostack libservice component present as nanostack
libservice source copied from the external repo. So we can avoid duplicating
the mbed-os source tree in a central UNITTESTS folder.
2021-07-13 05:49:53 -07:00
Martin Kojtal f37b0c485b
Merge pull request #14905 from jeromecoutant/PR_STM32CUSTOM
STM32 : README updates about custom boards
2021-07-13 14:22:01 +02:00
Martin Kojtal 46b411d5b2
Merge pull request #14890 from ARMmbed/move_connectivity_mbedtls_stubs
Move connectivity mbedtls stubs
2021-07-13 14:21:25 +02:00
pennam ccf8995858 STM32 Fix i2c_compute_timing() API 2021-07-13 14:07:12 +02:00
Martin Kojtal 0ea3f0cc53
Merge pull request #14787 from dustin-crossman/pr/june-asset-update
Cypress Asset Update
2021-07-13 12:53:26 +02:00
jeromecoutant 2bdd68f0d0 STM32WL README update for custom boards 2021-07-13 12:22:36 +02:00
jeromecoutant 8462a19207 STM32 README update for custom boards 2021-07-13 12:08:46 +02:00
Martin Kojtal abd32c70e4
Merge pull request #14895 from AnishKumarHCL/skip_analog_inn
ADC: STM32H7: Skip Negative input analog channels (INN)
2021-07-13 10:45:31 +02:00
Martin Kojtal 43fe6d9618
Merge pull request #14913 from artokin/update_stm_s2lp_rf_driver
802.15.4 stm-s2lp-rf-driver update to v1.0.10
2021-07-13 10:44:50 +02:00
Martin Kojtal 7095dc79fa
Merge pull request #14688 from MubeenHCLite/CAN_rxinterrupt_fix
Solution for mutex problem in CAN read ISR
2021-07-12 17:21:56 +02:00
Rajkumar Kanagaraj f5002269c0 CMake: Limit the mbed-stubs-mbedtls to required dependency mocks 2021-07-12 07:18:41 -07:00
Rajkumar Kanagaraj d57ed8d95a CMake: Move mbedtls stub headers to the mbedtls doubles dir
Previously all the mbedtls stubs headers under mbed-stubs-headers,
so this PR move all mbedtls stubs headers under
mbedtls/tests/UNITTESTS/double directory and update CMake to include
stubs headers into mbed-stubs-mbedtls library to make mbedtls stubs
to be self-contained.
2021-07-12 07:19:04 -07:00
Rajkumar Kanagaraj ef7699d824 CMake: Update netsocket, lorawan unittest to use mbed-stubs-mbedtls
Update netsocket and lorawan unit tests to link with a mbed-stubs-mbedtls
library that it depends on instead of link with mbed-stubs
which is a group of stubs libraries.
2021-07-12 07:18:41 -07:00
Rajkumar Kanagaraj 66019cb80e CMake: Move mbedtls stubs to the mbedtls dir
Move the connectivity mbedtls stubs into the connectivity/mbedtls
component directory. So we can avoid duplicating the mbed-os source
tree in a central UNITTESTS folder.
2021-07-12 07:18:41 -07:00
Arto Kinnunen c682e12c7e Merge commit '8a76989b8c269fc68dda3df16315e390ab6a58e4' into stm_rf_driver_fix
* commit '8a76989b8c269fc68dda3df16315e390ab6a58e4':
  Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from f491d77de8..7d12478914
2021-07-12 16:40:01 +03:00
Arto Kinnunen 8a76989b8c Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from f491d77de8..7d12478914
7d12478914 Initialise only configured GPIO pin (#77)

git-subtree-dir: connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver
git-subtree-split: 7d124789144549a5670b6e67866c1c9f2158beab
2021-07-12 16:40:01 +03:00
Martin Kojtal 3c2c5be298
Merge pull request #14824 from paul-szczepanek-arm/persistence-fix
BLE: Manual BLE security manager db synchronisation
2021-07-12 13:51:50 +02:00
Martin Kojtal dfd899654b
Merge pull request #14823 from ARMmbed/move_events_stub
Move events stubs to events dir
2021-07-12 13:51:31 +02:00
Jaeden Amero e70d8c66a7
Merge pull request #14904 from rwalton-arm/greentea_client_io
CMake: greentea: Fix io issue with greentea-client
2021-07-09 17:06:40 +01:00