Commit Graph

627 Commits (b5f864d96dd0f02a4e884b79a70d2a81e397663e)

Author SHA1 Message Date
jeromecoutant dd602689d2 LoraRadio test update for baremetal support 2021-01-26 14:47:56 +01:00
Hugues Kamba d0076a9e61 NFC: Add support for M24SR driver
The repository https://github.com/ARMmbed/mbed-nfc-m24sr
is no longer required to build applications that require
this driver.
2021-01-26 10:33:06 +00:00
Hugues Kamba 9a1c24e254 CMake: Add support for Mbed TLS Greentea tests
The Mbed TLS Greentea tests can now be built with CMake.
2021-01-25 10:48:15 +00:00
Martin Kojtal 83c18dd67c
Merge pull request #14099 from hugueskamba/hk_cmake_greentea_cordio
CMake: Add support for CORDIO Greentea tests
2021-01-20 21:14:33 +00:00
Martin Kojtal dc40c47cfa
Merge pull request #14169 from artokin/nanostack_release_12_8_0_to_master
Nanostack release v12.8.0
2021-01-20 14:38:16 +00:00
Martin Kojtal 5860bd3eea
Merge pull request #14126 from urutva/fix-mbedtls-sanity-test
tests: Limit PSA crypto tests to Arm-v7M targets
2021-01-20 12:35:44 +00:00
Arto Kinnunen 4d13419f38 Add nsdynmem_tracker_lib.c to CMakeLists.txt 2021-01-20 13:09:06 +02:00
Arto Kinnunen 0810306ca4 Add random_early_detection to CMakeLists.txt 2021-01-20 11:43:43 +02:00
Martin Kojtal 8145477cab
Merge pull request #14098 from hugueskamba/hk_cmake_greentea_lorawan
CMake: Add support for LoRaWAN Greentea tests
2021-01-20 08:34:50 +00:00
Martin Kojtal 8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Martin Kojtal 4324d32d7c
Merge pull request #14148 from mikaleppanen/nano_coverity_corr_master
Corrected nanostack coverity warnings
2021-01-20 08:05:00 +00:00
Paul Szczepanek 5d26114458 astyle 2021-01-19 14:47:02 +00:00
Paul Szczepanek 5ef1f161c3
Update cert for testing server 2021-01-19 13:25:16 +00:00
Arto Kinnunen 0c4294b1af Merge commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508'
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a693..3183d87e41
2021-01-19 11:53:20 +02:00
Arto Kinnunen a13d6ab0f3 Merge commit 'aad453e0ac69b9de3b3e218c21a423bebd506174'
* commit 'aad453e0ac69b9de3b3e218c21a423bebd506174':
  Squashed 'connectivity/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
2021-01-19 11:52:43 +02:00
Arto Kinnunen 6354a1e8dc Merge commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793'
* commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
2021-01-19 11:43:02 +02:00
Arto Kinnunen 06b913ff7e Merge commit '2f56ffab52d78986aebc1a290f106f5cf58830f8'
* commit '2f56ffab52d78986aebc1a290f106f5cf58830f8':
  Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from 86cf0cca08..fb20d3f32c
2021-01-19 11:38:59 +02: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 f8e586492f
Merge pull request #14091 from hugueskamba/hk_cmake_greentea_nfc
CMake: Add support for NFC Greentea test
2021-01-19 09:24:59 +00:00
jeromecoutant 7ab7933d12 STM32 / CMAKE / mbedtls : correct CMakeLists.txt files 2021-01-15 11:46:26 +01:00
Hugues Kamba 9985392c09 CMake: Add support for LoRaWAN Greentea test
The LoRaWAN Greentea test can now be built with CMake.
2021-01-14 17:35:16 +00:00
Hugues Kamba 5616537c3a CMake: Add MbedTLS dependency to LoRaWAN library
This way applications that need LoRaWAN do need to also add MbedTLS
2021-01-14 17:32:00 +00:00
Martin Kojtal 82f3126ab8
Merge pull request #14049 from jeromecoutant/PR_L072_LORA
DISCO_L072CZ_LRWAN1: enable LORA by default
2021-01-14 17:16:19 +00:00
Devaraj Ranganna 61009ba05a tests: Limit PSA crypto tests to Arm-v7M targets
The PSA crypto tests in
connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp are only
supported for Arm-v7M PSA targets. For Arm-v8M PSA targets, crypto
regression tests provided by TF-M are used. Refer to
https://github.com/ARMmbed/mbed-os-tf-m-regression-tests for more
information.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:56:04 +00:00
Devaraj Ranganna 9186fe57b2 tests: Fix test_crypto_asymmetric_encrypt_decrypt
The test `test_crypto_asymmetric_encrypt_decrypt` was incorrectly
setting the key usage flags. The key usage is updated to support both
encryption and decryption.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:52:36 +00:00
Mika Leppänen 1e3d32ad41 Corrected nanostack coverity warnings 2021-01-13 13:05:51 +02:00
Martin Kojtal 8fb31d7ec3
Merge pull request #14008 from MultiTechSystems/mtqn-cpsms
Add proper power save mode command format for MTS_DRAGONFLY_L471
2021-01-12 15:16:01 +00:00
Hugues Kamba edab3140e2 CMake: Add support for NFC Greentea test
The NFC Greentea test can now be built with CMake
2021-01-12 10:57:27 +00:00
jeromecoutant e0217ad9f7 DISCO_L072CZ_LRWAN1: enable LORAWAN by default 2021-01-12 11:42:07 +01:00
jeromecoutant c3664d2339 LORA: update test 2021-01-12 11:42:06 +01:00
jeromecoutant 80aa710a48 LORA-DRIVER: add pins in json configuration 2021-01-12 11:42:04 +01:00
Martin Kojtal 265aa4cc92
Merge pull request #14103 from hugueskamba/hk_cmake_greentea_netsocket_network
CMake: Add support for netsocket/network Greentea tests
2021-01-12 10:40:20 +00:00
jeromecoutant 61059d45e4 STM32F439 : correct cmake compilation 2021-01-11 18:07:58 +01:00
Hugues Kamba 088ce195b6 CMake: Add support for netsocket/network Greentea tests
The netsocket/network Greentea tests can now be built with CMake
2021-01-11 16:34:07 +00:00
Hugues Kamba 51bd84ef7d CMake: Add support for CORDIO Greentea tests
The Cordio Greentea tests can now be built with CMake.
2021-01-11 16:30:29 +00:00
Martin Kojtal 15de1aae18
Merge pull request #14101 from rajkan01/add_cmake_greentea_netsocket
CMake: Add CMake support for netsocket greentea test
2021-01-11 15:38:55 +00:00
Martin Kojtal 53776fec43
Merge pull request #14125 from pan-/fix-sm-key-generation
BLE: Fix Security Manager key generation
2021-01-11 13:39:19 +00:00
Martin Kojtal a124bcab32
Merge pull request #14048 from mikaleppanen/corr_cert_add
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-11 11:19:26 +00:00
Vincent Coubard 4cfcadd9e9 BLE: Fix SM random number generation.
Ensure the more than 8 random bytes are fetched from the stack.
2021-01-07 12:38:47 +00:00
Vincent Coubard b28e11574a BLE: Regenerate CSRK if it is all zeroes. 2021-01-07 12:35:24 +00:00
Rajkumar Kanagaraj 48829eee60 CMake: Add CMake support for netsocket greentea test 2021-01-05 09:11:22 -08:00
Martin Kojtal dd4eca1b69
Merge pull request #14100 from hugueskamba/hk_cmake_fix_ambiq_ble
CMake: Fix path to Ambiq BLE source file
2021-01-05 15:50:32 +00:00
Martin Kojtal d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Hugues Kamba a1e80925af CMake: Fix path to Ambiq BLE source file
Update the hci_drv_apollo3.c listing as the file location was changed.
2021-01-05 13:50:50 +00:00
Martino Facchin 62b6cc9a05 cmake: STM32H7: enable PORTENTA* target 2021-01-05 14:49:37 +01:00
Martin Kojtal e1d1753726
Merge pull request #14111 from paul-szczepanek-arm/ble-fix-ext
BLE: fix scanning/advertising when extended features are available but disabled on host
2021-01-05 13:28:13 +00:00
Martin Kojtal ce825bcd45
Merge pull request #14084 from paul-szczepanek-arm/gatt-copy-callbacks
BLE: Fix GattServer callbacks not being copied to GattServer instance of the service
2021-01-05 11:26:25 +00:00
paul.szczepanek@arm.com 2e714f4b6f compile out trace when not available 2021-01-04 19:38:03 +00:00
paul.szczepanek@arm.com 6746573b34 add missing guards for extended advertising feature 2021-01-04 18:05:50 +00:00
Paul Szczeanek 5e99ea8d7e correct the documentation for GattServer::addService 2021-01-04 17:11:03 +00:00
Paul Szczeanek cdc8845b3c copy authorsation callbacks to gattserver 2021-01-04 17:11:03 +00:00
Martino Facchin a723b4ce23 cmake: STM32H7: fix mbed-emac target 2021-01-04 17:31:54 +01:00
Martin Kojtal 9315f05719
Merge pull request #13809 from jeromecoutant/PR_CELLULAR
Remove Cellular dependency in netsocket
2020-12-17 15:41:41 +00:00
Martin Kojtal 24501dffd3
Merge pull request #14042 from hugueskamba/hk_cmake_ambiq_micro_support
CMake: Add support for all Ambiq Micro Mbed targets
2020-12-17 15:07:43 +00:00
Andrea Palmieri ae4a53e74a
Support to BlueNRG_2 BLE component (#13246)
Add support to BlueNRG_2 BLE component

Signed-off-by: Andrea Palmieri <andrea.palmieri@st.com>

Co-authored-by: Andrea Palmieri <andrea.palmieri@st.com>
Co-authored-by: Paul Szczeanek <paul.szczepanek@arm.com>
2020-12-17 14:37:21 +00:00
jeromecoutant 9eb86a2345 Cellular unittests update 2020-12-17 15:36:44 +01:00
Wenn0101 2e144e83e2 update startup gcc to add back weak definitions and have HciDrvRadioBoot call NVIC_SetVector 2020-12-17 11:21:22 +00:00
Hugues Kamba 7a6bf96998 CMake: Fix Apollo3 BLE driver support 2020-12-17 11:13:03 +00:00
Matthew Macovsky fc702737ce Create canonical CyReservedRegionBlockDevice for working with/around Cypress WiFi firmware in external memory
This change allows external memory to be used for other purposes while
the WiFi firmware is stored in it by interacting with it via the
reserved region block device.
2020-12-16 15:31:00 -08:00
Mika Leppänen 88b46cc71c Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
Corrected Wi-SUN certificate add and remove functions to work properly
with .json certificates. .json certificates are used only if certificates
added by add functions are not set. Corrected certificate add and remove
functions to work properly and improved function descriptions.
2020-12-15 15:04:14 +02:00
Leon 7370df6e2f Add proper power save mode command format for MTS_DRAGONFLY_L471QG 2020-12-14 09:42:10 -06:00
Harrison Mutai b947ee339a CMake: Fix dirs and sources visibility for mbed-emac CMake target
The mbed-emac CMake target is an interface library and as such its
include dirs and sources have to be have the INTERFACE visibility.
2020-12-11 16:52:18 +00:00
Martino Facchin 84790a038a Add SPDX-License 2020-12-11 10:11:54 +01:00
pennam f665f1d391 Portenta: enable ETH power supply 2020-12-11 10:11:53 +01:00
Martino Facchin 7e2acee49a PortentaH7: add Ethernet support 2020-12-11 10:11:53 +01:00
Martino Facchin 8d9b6e9088 lwip: use adeguate mem-size for Portenta H7 2020-12-11 10:11:53 +01:00
Martino Facchin c96fbebd55 STM32: EMAC: allow compiling on MCUs without DCACHE 2020-12-11 10:11:52 +01:00
Martin Kojtal 38fe337ed0
Merge pull request #14009 from keithmwheeler/pr-dev/hci-driver-terminate
ble cyw43xxx: dev/hci driver terminate
2020-12-10 15:57:05 +00:00
Martin Kojtal 14f3ce1edc
Merge pull request #14014 from pan-/ble-attribute-error-code
Update GattAuthCallbackReply_t enumeration.
2020-12-10 13:40:04 +00:00
Martin Kojtal 115eee4ae8
Merge pull request #13988 from paul-szczepanek-arm/periodic-sync-ll-fix
BLE: Fix periodic advertrising sync based on advertiser list
2020-12-10 11:01:18 +00:00
Martin Kojtal 2c1ce493f4
Merge pull request #13957 from mikaleppanen/new_to_nothrow_mst
Replaced new calls with nothrow version of the call on mesh api
2020-12-10 10:59:42 +00:00
Martin Kojtal e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
Vincent Coubard 2eb77d607a Update GattAuthCallbackReply_t enumeration.
Add missing values that are present in pal::AttErrorResponse.
This allows applications to use correct ATT error codes.
2020-12-08 10:47:55 +00:00
Wheeler Keith (CY CSS ICW Integration) 1e56565692 Clean up from 2 Dec review 2020-12-03 20:33:58 -08:00
Wheeler Keith (CY CSS ICW Integration) 3445eb2cc8 Shifting BT power pin references to mbed style in transport ccriver and cy_bt_cordio_cfg; removing freeing of dev wake pin and changing to deasserting this during terminate 2020-12-03 20:33:56 -08:00
Wheeler Keith (CY CSS ICW Integration) 4d70877b35 Removing 500ms delay inCyH4TransportDriver init; fixing warning about order of BT POWER in declarations 2020-12-03 20:33:54 -08:00
Dustin Crossman 0e6ede86de Convert cyhal_gpio calls to mbed equivalent. 2020-12-03 20:33:52 -08:00
Wheeler Keith (CY CSS ICW Integration) 389ed278c9 Working on changes from code review 2020-12-03 20:33:50 -08:00
Wheeler Keith (CY CSS ICW Integration) 47aab97d16 Moving UART init from construtor to init method; altering init method to reset BT device via regulator control; modifications to terminate method 2020-12-03 20:33:49 -08:00
Keith Wheeler bf7adcf0d2 Adding to BLE terminate method code that releases the UART and disables interrupts and GPIO 2020-12-03 20:33:47 -08:00
jeromecoutant 8e58d64e13 Remove Cellular dependency in netsocket
Tip: Create a .mbedignore file with

connectivity/cellular*
connectivity/drivers/cellular*
2020-12-03 18:16:33 +01:00
Paul Szczeanek 5cc09f58f8 the adv bit is actually optional in aux_adv_ind so is not required for periodic sync 2020-11-30 16:00:14 +00:00
Arto Kinnunen 6a28bce1dd Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
-Fix compiler warnings by adding overrides
2020-11-30 13:49:33 +02:00
Martin Kojtal dd432a387e
Merge pull request #13942 from paul-szczepanek-arm/securitydb-fix
ble: Fix persistence in SecurityDB
2020-11-26 11:17:28 +00:00
Martin Kojtal 483db06a5f
Merge pull request #13948 from rajkan01/simplify_ble_lib_inclusion
CMake: Simplify BLE library inclusion
2020-11-25 13:37:11 +00:00
Martin Kojtal b7c2b77093
Merge pull request #13953 from rajkan01/add_nanostack_dependency_lib
Add nanostack dependency lib
2020-11-25 10:02:56 +00:00
Mika Leppänen 06be25722f Replaced new calls with nothrow version of the call on mesh api
Replaced new calls with nothrow version of the call.
2020-11-25 10:04:58 +02:00
Arto Kinnunen 9ede631e76 Update EmacTestNetworkStack
-Uncomment get_mac_address
-Document set_mac_address
2020-11-25 09:32:23 +02:00
Arto Kinnunen 636c19af16 Fix unittests
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2020-11-25 09:29:59 +02:00
Martin Kojtal 57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
Arto Kinnunen 40c038555d Fix method description 2020-11-24 12:17:54 +02:00
Arto Kinnunen 913ac8c2b2 Follow Mbed OS coding style 2020-11-24 11:46:20 +02:00
Arto Kinnunen f07030255f Update EMAC connect logic with MAC address change
Do not fail EMAC interface during connect if MAC address change is
not supported in the selected interface.
2020-11-24 11:23:36 +02:00
Rajkumar Kanagaraj d328af9edb CMake: Add nanostack dependency
- Added netsocket libraries to nanostack CMake with target_link_libraries as nanostack has dependency
2020-11-23 20:18:48 +00:00
Rajkumar Kanagaraj a964453edf CMake: target_link_library the BLE with CORDIO stack
- Security manager uses some feature from wsf which is part of the mbed-ble-cordio library so added target_link_library to link the BLE library to cordio stack lib.
2020-11-23 16:06:53 +00:00
Paul Szczeanek e71f452e9d fix missing return 2020-11-23 09:06:42 +00:00
Paul Szczeanek 63887d19a8 update the peer address when LTK has been found in old entry 2020-11-23 09:06:30 +00:00
Paul Szczeanek 187ed98d82 update the connected status of db entry 2020-11-23 09:06:05 +00:00
Paul Szczeanek 6f844e1a71 fix indexing in ble security db 2020-11-23 09:02:56 +00:00
Arto Kinnunen 2f610340ba Review corrections
-Update method set_mac_address description
-Update EMAC test method return value
2020-11-23 10:11:03 +02:00
Arto Kinnunen d001b7a441 Update unittests 2020-11-20 10:06:57 +02:00
Arto Kinnunen 82964a3a0c Update set_mac_address signature
Use nsapi_size_t instread os size_t.
2020-11-20 10:05:35 +02:00
Arto Kinnunen af350de726 Allow method override
Remove final keyword to allow inheritance.
2020-11-19 15:50:04 +02:00
Arto Kinnunen c8b667a7ba Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2020-11-18 17:29:10 +02:00
Arto Kinnunen e1e0f89699 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2020-11-18 17:26:04 +02:00
Arto Kinnunen a607be6623 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2020-11-18 17:17:54 +02:00
Martin Kojtal fad7f344e7
Merge pull request #13870 from rajkan01/feature-cmake-review-comment
CMake: Address review comment from PR#13566
2020-11-18 09:42:09 +00:00
Martin Kojtal 96f3de6914
Merge pull request #13910 from marcemmers/nrf-ble-config
Update NRF ble configuration options
2020-11-18 09:41:42 +00:00
Martin Kojtal 1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Marc Emmers 01e56f1f34 Fix missing newline 2020-11-16 17:03:23 +01:00
Marc Emmers afc42b8fb7 Update NRF ble configuration options 2020-11-16 16:43:43 +01:00
Rajkumar Kanagaraj 438994ded4 Fix CI issue:
- Added absolute path as cmake failed to find linker file from relative path
- Added the missing MBED_CONF_CRYPTOCELL310_PRESENT
- Added the dependency library to BLE Cordio stack
2020-11-12 14:32:01 +00:00
Rajkumar Kanagaraj 4c05ce874a Remove add subdirectory of TARGET_MCU_NRF52840 as it contains only mbed_lib.json 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj cc7ae38fed CMake: Simplify inclusion of cryptocell310 library files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a044bfa9c1 CMake: Add more information to TODO comment 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj 766a9a8219 CMake: Remove empty input source files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a4d8559c08 CMake: Rename input source files from CMakelists.txt to CMakeLists.txt 2020-11-12 11:27:10 +00:00
Martin Kojtal d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Martin Kojtal e725df7d07
Merge pull request #13833 from AGlass0fMilk/privacy-enabled-cb-patch
Add new Gap::EventHandler callbacks to ChainableGapEventHandler class
2020-11-12 08:43:35 +00:00
Abbas Bracken Ziad 3e6cf78d6d Remove call to function-like macro with no effect 2020-11-11 14:23:42 +00:00
Martin Kojtal 5cbdbcb2d2
Merge pull request #13889 from artokin/nanostack_release_12_6_2
Nanostack release v12.6.2
2020-11-11 09:11:27 +00:00
Arto Kinnunen c8c2e5437f Merge commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe'
* commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..715ae9a693
2020-11-10 13:47:13 +02: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
Rajkumar Kanagaraj e7c0d93ad4 CMake: add mbed-os and mbed-baremetal targets
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core

The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.

This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +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 c82e8c2337 CMake: Restore rtos api and netsocket presence macro names
The old tools rely on the old names to build
2020-11-06 17:25:22 +00:00
Hugues Kamba 0ddc75a8f6 CMake: Fix BLE private address linker error
List newly added files in CMake input source files.
2020-11-06 17:25:22 +00:00
Martin Kojtal 8529e88e61 cmake: fix present inclusion
We use only _PRESENT macros for components if they are enabled. Use the same in
the mbed.h file or anywhere else.
2020-11-06 17:25:21 +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 e22b19d6db CMake: Fix build failure due to BLE dir changes 2020-11-06 17:25:21 +00:00
Hugues Kamba 9b8c5acb99 CMake: Fix build failure due to mbed-trace, mbed-client-randlib, and nanostack dir changes 2020-11-06 17:25:20 +00:00
Hugues Kamba ec376fb587 CMake: List missing files in sal-stack-nanostack 2020-11-06 17:25:20 +00:00
Hugues Kamba 0c8cb3134c CMake: Fix build failure due to PSA dir move 2020-11-06 17:25:20 +00:00
Hugues Kamba b3c614e921 CMake: Fix CORDIO_LL build failure
List missing CORDIO_LL source file in CMake source file.
2020-11-06 17:25:19 +00:00
Hugues Kamba 01ddb7d471 CMake: Fix NRF52840_DK build failure
* Remove duplicated ARM toolchain directory
* Link with archived cryptocell 310 libraries instead
  of adding them as source files
* Provide default MBED_BOOT_STACK_SIZE definition
  in scatter file as is done for GCC_ARM linker file
2020-11-06 17:25:19 +00:00
Martin Kojtal f856d6b0a3 CMake: Fix include path for Cryptocell 2020-11-06 17:25:19 +00:00
Hugues Kamba 67a20580cf CMake: Fix build failure due to lora, cryptocell, and nfc dirs move 2020-11-06 17:25:19 +00:00
Hugues Kamba fbaeae5a8e CMake: Fix failure due to MbedTLS rdir relocation 2020-11-06 17:25:19 +00:00
Hugues Kamba eb4102be48 CMake: Fix failure due to BLE component dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba 20e19de028 CMake: Fix breakage due to BLE dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba c30d9259e9 CMake: Fix build failure due to nanostack dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba 76fd50a547 CMake: Fix access to cellular drivers 2020-11-06 17:25:18 +00:00
Hugues Kamba e744208c07 CMake: Fix build failure due to drivers and lwipstack dirs move 2020-11-06 17:25:18 +00:00
Hugues Kamba 24c79a4b47 CMake: Fix build failure due to nanostack drivers move 2020-11-06 17:25:17 +00:00
Hugues Kamba 8b21238e08 CMake: Fix failure due to events and netsocket dirs changes 2020-11-06 17:25:17 +00:00
Hugues Kamba 396ddc7a4d CMake: Fix build due to system_storage and netsocket dir move in master 2020-11-06 17:25:17 +00:00
Hugues Kamba bd45acba8c CMake: Fix failure due to kvstore and cellular dirs changes 2020-11-06 17:25:16 +00:00
Hugues Kamba 554a5d3597 CMake: Fix failure due to restructure of rtos and ppp directories 2020-11-06 17:25:16 +00:00
Hugues Kamba 59a7d77abf CMake: Add support for connectivity dir 2020-11-06 17:25:15 +00:00