Commit Graph

208 Commits (refactor_mbed_host_tests)

Author SHA1 Message Date
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 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 76fd50a547 CMake: Fix access to cellular drivers 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 bd45acba8c CMake: Fix failure due to kvstore and cellular dirs changes 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
Martin Kojtal c5bae34e9c
Merge pull request #13843 from marcelbrucker/fix_linking_issue
Fix linking issue #13793 when using -O0 compiler optimization in ARMC…
2020-11-03 14:01:25 +00:00
filics df0538923c Fix linking issue #13793 when using -O0 compiler optimization in ARMC6 toolchain 2020-11-02 20:04:15 +01:00
Martin Kojtal 78c8d84214
Merge pull request #13808 from harmut01/license_refactor
Remove erroneous character from SPDX identifer
2020-10-27 09:03:41 +00:00
Harrison Mutai 6bfe651aad Remove erroneous character from SPDX identifer
Erroneous '/' was appended to start of comment. This was causing CMake
warning during complition. Removes character from affected files.
2020-10-23 15:08:58 +01:00
jeromecoutant 7c214cbd68 STM32WB: STM32Cube_FW_WB_V1.8.0
https://github.com/STMicroelectronics/STM32CubeWB
2020-10-19 14:36:02 +02:00
jeromecoutant 4b999b3e7f STM32L5: STM32Cube_FW_L5_V1.3.0
https://github.com/STMicroelectronics/STM32CubeL5
2020-10-16 17:31:58 +02:00
Martin Kojtal 61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Paul Szczeanek 97f10a11cc fix missed member initialisation 2020-10-02 17:23:10 +01:00
Martin Kojtal c4562be8d8
Merge pull request #13602 from balajicyp/topic/wep_security_fix
WEP Security fix for Cypress Target Kits
2020-09-17 09:07:55 +01:00
Martin Kojtal 4809f517f6
Merge pull request #13432 from MultiTechSystems/fix-PDP-type
Enable PDP type IPV6 and IPV4V6 to support more cellular service prov…
2020-09-17 09:00:26 +01:00
Balaji Subramanyam 7d0e1806d4 WEP Security fix for Cypress Target Kits 2020-09-11 11:21:11 -07:00
Martin Kojtal 267a5ac5bf
Merge pull request #13538 from sparkfun/ambiq-apollo3-dev-squash
Ambiq AMA3B1KK and SparkFun Artemis Boards Target Update
2020-09-10 11:53:04 +01:00
Wenn0101 e97ebc033a Apollo3 and artemis code review changes, remvoe dead code, add missing spdx identifiers, fix style 2020-09-09 15:47:23 -06:00
Martin Kojtal 3b5ab54618
Merge pull request #13542 from jeromecoutant/PR_DISCO_L4S
B_L4S5I_IOT01A: new ST target
2020-09-09 15:54:27 +01:00
Martin Kojtal c99ff74928
Merge pull request #13475 from pan-/ble-remove-user-facing-abstraction
Ble remove user facing abstraction
2020-09-09 15:13:01 +01:00
jeromecoutant 423bea50e6 B_L4S5I_IOT01A: BLE support 2020-09-09 15:19:21 +02:00
jeromecoutant 7dfe7024f0 B_L4S5I_IOT01A: HW crypto support 2020-09-09 15:19:21 +02:00
Wenn0101 68d59d3781 Add new targets, Ambiq Apollo3 and Sparkfun Electronics, SFE, boards 2020-09-09 01:13:05 -06:00
Vincent Coubard ea47ee0808 Cypress BLE driver: Fix removal of mbed.h 2020-09-07 14:32:43 +01:00
Martin Kojtal b2ac60924c
Merge pull request #13476 from talorion/bugfix/fix-warnings
Fix trivial compiler Warnings
2020-09-07 09:58:41 +01:00
Lingkai Dong a88438ce04 Move mbed-trace into platform 2020-09-02 12:30:59 +01:00
Martin Kojtal 31ff368d17
Merge pull request #13493 from balajicyp/topic/cypress_target_ssid_fix
Fix SSID bug on Cypress Targets
2020-08-31 10:48:00 +01:00
talorion 6bf4dda279 Update connectivity/libraries/ppp/source/ppp_service.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:12:56 +02:00
Gregor Mayramhof 2b4268ac16
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:08:55 +02:00
talorion 6488381c8c made sslctxID constexpr 2020-08-27 17:44:44 +02:00
Gregor Mayramhof 65fa697ca9
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 17:40:02 +02:00
talorion 99adbfa545 fixed compile errors 2020-08-27 17:16:26 +02:00
Gregor Mayramhof 124fbd4b79
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 16:16:37 +02:00
talorion 4670c7f2c4 fixed compile errors 2020-08-27 08:22:39 +02:00
Gregor Mayramhof 8a3425ed3d
Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 07:45:06 +02:00
talorion f901436125 resolved astyle - coding format. 2020-08-26 20:21:58 +02:00
talorion 73116b7ce0 suggested change by Hugues Kamba
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:43:14 +02:00
Gregor Mayramhof f789de3399
Update connectivity/drivers/cellular/QUECTEL/BC95/QUECTEL_BC95_CellularStack.cpp
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:09:20 +02:00
Martin Kojtal 555c7dbe1a
Merge pull request #13416 from dustin-crossman/pr/cysbsyskit_update_6.2.0
Update CYSBSYSKIT_01
2020-08-26 07:14:46 +01:00
Balaji Subramanyam 3387c86f0b Fix SSID bug on Cypress Targets 2020-08-25 17:22:15 -07:00
Vincent Coubard 0baa92d70c BLE: Expose HCI driver in public API. 2020-08-25 11:26:28 +01:00
Vincent Coubard 94cf390706 BLE: Fix address copy in Nordic HCI driver. 2020-08-25 11:26:26 +01:00
Vincent Coubard 27cb03824e BLE: Move common publi headers into ble/common 2020-08-25 11:26:26 +01:00
Vincent Coubard a45325995b BLE: Move BleInstanceBase.h into source. 2020-08-25 11:26:26 +01:00
Martin Kojtal a32168c819
Merge pull request #13473 from artokin/nanostack_relase_12_4_0_to_master
Nanostack release v12.4.0
2020-08-25 09:40:45 +01:00
talorion f58633c42e fixed warnings: deprecated call of Timer::read_ms() 2020-08-24 15:34:20 +02: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
Martin Kojtal 1950ac61a9
Merge pull request #13472 from talorion/master
Fix for targets where DEVICE_SPI or DEVICE_INTERRUPTIN are defined but not both
2020-08-24 13:20:13 +01:00
talorion ca74659780 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 11:55:24 +02:00
talorion accadee274 fixed warnings: unused variable 2020-08-24 11:55:24 +02:00
talorion 8d1553cf1a fixed warnings: suggest parentheses around '&&' within '||' 2020-08-24 11:55:23 +02:00
talorion f90d062c55 fixed warnings: removed unused variables 2020-08-24 11:55:23 +02: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
talorion f874e726db resolved astyle - coding format. 2020-08-21 10:02:55 +02:00
talorion 7a985ecee9 fixed the preprocessor guards 2020-08-21 10:02:43 +02:00
RyoheiHagimoto 4a1049d508 Moved some files to connectivity/drivers/emac from features/netsocket/emac-drivers 2020-08-18 16:25:01 +09:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
Martin Kojtal 327fe532b2
Merge pull request #13410 from ashok-rao/lorawan-refactor
Refactoring \lorawan --> moving it inside \connectivity.
2020-08-14 14:27:48 +01:00
Martin Kojtal 94c62f2677
Merge pull request #13404 from gpsimenos/gp-cryptocell-restruct
Restructure cryptocell
2020-08-14 14:25:43 +01:00
Leon Lindenfelser 6f2da539c9 Enable PDP type IPV6 and IPV4V6 to support more cellular service providers 2020-08-14 08:16:16 -05:00
Martin Kojtal 6dd3e057a5
Merge pull request #13414 from LDong-Arm/refactor_nfc
Refactor NFC directory structure
2020-08-13 13:40:33 +01:00
George Psimenos a4fc83dc0a Move cryptocell
mbed-os/features/cryptocell/FEATURE_CRYPTOCELL310 directory moved
to mbed-os/connectivity/drivers/cryptocell/FEATURE_CRYPTOCELL310
and restructured according to the internal proposal.
2020-08-13 09:26:17 +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
Martin Kojtal d32000d4c5
Merge pull request #13385 from gpsimenos/gp-tls-restruct
Restructure Mbed TLS
2020-08-12 10:26:26 +01:00
Lingkai Dong f585129d14 PN512 NFC driver: backward-compatible driver header path 2020-08-11 16:12:47 +01:00
Lingkai Dong c734221c31 Update NFC libraries paths 2020-08-11 16:12:47 +01:00
Lingkai Dong bed5fd33e8 nfc: turn PN512 driver into a standalone driver library 2020-08-11 15:22:38 +01:00
George Psimenos bf6693a204 Create mbed_lib.json for mbedtls target code 2020-08-11 11:32:09 +01:00
George Psimenos 6a477619b9 Move mbedtls target-specific code 2020-08-11 11:32:09 +01:00
Dustin Crossman 6ba8885ad3 Update COMPONENT_SCL. 2020-08-10 17:02:35 -07:00
Lingkai Dong c8721cf671 Move BlueNRG-MS driver into connectivity/drivers/ble/FEATURE_BLE 2020-08-10 17:31:12 +01:00
Anna Bridge a6730ad8ef
Merge pull request #13365 from paul-szczepanek-arm/ble-streamlining
BLE streamlining
2020-08-10 11:04:45 +01:00
Paul Szczeanek b6db853e16 backwards compatiblity with mbed build tools 2020-08-07 14:53:28 +01:00
Paul Szczeanek ec4cbb7c23 make include path backwards compatible 2020-08-07 14:20:44 +01:00
Paul Szczeanek dbc006baef fix ble drivers 2020-08-07 11:59:15 +01:00
Paul Szczeanek 7e64019074 move pal to cordio, remove cordio mentions from API 2020-08-07 11:59:14 +01:00
Paul Szczeanek 365cb3c5d0 remove generic, TPPs, nested namespaces 2020-08-07 11:59:14 +01:00
Rajkumar Kanagaraj 49924b8a0b Add mbed_lib.json config to avoid emac drivers source includes by default 2020-07-30 10:24:58 -07:00
Martin Kojtal c7251b0177
Merge pull request #13377 from rajkan01/move_nanostack_rf
Move nanostack rf driver from features to connectivity
2020-07-30 13:26:11 +01: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
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj 2add7064ec Update astyleignore and source code comment 2020-07-27 10:04:01 -07:00
Rajkumar Kanagaraj 522f100262 Move features/netsocket/emac-drivers to connectivity/drivers/emac 2020-07-27 09:53:31 -07:00
Rajkumar Kanagaraj 354bfaa840 Update header reference 2020-07-23 06:15:13 -07:00
Lingkai Dong b5ca618bf2 Remove redundant mbed.h include in UBLOX cellular driver 2020-07-22 11:06:23 +01:00
Lingkai Dong 276de0a5f2 Move cellular target drivers into connectivity/drivers/cellular 2020-07-22 11:05:49 +01:00
Lingkai Dong 6e9dcc3f93 Move WiFi drivers from components to connectivity/drivers 2020-07-03 17:37:43 +01:00
Lingkai Dong a0a43ada37 Move cellular drivers from components to connectivity/drivers 2020-07-03 17:32:45 +01:00
Lingkai Dong f4c62f6369 Move 802.15.4_RF drivers from components to connectivity/drivers 2020-07-03 17:30:59 +01:00