Commit Graph

22 Commits (refactor_mbed_host_tests)

Author SHA1 Message Date
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
Robert Walton c7c2580f9e CMake: Fix mbed-802.15.4-rf driver
mbed-nanostack should depend on mbed-802.15.4-rf to avoid a linker error
with an undefined reference to `NanostackRfPhy::get_default_instance()`.
The error occurs when `device_has: 802_15_4_PHY` is defined and the
consumer depends on mbed-nanostack in their CMakeLists.txt. Previously
we linked mbed-nanostack to mbed-802.15.4-rf, so mbed-802.15.4-rf's
usage requirements weren't forwarded to consumers who depended on
mbed-nanostack.

With the previous configuration, the consumer would have to depend on
mbed-802.15.4-rf directly to avoid an issue. This seems like a layering
violation: it appears that mbed-nanostack is "the API" and
mbed-802.15.4-rf is one of several possible implementations which are
selected based on configuration macros.

This commit changes the flow of dependencies so that mbed-nanostack ends
up with the correct symbol definitions.
2021-04-14 12:30:35 +01: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 d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Abbas Bracken Ziad 877436cc29 Replace calls to deprecated functions in the Timer API 2020-11-06 18:00:51 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba 24c79a4b47 CMake: Fix build failure due to nanostack drivers move 2020-11-06 17:25:17 +00:00
Hugues Kamba 59a7d77abf CMake: Add support for connectivity dir 2020-11-06 17:25:15 +00:00
Arto Kinnunen faaab75605 Merge commit '6e89573be1c458bf3cfa6f1677a31648b4686284' into nanostack-as_subtree
* commit '6e89573be1c458bf3cfa6f1677a31648b4686284':
  Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 293edc63b8..ae4ef1b197
2020-08-24 15:36:54 +03:00
Arto Kinnunen 1045b9cf23 Follow Mbed OS coding style in RF drivers 2020-08-21 13:23:17 +03:00
Arto Kinnunen 1215a3a4f7 Merge commit 'f43b5b3761db0cc431d42f621b366ab16387b2db' into nanostack-as_subtree
* commit 'f43b5b3761db0cc431d42f621b366ab16387b2db':
  Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from 9441d65aab..063b1af74e
2020-08-21 13:00:15 +03:00
Arto Kinnunen ca5d054ee1 Convert files to unix format 2020-08-21 12:54:30 +03:00
Arto Kinnunen 5f8cdead5e Merge commit 'ceb10b77b0674df19ea3b17f699f9376829b704c' as 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver' 2020-08-21 12:35:46 +03:00
Arto Kinnunen 3050b5a2f5 Merge commit '162ffeb55d4a47e1abc6d0b94d9d3c261a7c9851' as 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver' 2020-08-21 12:35:09 +03:00
Arto Kinnunen ebd0d555ec Merge commit 'e1376bf778256f92b94017179b4f9d71eb4bc173' into nanostack-as_subtree
* commit 'e1376bf778256f92b94017179b4f9d71eb4bc173':
  Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 6d72419d8b..293edc63b8
2020-08-21 12:16:19 +03:00
Arto Kinnunen 007484e492 Merge commit '1a9de4ca6c71d2b1fb46b93f42f54b7e69a879d7' as 'connectivity/drivers/802.15.4_RF/atmel-rf-driver' 2020-08-21 12:15:45 +03:00
Arto Kinnunen 1140885b0e Remove copied 802.15.4 RF drivers
-Remove atmel-rf-driver, mcr20a-rf-driver and  stm-s2lp-rf-driver
2020-08-21 12:14:31 +03: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
Lingkai Dong f4c62f6369 Move 802.15.4_RF drivers from components to connectivity/drivers 2020-07-03 17:30:59 +01:00