Commit Graph

249 Commits (126d767a59799ce12ca647d87d6019917f13e4c2)

Author SHA1 Message Date
Nicole Osazuwa 24451695e8 greentea: Add missing license header
Add missing license header to greentea_metrics.h
2021-07-20 17:01:34 +01:00
Nicole Osazuwa e8bd2fb530 Deprecate the Greentea metrics API
Add the deprecated macro to where the Greentea metrics API is declared.

Fixes #14790
2021-07-20 17:01:34 +01:00
Robert Walton e9747d7bcd CMake: greentea: Fix io issue with greentea-client
The stdio implementation of the standalone greentea-client wasn't
streaming "KiVi protocol" messages through the serial IO. Separate out
the existing implementation for greentea-client that uses
mbed_retarget.h's `read` and `write` functions so greentea tests
continue to work with the standalone client.

The IO fixture is shared between the "legacy" embedded greentea-client
and the newer standalone client.
2021-07-09 14:33:08 +01:00
Jaeden Amero 4e2206e482 Use standalone greentea-client
For CMake or Mbed CLI 2, use the standalone greentea-client.
2021-07-07 14:29:14 +01:00
George Psimenos 8600157f62 Replace USBTX/RX 2021-03-24 15:00:53 +00:00
George Psimenos e6c43bd943
Use length constant instead of literal
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
2021-01-14 13:20:36 +00:00
George Psimenos 3b665dd29e Use named namespace & improvements 2021-01-14 09:32:39 +00:00
George Psimenos 7a81783285 Remove const suffix 2021-01-13 08:37:33 +00:00
George Psimenos 3664ce9b39 Replace macros 2021-01-13 08:37:33 +00:00
George Psimenos a32b81f7b6 Rename FLASH_SECTOR_SIZE macro to avoid conflicts 2021-01-13 08:37:33 +00:00
Rajkumar Kanagaraj d634236eae CMake: Create mbed-greentea library 2020-12-16 12:06:11 -08: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
Martin Kojtal 7a7f6a5a5c
Merge pull request #13768 from jeromecoutant/PR_FPGA_PRINT
COMPONENT_FPGA_CI_TEST_SHIELD: better debug print
2020-11-18 09:39:28 +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 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 1d6f86f553 CMake: Add support for features dir 2020-11-06 17:25:15 +00:00
pea-pod 507181d262 Change MBED_STATIC_ASSERTs version for built-in 2020-10-27 08:30:40 -05:00
jeromecoutant 88282c2868 COMPONENT_FPGA_CI_TEST_SHIELD: better debug print 2020-10-15 16:03:33 +02: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
Rajkumar Kanagaraj 326fdf966c Refactor COMPONENT_FPGA_CI_TEST_SHIELD as per new directory proposal 2020-09-11 13:17:33 +01:00
Lingkai Dong 9b1e0a38fe Move mbed-client-randlib -> platform/randlib 2020-09-02 12:31:00 +01:00
Lingkai Dong a88438ce04 Move mbed-trace into platform 2020-09-02 12:30:59 +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
Arto Kinnunen af76ebc90c Merge commit 'bbc6f377f5e58e1798c41e8c670c714b9c3e35de' into nanostack-as_subtree
* commit 'bbc6f377f5e58e1798c41e8c670c714b9c3e35de':
  Squashed 'features/frameworks/mbed-trace/' changes from 642a459a39..6ced9711c4
2020-08-21 12:09:06 +03:00
Arto Kinnunen d3fc6c4563 Revert max line length change
Do not chnage default line length as it is a breaking chnage.
Library configuration can be used to adjust max lien length.
2020-08-18 10:10:49 +03:00
Arto Kinnunen 3ce9f34147 Decrease max line length from 2000 to 200
Decrease maximun line length from 2000 to 200 to reduce heap usage.
2020-08-17 16:42:00 +03:00
Arto Kinnunen 9325f17d70 Update mbed-client-cli from v0.5.0
Update mbed-client-cli from v0.5.0 of master repository
https://github.com/ARMmbed/mbed-client-cli
2020-08-17 15:46:07 +03:00
Anna Bridge 63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Anna Bridge f5801aa681
Merge pull request #13254 from LDong-Arm/move_nanostack-libservice
Move nanostack-libservice into connectivity/libraries
2020-07-17 14:40:50 +01:00
Lingkai Dong 3b2e07c12e Move mbed-coap to connectivity/libraries 2020-07-16 17:06:57 +01:00
Lingkai Dong cb828c3aa1 Move nanostack-libservice into connectivity/libraries/ 2020-07-08 17:25:18 +01:00
Qinghao Shi 48d78c6374 GreenTea: Fix inconsistenet Greentea KV message 2020-07-08 09:24:55 +01:00
Martin Kojtal dd209da675 Revert "Fix kv parsing bug in greentea client."
This reverts commit c70baa9289.

Reason for revert: needs to be reviewed again, will be sent via new PR
2020-07-03 10:02:51 +01:00
Martin Kojtal fe2fb48907
Merge pull request #13210 from dustin-crossman/pr/sleep_test_fix
Fix hal-sleep/sleep_manager Tests on Cypress Targets
2020-07-03 10:36:22 +02:00
Dustin Crossman c70baa9289 Fix kv parsing bug in greentea client.
Mbed greentea sends all KV pairs in the following format:
"{{key,value}}\n"
Previously the greentea client code was not reading the final '\n' from
the UART as part of the HandleKV() call. This did not cause an
error when multiple KV pairs were being parsed because any whitespace
proceeding a message was ignored. Once the final KV pair was sent,
however, HandleKV() would only read up to the "}}" leaving the final
'\n' in the UART buffer.
2020-07-01 10:38:49 -07:00
Esa Jaaskela c9748a8c8a Update mbed-coap to version 5.1.6 2020-06-24 09:19:45 +03:00
Martin Kojtal 3e42991289
Merge pull request #13046 from hugueskamba/hk_use_chrono
Use std::chrono based functions
2020-06-18 22:16:00 +02:00
Hugues Kamba a3f4cf212d Use std::chrono based functions
The chrono based functions improve readability. Using them also removes
warnings related to usage of deprecated warnings.
2020-06-17 14:52:50 +01:00
Darryl Green fcf60ec683 Move frameworks/TARGET_PSA to TARGET_EXPERIMENTAL_API 2020-05-29 13:19:12 +01:00
Marcelo Salazar ccd95f1e14 Remove nRF51 targets
The following public nRF51 targets are being removed:

- NRF51822
- NRF51_DK
- NRF51_MICROBIT
2020-05-13 10:36:50 +01:00
Darryl Green 53260ebd77 Use updated ECC curve macros
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:10 +01:00
Martin Kojtal a9cb876b39
Merge pull request #12737 from Patater/psa-breaking-changes
Remove PSA implementation for v8-M and dual CPU targets
2020-04-30 10:42:24 +02:00
Jaeden Amero fcf427ac11 psa: Remove S-mode only code
Remove all PSA S-mode only code, as it is unused. Only PSA S targets
would use the code, and we've removed those targets in a previous
commit.

Ensure all tests for S-mode code we are deleting is also removed, even
if that code would run in NS-mode. Keep any tests that also test our PSA
emulation support (for single v7-M targets).

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:13 +01:00
Teemu Takaluoma e254ce9975 Update mbed-coap to version 5.1.5
BLOCK2 code-branch was missing handling for duplicate packets. As part of the fix, added also
a call to update the duplicate package data via a new function
sn_coap_protocol_update_duplicate_package_data_all.

The new implementation handles all CoAP messages, not just those with COAP_MSG_TYPE_ACKNOWLEDGEMENT.
2020-04-27 11:11:43 +03:00
Antti Yli-Tokola 267d3bc797 Update mbed-coap to version 5.1.4
Add also 4.13 (Request Entity Too Large) responses to duplicate info list.

Add client library configurations for DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED.

Increased the default timeouts of DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED to 300 seconds.
These two are critical parameters for low-bandwidth high-latency networks. The defaults should be more geared towards such networks that are likely to have issues with transmissions.
The increased defaults can increase the runtime HEAP usage when there is a lot of duplicates or retransmissions.
2020-04-23 13:14:50 +03:00
Martin Kojtal 27405bff31
Merge pull request #12671 from hugueskamba/hk-netsocket-remove-armc5-support
Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2020-04-20 14:16:20 +02:00
Hugues Kamba 209f1e6a71 Netsocket/lwIP Stack: Remove support for ARM Compiler 5
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-31 10:54:36 +01:00
Martin Kojtal 6cdb44ea38
Merge pull request #12682 from jeromecoutant/PR_TRACELEVEL
MBED TRACE default level is INFO
2020-03-31 09:28:11 +02:00
Martin Kojtal 5d07fa8ada
Merge pull request #12705 from hugueskamba/hk_remove_armc5_support_mbed-client
mbed-client-cli: Remove support for ARM Compiler 5
2020-03-31 08:34:33 +02:00