Commit Graph

32336 Commits (0460a85ddd57c76c6b26d75f679483a4626f64fb)

Author SHA1 Message Date
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 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 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
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
Martin Kojtal 4536a5efe5
Update CMakeLists.txt
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-02-10 08:46:25 +00:00
Vincent Coubard c099b859d7 BLE: Add APIs to get characteristic authorization callbacks. 2021-02-09 19:56:58 +00:00
Martin Kojtal e88e1149e2 CMake: fix the comment for naming targets 2021-02-09 17:12:23 +00:00
Martin Kojtal 544e5b94c3 CMake STM32: fix targets naming
Follow the naming for other CMake targets, using prefix mbed-, lower case with dashes
2021-02-09 17:07:44 +00:00
Martin Kojtal 39ab9c8b99 CMake: add naming convention for mbed targets
Using lowercase with dashes for targets with mbed- prefix
2021-02-09 15:23:17 +00:00
Martin Kojtal aa561ee8f5
Merge pull request #14250 from saheerb/example-psa-115200
example-psa - add MUSCA_S1 and update baudrate
2021-02-09 14:47:52 +00:00
Ahmet Alincak a84827e0f1 Gate ticker (timer0) clock on deepsleep 2021-02-08 21:01:29 +03:00
Martin Kojtal ce6ff0ac5f
Merge pull request #14207 from JeanMarcR/STM32WL_JMR
Adding NUCLEO_WL55JC support
2021-02-08 15:56:46 +00:00
Martin Kojtal 6ed46ceec4
Merge pull request #14238 from harmut01/license_update
Update list of licenses in LICENSE.md
2021-02-08 15:53:53 +00:00
Harrison Mutai 1d7d7fab3b Update list of licenses in source and python modules
Updated file paths following directory restructure and added any missing
licenses. Add cbor to the list of python modules and sort list alphabetically for consistency.
2021-02-08 15:13:43 +00:00
Paul Szczepanek 94529508a5 include deprecation option for reversing passkey display 2021-02-08 13:36:28 +00:00