Commit Graph

32347 Commits (51a6754e22eda92d32bffe4912282ab331e8d20f)

Author SHA1 Message Date
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
Hugues Kamba d7a7d44b4b CMake: Refactor WIO_EMW3166 support
Ensure WICED is included for Mbed targets that require it.

This also 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-12 16:11:31 +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 d041654fa2
Merge pull request #14242 from 0xc0170/cmake-refactor-ambiq-micro
Ambiq Micro: refactor CMake targets
2021-02-12 09:16:30 +00:00
Martin Kojtal 0460a85ddd
Merge pull request #14269 from harmut01/refactor_toshiba
CMake: Refactor Toshiba targets
2021-02-11 15:29:06 +00:00
Martin Kojtal de8086b528
Merge pull request #14267 from harmut01/refactor_nordic
CMake: Refactor Nordic targets to be CMake buildsystem targets
2021-02-11 14:33:32 +00:00
Martin Kojtal 1ceb3facd9 CMake Ambiq Micro: fix CMakeLists names 2021-02-11 14:32:01 +00:00
Martin Kojtal 4dd9895817 CMake Ambiq Micro: fix years 2021-02-11 14:20:13 +00:00
Martin Kojtal f203a6796a
Merge pull request #14252 from hugueskamba/hk_cmake_refactor_freescale
CMake: Refactor Freescale targets
2021-02-11 14:10:33 +00:00
Martin Kojtal b4f0be19e6 CMake Ambiq Micro: fix naming 2021-02-11 14:09:19 +00:00
Martin Kojtal efbf0bb571 Ambiq Micro: refactor CMake targets
Follow what we did for ST, to create separate CMake targets for each Mbed target.
2021-02-11 13:57:59 +00:00
Martin Kojtal 0f000a0502
Merge pull request #14253 from harmut01/refactor_renesas
CMake: refactor Renesas targets
2021-02-11 13:18:26 +00:00
Martin Kojtal c4bcd432cf
Fix copyright in TARGET_KW41Z/CMakeLists.txt
Co-authored-by: Harrison Mutai <70651665+harmut01@users.noreply.github.com>
2021-02-11 13:17:22 +00:00
Martin Kojtal 2f7728eed5
Merge pull request #14266 from rwalton-arm/dev/rwalton-arm/fix-st-targets
Fix up some ST CMake targets
2021-02-11 13:15:32 +00:00
Harrison Mutai 0ec92a07d5 CMake: clean up code comments after refactor 2021-02-11 12:04:24 +00:00
Harrison Mutai 176e451c20 CMake: Refactor Toshiba targets
Refactor all Toshiba 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-11 11:51:20 +00:00
Martin Kojtal 33c06fb346
Merge pull request #14265 from 0xc0170/cmake-fix-app-target
CMake: remove need for APP_TARGET
2021-02-11 11:49:16 +00:00
Martin Kojtal 64892c95ce
Merge pull request #14268 from hugueskamba/hk_cmake_refactor_nxp
CMake: Refactor NXP targets
2021-02-11 11:48:53 +00:00
Hugues Kamba ac44f1c3c5 CMake: Refactor Freescale targets
Refactor all Freescale 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-11 11:02:18 +00:00
Harrison Mutai b49aa0457a CMake: Refactor all Nordic 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-11 10:59:41 +00:00
Robert Walton ab7a530506 Fix NUCLEO_L4R5ZI_xx targets 2021-02-11 09:33:21 +00:00
Robert Walton f73e154a12 Fix NUCLEO_L073RZ target 2021-02-11 09:33:21 +00:00
Robert Walton e8227f5be7 Fix PORTENTA_H7_xx targets 2021-02-11 09:33:21 +00:00
Robert Walton 6a737ac58d Fix DISCO_H747I_xx targets 2021-02-11 09:33:21 +00:00
Robert Walton a297a6145e Add library for NUCLEO_G431KB 2021-02-11 09:33:21 +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 b512947d7f
Merge pull request #14248 from MaximIntegrated/max32625mbed-sleep-greentea-tests
MAX32625MBED: Gate ticker (timer0) clock on deepsleep
2021-02-11 08:04:54 +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
Martin Kojtal ee14e30310
Merge pull request #14261 from mikaleppanen/mac_addr_get_corr
Add missing const qualifier to mesh ethernet mac addr get
2021-02-11 08:04:18 +00:00
Martin Kojtal 4236db4aef
Merge pull request #14255 from 0xc0170/cmake-fix-naming-targets
CMake: fix naming targets
2021-02-11 08:02:55 +00:00
Hugues Kamba f6837ce82d CMake: Refactor NXP targets
Refactor all NXP targets to be CMake build system 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-10 21:36:39 +00:00
Martin Kojtal 207dcbb88b CMake: move Gcc Arm memmap to configure app
This allows us to keep all in one place and fix (removing this function later)
2021-02-10 19:37:42 +00:00
Harrison Mutai 9033d9b632 CMake: refactor Renesas targets
Refactor all Renesas 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-10 15:41:40 +00:00
Martin Kojtal fdef59fc10 CMake STM32H7: fix disco m4/m7 targets 2021-02-10 15:32:49 +00:00
Martin Kojtal 2d3bf3fd34 CMake STM32: fixing prefixes in the targets 2021-02-10 15:23:22 +00:00
Martin Kojtal 8be5da2619 CMake: hardcode mem map name to "application" for Gcc Arm
We need to fix linker script differently, it should not need APP_TARGET. This is a series of
commits fixing APP_TARGET in our tree. We should not require it.

The linker script preprocessing will be fixed differently. "application" prefix is temporary until
we clean this up completely.
2021-02-10 14:02:04 +00:00
Martin Kojtal 6bf459e3ce CMake STM32: fix mbed-stm linking libs names 2021-02-10 12:24:10 +00:00
Martin Kojtal b9990089eb
CMake: fix wording in naming
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-02-10 12:15:48 +00:00
Martin Kojtal ef98060d94 CMake STM32: fix missed targets with prefix 2021-02-10 12:14:49 +00:00
Paul Szczepanek 938aedac91 use the correct id to identify sync 2021-02-10 11:57:30 +00:00
Martin Kojtal d22772342c CMake: linker script preprocessing moved to mbed_configure_app_target
This fixes the problem for an app/test to define APP_TARGET as requirements. This is not a proper fix
but rather a workaround for broken apps/tests currently. We will address this separately via new
pull request.
2021-02-10 11:32:08 +00:00
Martin Kojtal b3344390dd CMake: move language standard to mbed-core
We set language standard via mbed-core and app inherits it if links to it.
This is breaking change for application, please remove the function call from an
application and it should build without errors.
2021-02-10 11:31:50 +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
Martin Kojtal 00e83ce6e2 CMake STM32: fix missing mbed for some nucleo targets 2021-02-10 10:56:04 +00:00
Martin Kojtal a6915af60d CMake readme: add naming scheme for our CMake targets
Be consistent
2021-02-10 09:43:08 +00:00
Martin Kojtal b3181a102c CMake STM32: fix search and replace errors 2021-02-10 09:32:55 +00:00