Commit Graph

34016 Commits (c8b489ea9b6e1489cff5d0c4007940e9f79b076c)

Author SHA1 Message Date
Rajkumar Kanagaraj 863ef79ed4 CMake: Move events fakes into events double dir
Previously events fakes as part of UNITTESTS/fakes, this PR moves
events fakes to events double directory to make events stubs
to be self-contained.
2021-07-09 02:56:26 -07:00
Rajkumar Kanagaraj 99e16c2ff0 Remove trailing space 2021-07-09 02:56:26 -07:00
Rajkumar Kanagaraj 652b421388 CMake: unit-tests: Make events stub only depend on headers it uses
Previously the events stub library depended on `mbed-headers`, which
is a collection of all available headers in mbed-os. To make it easier
to separate the library, only depend on the headers we're using.
2021-07-09 02:56:26 -07:00
Rajkumar Kanagaraj 447754f6cf CMake: Move events stub headers to the events/tests/UNITTESTS/double dir
Move events stubs headers to the mbed-os/events/tests/UNITTESTS/double
directory and update double CMake to include stub headers
2021-07-09 02:56:26 -07:00
Rajkumar Kanagaraj 65d202b93b CMake: unit-tests: Move mbed-headers-events to the events directory
Move the header-only mbed-headers-events library the unit test stubs
depend on into the events component directory. This makes the events
stubs more self-contained and improves the composition of the library.
2021-07-09 02:56:26 -07:00
Rajkumar Kanagaraj 88410a5f85 CMake: Move events stubs sources to the mbed-os/events directory
Move the events stub into the events component directory.
so we can avoid duplicating the mbed-os source tree in a central
UNITTESTS folder.
2021-07-09 02:56:26 -07:00
Martin Kojtal 8a507e651e
Merge pull request #14870 from ARMmbed/move_rtos_stub_headers
CMake: Remove mbed-stubs-rtos-headers library
2021-07-09 10:33:49 +02:00
Martin Kojtal 705c61b0c2
Merge pull request #14898 from byq77/master
Fix gcc_arm linker script for stm32f407xg targets
2021-07-09 10:32:33 +02:00
jeromecoutant 9a7b1dbd1c STM32WL: correct CMakeLists.txt for STM32WLE5xC 2021-07-09 09:33:12 +02:00
Martin Kojtal 57ae146594
Merge pull request #14897 from jeromecoutant/PR_STWIN
ST BLUENRG BLE: STWIN SensorTile board introduction
2021-07-09 09:29:12 +02:00
Mohammed Mubeen d477efe780 Corrected the conditional compilation of RawCAN. 2021-07-09 11:34:25 +05:30
pennam 1da67b2da8 Add missing PBL header 2021-07-08 22:04:53 +02:00
Martino Facchin 133864a750 PortentaH7: add BLE support 2021-07-08 17:07:06 +02:00
pennam 1a0ab10e95 Temp portenta add COMPONENT_4343W_FS BLE firmware 2021-07-08 17:04:05 +02:00
Martin Kojtal 9b0f1907f5
Merge pull request #14227 from arduino/cyw43xxx_transport_layer
CYW43XXX: Add generic transport layer
2021-07-08 16:39:57 +02:00
Rajkumar Kanagaraj bb3cd37a5e CMake: Remove mbed-stubs-rtos-headers library
- Previous changes moved all rtos stubs headers into mbed-stubs-rtos-headers
lib, but the decision to keep all stubs headers under the respective
component stubs library so moved all stubs rtos headers under
mbed-stubs-rtos and updated it depend component CMake
- Remove unnecessary add_definition call for UNITTEST as any of the stubs library
added from UNITTEST/CMakeLists.txt is not required this macro
2021-07-08 07:14:56 -07:00
byq77 9b1399283e Fix gcc_arm linker script for stm32f407xg targets 2021-07-08 16:07:52 +02:00
Martin Kojtal 0e52d4946c
Merge pull request #14663 from arduino/whd_patch_portenta
Portenta: Add support to generic COMPONENT_WHD
2021-07-08 15:54:20 +02:00
jeromecoutant b4d80360c0 ST BLUENRG BLE: STWIN SensorTile board introduction
https://www.st.com/en/evaluation-tools/steval-stwinkt1.html
2021-07-08 14:58:00 +02:00
Martin Kojtal 1849bb55ed
Merge pull request #14817 from artokin/add_nanostack_system_time_callbacks_to_master
Add system time read/write callbacks to mbed-mesh-api
2021-07-08 14:38:18 +02:00
Martin Kojtal 1d5d3b054f
Merge pull request #14808 from affrinpinhero-2356/i2cTimingPerformanceSolved
driver/i2c: STM32: I2C performance issue solved.
2021-07-08 14:38:03 +02:00
Martin Kojtal 97b9754141
Merge pull request #14838 from katherrafi/set_mac_address
Eth: STM32:  Updating documentation on mbed_otp_mac_address()
2021-07-08 14:20:09 +02:00
Martin Kojtal 7350b03088
Merge pull request #14872 from hallard/STM32WLEx
Add STM32WLE5 for custom targets LORA_E5 and RAK3172
2021-07-08 13:25:24 +02:00
Martin Kojtal f937383384
Merge pull request #14843 from AnishKumarHCL/interrupt_in_multiple_gpio
InterruptIn : STM32: Implemented error catching for multiple gpio on the same  irq line
2021-07-08 13:25:10 +02:00
Martin Kojtal 3fcc8347a9
Merge pull request #14844 from AnishKumarHCL/analogout_free_implementation
Analogout free implementation for F4/F7/H7 boards
2021-07-08 13:24:50 +02:00
Martin Kojtal 6597cd1ff2
Merge pull request #14887 from MubeenHCLite/CAN_bittimings_update
Updated can bit timing parameters as per the ISO11898-2
2021-07-08 13:19:12 +02:00
Martin Kojtal 4dea34a126
Merge pull request #14803 from Patater/fetchcontent-greentea
Use standalone greentea-client
2021-07-08 11:08:08 +02:00
Dustin Crossman 4bce6471c1 Delete unnecessary assembler files (CI complains about them). 2021-07-07 10:56:58 -07:00
Martin Kojtal e145ae3acd
Merge pull request #14881 from jeromecoutant/PR_LED1
Standard Pin Name: LED1 issue for targets without LED
2021-07-07 17:53:44 +02:00
Martin Kojtal feb48fca2b
Merge pull request #14873 from ARMmbed/move_connectivity_netsocket_stubs
Move connectivity netsocket stubs
2021-07-07 17:45:47 +02:00
Jaeden Amero 8287c5221b
Merge pull request #14773 from rwalton-arm/move_platform_stub
Move mbed-stubs-platform to the platform directory
2021-07-07 16:33:35 +01:00
Jaeden Amero b490c67241
Merge pull request #14882 from LDong-Arm/storage_tests_cleanup
Unit tests: storage: Only use headers, sources and definitions needed by each test
2021-07-07 16:12:10 +01:00
Jaeden Amero dc6dd17bb0
Merge pull request #14884 from LDong-Arm/rm_UNITTEST_macro
Remove the `UNITTEST` macro from production code
2021-07-07 15:20:31 +01:00
Jaeden Amero ef07746443 cmake: Set MBED_TEST_MODE with INTERFACE
Set MBED_TEST_MODE with INTERFACE. Use INTERFACE because mbed-os is an
interface target, and we can only set INTERFACE properties on interface
targets. This helps avoid the following error when building an
application.

    CMake Error at mbed-os/CMakeLists.txt:96 (target_compile_definitions):
      target_compile_definitions may only set INTERFACE properties on INTERFACE
        targets
2021-07-07 14:29:14 +01:00
Jaeden Amero c3f3ed7661 cmake: Use namespaced greentea client library
When using an exported or installed version of greentea, it's necessary
to use the greentea namespace.
2021-07-07 14:29:14 +01:00
Jaeden Amero 4e2206e482 Use standalone greentea-client
For CMake or Mbed CLI 2, use the standalone greentea-client.
2021-07-07 14:29:14 +01:00
Jaeden Amero 20f6b5270f Add external greentea-client dependency
Use FetchContent to obtain greentea-client at version XXX.
2021-07-07 14:29:14 +01:00
Mohammed Mubeen b5e785efd3 Updated can bit timing parameters (TSEG1, TSEG2) as per the ISO11898-2
standard
2021-07-07 16:55:20 +05:30
Martin Kojtal fea4e928d0
Merge pull request #14835 from ARMmbed/move_stubs_cellular_headers
Move stubs cellular headers
2021-07-07 11:29:37 +02:00
Jaeden Amero 0940ffe37d Add extern folder for external dependencies
Any external libraries we depend on can be added from the "extern"
folder.
2021-07-07 09:49:26 +01:00
Rajkumar Kanagaraj ef0e3f99e4 CMake: Move netsocket stub headers to the netsocket doubles dir
Previously all the netsocket stubs headers under mbed-stubs-headers,
so this PR move all netsocket stubs headers under
netsocket/tests/UNITTESTS/double directory and update CMake to include
stubs headers into mbed-stubs-netsocket library to make netsocket stubs
to be self-contained.
2021-07-07 01:33:36 -07:00
Rajkumar Kanagaraj 68b46f6199 CMake: Add mbed-headers-netsocket headers library
- Previously, all netsocket headers made as a part of the
mbed-headers-connectivity library. To make it easier to separate all
the netsocket headers into the separate mbed-headers-netsocket library
and keep them, as part of netsocket stubs CMake. This makes the
netsocket stubs more self-contained and improves the composition of the library.
- Update cellular, netsocket unit tests to link only with a mbed-headers-netsocket
library that it depends on instead of link with mbed-headers
which is a group of headers libraries.
2021-07-07 01:33:36 -07:00
Rajkumar Kanagaraj cb343f9ba9 CMake: Update netsocket, cellular unittest to use mbed-stubs-netsocket
Update netsocket and cellular unit tests to link with a mbed-stubs-netsocket
library that it depends on instead of link with mbed-stubs
which is a group of stubs libraries.
2021-07-07 01:33:36 -07:00
Rajkumar Kanagaraj 5433365b81 CMake: Move netsocket stubs to the netsocket dir
Move the connectivity netsocket stubs into the connectivity/netsocket
component directory. So we can avoid duplicating the mbed-os source
tree in a central UNITTESTS folder.
2021-07-07 01:33:36 -07:00
Jaeden Amero c6e8f64943 python: Don't require icetea
icetea is used for running icetea integration tests with `mbed-cli test
--icetea`, but not otherwise needed. icetea was intended for deprecation
with Mbed OS 6.0. Remove icetea from the list of default dependencies,
as the version of prettytable it depends on causes a Python dependency
conflict with other libraries' dependencies on prettytable, preventing
icetea from being installed to the same Python environment as other Mbed
Python tools.
2021-07-07 09:31:42 +01:00
Martin Kojtal 69d1db9730
Merge pull request #14849 from arduino/pr_spif_namespace
SPIFBlockDevice: Add mbed namespace to BD_ERROR_DEVICE_ERROR
2021-07-07 10:13:21 +02:00
Martin Kojtal 44d5416785
Merge pull request #14842 from ARMmbed/move_connectivity_lora_stubs
Move connectivity lora stubs
2021-07-07 09:54:58 +02:00
pennam dc4fb8d74b Use fixed wait time 2021-07-07 09:24:39 +02:00
pennam c1d33d23ae exclude tx and rx if CYW43XXX_UNBUFFERED_UART is defined 2021-07-07 09:24:39 +02:00
Mohammed Mubeen 27df8c74d3 Indentation set for the comments 2021-07-07 10:32:09 +05:30