Commit Graph

24 Commits (feature-cmake-object-libraries)

Author SHA1 Message Date
Hugues Kamba 6711ff5308 CMake: Convert mbed-lorawan CMake library target to OBJECT
The mbed-lorawan library is converted from an INTERFACE to an OBJECT.
However, the board specific LoRaWAN device drivers are now individual
INTERFACE CMake library targets that link with mbed-lorawan if
they are included in the build.
2021-03-15 10:38:34 +00:00
Martin Kojtal 9e0495a770
LoRaWANTimer: add new line at the end of the file 2021-03-12 08:24:16 +00:00
Vincent Coubard 9781418e31 Lora: Clear callback ID when timer callback is executed. 2021-03-11 21:00:43 +00:00
Vincent Coubard 4885739c4e Lora: Add clear method to LoRaWANTimer.
This function must be called by the callback registered in init.
It clears the timer_id to prevent abusive use of the stop methods on expired timer.
2021-03-11 20:59:45 +00:00
jeromecoutant 7baae39ece STM32WL LORA : enable connectivity test 2021-02-09 11:56:50 +01:00
Ludovic Champsaur 08050839d5 STM32WL LORA : lorawan update 2021-02-09 11:56:41 +01:00
Martin Kojtal 733975220d
Merge pull request #14228 from ARMmbed/rename_greentea_test_macro
CMake: rename greentea test macro
2021-02-03 14:17:20 +00:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
jeromecoutant dd602689d2 LoraRadio test update for baremetal support 2021-01-26 14:47:56 +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
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
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
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 67a20580cf CMake: Fix build failure due to lora, cryptocell, and nfc dirs move 2020-11-06 17:25:19 +00:00
Rajkumar Kanagaraj 07511d39b1 Fix UNITTESTS build failure 2020-08-14 12:32:50 +01:00
Ashok Rao 9977da64af Incorporating review comments 2020-08-12 11:18:39 +01:00
Ashok Rao 0c584dfd58 Following 2 changes as part of this commit:
1. Moving lora drivers from \components\lora to \connectivity\drivers\lora
    2. Incorporating review comments.
2020-08-12 11:18:39 +01:00
Ashok Rao 326f1435f4 Modifying paths in each unit test according to new directory structure 2020-08-12 11:06:37 +01:00
Ashok Rao c5ffa220e1 Moving headers and sources to their respective separate directories based on new component structure 2020-08-12 11:06:37 +01:00
Ashok Rao cc1dd29259 Adding .mbedignore for tests and modifying greentea test for deprecated API and missing header 2020-08-12 11:06:37 +01:00
Ashok Rao da9fd2a11b Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lorawan
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── lorastack
│   ├── tests
├── nanostack
├── cellular
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \lorawan.
2020-08-12 11:06:36 +01:00